What’s Vulnerable › Vulnerabilities
CVE-2018-19520
- Severity: high (CVSS 8.8 v3.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 2.9% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2018-11-25 · updated 2026-06-17
- Weakness: CWE-94
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.
Affected products
References
- https://blog.whiterabbitxyj.com/cve/SDCMS_1.6_code_execution.doc
- https://github.com/WhiteRabbitc/WhiteRabbitc.github.io/blob/master/cve/SDCMS_1.6_code_execution.doc
- https://blog.whiterabbitxyj.com/cve/SDCMS_1.6_code_execution.doc
- https://github.com/WhiteRabbitc/WhiteRabbitc.github.io/blob/master/cve/SDCMS_1.6_code_execution.doc
Get alerted when CVE-2018-19520 or the next vulnerability affects your stack