Vulnerability record · CVE-2018-19520 · published 25 November 2018
CVE-2018-19520: Sdcms code injection vulnerability
Sdcms · Sdcms
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.
Description
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.
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Affected products
2 vulnerable configurations from NVD's CPE data, grouped by vendor and product.
References
| Link | Tags |
|---|---|
| https://blog.whiterabbitxyj.com/cve/SDCMS_1.6_code_execution.doc | ExploitThird Party Advisory |
| https://github.com/WhiteRabbitc/WhiteRabbitc.github.io/blob/master/cve/SDCMS_1.6_code_execution.doc | ExploitThird Party Advisory |
| https://blog.whiterabbitxyj.com/cve/SDCMS_1.6_code_execution.doc | ExploitThird Party Advisory |
| https://github.com/WhiteRabbitc/WhiteRabbitc.github.io/blob/master/cve/SDCMS_1.6_code_execution.doc | ExploitThird Party Advisory |
Track CVE-2018-19520 inside VULONE
Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
Source: NIST National Vulnerability Database (record CVE-2018-19520), CISA KEV, FIRST EPSS (scores of 2026-11-19). This page is refreshed as NVD updates the record.