PHP code injection in MODX Evolution

Published: 2016-11-16 | Updated: 2016-11-30
Severity High
Patch available YES
Number of vulnerabilities 1
Exploitation vector Network
Public exploit Vulnerability #1 is being exploited in the wild.
Vulnerable software MODX Evolution Subscribe
Vendor MODX

Security Advisory

This security advisory describes one high risk vulnerability.

This vulnerability was updated to reflect in the wild exploitation of the vulnerability.

1) PHP code injection

Severity: High

CVSSv3: 9.5 [CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H/E:H/RL:O/RC:C] [PCI]


CWE-ID: CWE-94 - Improper Control of Generation of Code ('Code Injection')


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/" 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.


Apply a security fix:

Vulnerable software versions

MODX Evolution: 1.0.12, 1.0.13, 1.0.14, 1.0.15, 1.1.0

CPE External links

Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote authenticated user via the Internet.

Is there known malware, which exploits this vulnerability?

Yes. This vulnerability is being exploited in the wild.

ImmuniWeb® AI Platform for Application Security Testing