#VU36390 Code Injection in SDCMS - CVE-2018-19520

 

#VU36390 Code Injection in SDCMS - CVE-2018-19520

Published: November 25, 2018 / Updated: August 8, 2020


Vulnerability identifier: #VU36390
Vulnerability risk: High
CVSSv4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber
CVE-ID: CVE-2018-19520
CWE-ID: CWE-94
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vulnerable software:
SDCMS
Software vendor:
SDCMS

Description

The vulnerability allows a remote authenticated user to execute arbitrary code.

An issue was discovered in SDCMS 1.6 with PHP 5.x. app/admin/controller/themecontroller.php uses a check_bad function in an attempt to block certain PHP functions such as eval, but does not prevent use of preg_replace 'e' calls, allowing users to execute arbitrary code by leveraging access to admin template management.


Remediation

Install update from vendor's website.

External links