OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
[SA41638] MODx Cross-Site Scripting and Local File Inclusion Vulnerabilities

From: Secunia Security Advisories (sec-advsecunia.com)
Date: Wed Sep 29 2010 - 16:32:59 CDT


----------------------------------------------------------------------

Windows Applications Insecure Library Loading

The Official, Verified Secunia List:
http://secunia.com/advisories/windows_insecure_library_loading/

The list is continuously updated as we confirm the vulnerability reports so check back regularly too see if any of your apps are affected.

----------------------------------------------------------------------

TITLE:
MODx Cross-Site Scripting and Local File Inclusion Vulnerabilities

SECUNIA ADVISORY ID:
SA41638

VERIFY ADVISORY:
Secunia.com
http://secunia.com/advisories/41638/
Customer Area (Credentials Required)
https://ca.secunia.com/?page=viewadvisory&vuln_id=41638

RELEASE DATE:
2010-09-29

DISCUSS ADVISORY:
http://secunia.com/advisories/41638/#comments

AVAILABLE ON SITE AND IN CUSTOMER AREA:
 * Last Update
 * Popularity
 * Comments
 * Criticality Level
 * Impact
 * Where
 * Solution Status
 * Operating System / Software
 * CVE Reference(s)

http://secunia.com/advisories/41638/

ONLY AVAILABLE IN CUSTOMER AREA:
 * Authentication Level
 * Report Reliability
 * Secunia PoC
 * Secunia Analysis
 * Systems Affected
 * Approve Distribution
 * Remediation Status
 * Secunia CVSS Score
 * CVSS

https://ca.secunia.com/?page=viewadvisory&vuln_id=41638

ONLY AVAILABLE WITH SECUNIA CSI AND SECUNIA PSI:
 * AUTOMATED SCANNING

http://secunia.com/vulnerability_scanning/personal/
http://secunia.com/vulnerability_scanning/corporate/wsus_sccm_3rd_third_party_patching/

DESCRIPTION:
John Leitch has discovered some vulnerabilities in MODx, which can be
exploited by malicious people to conduct cross-site scripting attacks
and disclose sensitive information.

1) Input passed via the "modahsh" parameter to manager/index.php is
not properly sanitised before being returned to the user. This can be
exploited to execute arbitrary HTML and script code in a user's
browser session in context of an affected site.

Successful exploitation of this vulnerability requires that the
victim is logged out.

2) Input passed via the "class_key" parameter to
manager/controllers/default/resource/tvs.php is not properly verified
before being used to include files. This can be exploited to include
arbitrary files from local resources via directory traversal
sequences and URL-encoded NULL bytes.

Successful exploitation of this vulnerability requires that
"magic_quotes_gpc" is disabled

The vulnerabilities are confirmed in version 2.0.2-pl. Other versions
may also be affected.

SOLUTION:
Edit the source code to ensure that input is properly sanitised and
verified.

PROVIDED AND/OR DISCOVERED BY:
John Leitch

ORIGINAL ADVISORY:
John Leitch:
http://www.johnleitch.net/Vulnerabilities/MODx.Revolution.2.0.2-pl.Reflected.Cross-site.Scripting/47
http://www.johnleitch.net/Vulnerabilities/MODx.Revolution.2.0.2-pl.Local.File.Inclusion/49

OTHER REFERENCES:
Further details available in Customer Area:
http://secunia.com/products/corporate/EVM/

DEEP LINKS:
Further details available in Customer Area:
http://secunia.com/products/corporate/EVM/

EXTENDED DESCRIPTION:
Further details available in Customer Area:
http://secunia.com/products/corporate/EVM/

EXTENDED SOLUTION:
Further details available in Customer Area:
http://secunia.com/products/corporate/EVM/

EXPLOIT:
Further details available in Customer Area:
http://secunia.com/products/corporate/EVM/

----------------------------------------------------------------------

About:
This Advisory was delivered by Secunia as a free service to help
private users keeping their systems up to date against the latest
vulnerabilities.

Subscribe:
http://secunia.com/advisories/secunia_security_advisories/

Definitions: (Criticality, Where etc.)
http://secunia.com/advisories/about_secunia_advisories/

Please Note:
Secunia recommends that you verify all advisories you receive by
clicking the link.
Secunia NEVER sends attached files with advisories.
Secunia does not advise people to install third party patches, only
use those supplied by the vendor.

----------------------------------------------------------------------

Unsubscribe: Secunia Security Advisories

----------------------------------------------------------------------