PHP code injection in MODX Evolution



Published: 2016-11-16 | Updated: 2016-11-30
Risk High
Patch available YES
Number of vulnerabilities 1
CVE-ID N/A
CWE-ID CWE-94
Exploitation vector Network
Public exploit Vulnerability #1 is being exploited in the wild.
Vulnerable software
Subscribe
MODX Evolution
Web applications / CMS

Vendor MODX

Security Bulletin

This security bulletin contains information about 1 vulnerabilities.

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

1) PHP code injection

EUVDB-ID: #VU1190

Risk: High

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

CVE-ID: N/A

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

Exploit availability: No

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.

Mitigation

Apply a security fix:
http://extras.evolution-cms.com/packages/core/security-fix.html

Vulnerable software versions

MODX Evolution: 1.0.12 - 1.1.0

External links

http://forums.modx.com/thread/101240/evo-security-patch-1-0-12-and-above#dis-post-546368


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.



###SIDEBAR###