header-logo
Suggest Exploit
vendor:
MODx
by:
7.5
CVSS
HIGH
Local File-Include, Cross-Site Scripting
22
CWE
Product Name: MODx
Affected Version From: 2.0.2-pl
Affected Version To:
Patch Exists: NO
Related CWE:
CPE:
Metasploit:
Other Scripts:
Platforms Tested:

MODx Local File-Include and Cross-Site Scripting Vulnerabilities

MODx is prone to a local file-include vulnerability and a cross-site scripting vulnerability because it fails to properly sanitize user-supplied input.An attacker can exploit the local file-include vulnerability using directory-traversal strings to view and execute local files within the context of the webserver process. Information harvested may aid in further attacks.The attacker may leverage the cross-site scripting issue to execute arbitrary script code in the browser of an unsuspecting user in the context of the affected site. This may let the attacker steal cookie-based authentication credentials and launch other attacks.

Mitigation:

Implement input validation and sanitization to prevent directory-traversal attacks and cross-site scripting attacks. Update to the latest version of MODx.
Source

Exploit-DB raw data:

source: https://www.securityfocus.com/bid/43577/info

MODx is prone to a local file-include vulnerability and a cross-site scripting vulnerability because it fails to properly sanitize user-supplied input.

An attacker can exploit the local file-include vulnerability using directory-traversal strings to view and execute local files within the context of the webserver process. Information harvested may aid in further attacks.

The attacker may leverage the cross-site scripting issue to execute arbitrary script code in the browser of an unsuspecting user in the context of the affected site. This may let the attacker steal cookie-based authentication credentials and launch other attacks.

MODx 2.0.2-pl is vulnerable; other versions may also be affected. 

http://www.example.com/modx/manager/index.php?modahsh=%22%3E%3Cscript%3Ealert(0)%3C/script%3E