CVE-2023-0947: Flatpress < 1.3 - Path Traversal
- Template: CVE-2023-0947
- Name: Flatpress < 1.3 - Path Traversal
- Description: Path Traversal in GitHub repository flatpressblog/flatpress prior to 1.3.
- Impact: Unauthenticated attackers can exploit path traversal to access and list sensitive directories and files in the FlatPress blogging system, potentially exposing configuration files and user data.
- Remediation: Update FlatPress to version 1.3 or later that properly validates directory paths and prevents unauthorized directory listing in fp-content.
- Severity: critical
- Authors: r3Y3r53
- Tags: cve, cve2023, huntr, lfi, flatpress, listing, vuln
- References: https://huntr.dev/bounties/7379d702-72ff-4a5d-bc68-007290015496/, https://nvd.nist.gov/vuln/detail/CVE-2023-0947, https://github.com/flatpressblog/flatpress/commit/9c4e5d6567e446c472f3adae3b2fe612f66871c7
- Cves: CVE-2023-0947
- Verified: yes
- Max requests: 2
- Directory: http/cves
- Path: http/cves/2023/CVE-2023-0947.yaml
- Digest: 4b0a00483046022100e48bd912f72176540529a086328cee19c4cb310609595d3b829034eb1a1b47bc022100e2525afaf3cbd5d0b7ff22c46d8bf9c429f11f125ca85c66405081c46a6989ed
- Created at: 2023-10-17T17:47:17Z
- Updated at: 2026-11-24T02:03:42Z
- Age in days: 1134
- Template url: https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2023/CVE-2023-0947.yaml
Classification
- Cwe: CWE-22
- Cvss score: 9.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.03637
- Epss percentile: 0.89845
- Cpe: cpe:2.3:a:flatpress:flatpress:*:*:*:*:*:*:*:*
Metadata
- Fofa-query: body="flatpress", icon_hash=-1189292869
- Max-request: 2
- Product: flatpress
- Shodan-query: http.favicon.hash:-1189292869, http.html:"flatpress"
- Vendor: flatpress
- Verified: yes
Products
| Product | Indexed | Url |
|---|---|---|
| flatpress:flatpress | yes | /v1/products/flatpress/flatpress |
Labels
- Name: flatpressblog/flatpress - Path Traversal
- Impact: Attackers can access arbitrary files on the server, potentially leading to information disclosure or system compromise.
- Remediation: Update to version 1.3 or later.
- Vulnerability type: path_traversal
- Vulnerability impact: file_system_read, information_disclosure
- Requirement type: none
- Labels source: projectdiscovery
- From cve: CVE-2023-0947
- Not known: requirements
```yaml
id: CVE-2023-0947
info:
name: Flatpress < 1.3 - Path Traversal
author: r3Y3r53
severity: critical
description: |
Path Traversal in GitHub repository flatpressblog/flatpress prior to 1.3.
impact: |
Unauthenticated attackers can exploit path traversal to access and list sensitive directories and files in the FlatPress blogging system, potentially exposing configuration files and user data.
remediation: |
Update FlatPress to version 1.3 or later that properly validates directory paths and prevents unauthorized directory listing in fp-content.
reference:
- https://huntr.dev/bounties/7379d702-72ff-4a5d-bc68-007290015496/
- https://nvd.nist.gov/vuln/detail/CVE-2023-0947
- https://github.com/flatpressblog/flatpress/commit/9c4e5d6567e446c472f3adae3b2fe612f66871c7
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
cvss-score: 9.8
cve-id: CVE-2023-0947
cwe-id: CWE-22
epss-score: 0.03637
epss-percentile: 0.89845
cpe: cpe:2.3:a:flatpress:flatpress:*:*:*:*:*:*:*:*
metadata:
verified: true
max-request: 2
vendor: flatpress
product: flatpress
shodan-query:
- http.favicon.hash:-1189292869
- http.html:"flatpress"
fofa-query:
- body="flatpress"
- icon_hash=-1189292869
tags: cve,cve2023,huntr,lfi,flatpress,listing,vuln
http:
- method: GET
path:
- "{{BaseURL}}/fp-content/"
- "{{BaseURL}}/flatpress/fp-content/"
stop-at-first-match: true
matchers:
- type: dsl
dsl:
- 'status_code == 200'
- 'contains(body, "<title>Index of /fp-content</title>")'
condition: and
digest: 4b0a00483046022100e48bd912f72176540529a086328cee19c4cb310609595d3b829034eb1a1b47bc022100e2525afaf3cbd5d0b7ff22c46d8bf9c429f11f125ca85c66405081c46a6989ed:922c64590222798bb761d5b6d8e72950
```