#VU36390 Code Injection in SDCMS


Published: 2018-11-25 | Updated: 2020-08-08

Vulnerability identifier: #VU36390

Vulnerability risk: High

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

CVE-ID: CVE-2018-19520

CWE-ID: CWE-94

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
SDCMS
Web applications / CMS

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.

Mitigation
Install update from vendor's website.

Vulnerable software versions

SDCMS: 1.6


External links
http://blog.whiterabbitxyj.com/cve/SDCMS_1.6_code_execution.doc
http://github.com/WhiteRabbitc/WhiteRabbitc.github.io/blob/master/cve/SDCMS_1.6_code_execution.doc


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?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability