PHP code injection in MODX Evolution - #VU1190

 

PHP code injection in MODX Evolution - #VU1190

Published: November 30, 2016


Vulnerability identifier: #VU1190
CSH Severity: High
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:A/U:Amber
CVE-ID: N/A
CWE-ID: CWE-94
Exploitation vector: Remote access
Exploit availability: The vulnerability is being exploited in the wild
Vendor: MODX
Affected software:
MODX Evolution

Detailed vulnerability description

The vulnerability allows a remote attacker to execute arbitrary SQL commands.

The vulnerability exists due to insufficient sanitization of user-supplied input passed via the "ucfg" HTTP POST parameter to "/assets/snippets/ajaxSearch/classes/ajaxSearchConfig.class.inc.php" script. A remote attacker can send a specially crafted HTTP POST request and execute arbitrary SQL commands in database.

Successful exploitation of this vulnerability may allow an attacker to execute arbitrary PHP code on the target system, however requires valid user account.

Note: as of November 30, 2016 this vulnerability is being actively exploited in the wild.


Remediation


Sources