CVE-2018-19520
HIGH
8.8
CVSS 3.0
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 and versions
- PHP — From 5.0.0 (including) to 5.6.38 (including)
References
- blog.whiterabbitxyj.com https://blog.whiterabbitxyj.com/cve/SDCMS_1.6_code_execution.doc Exploit, Third Party Advisory
- github.com https://github.com/WhiteRabbitc/WhiteRabbitc.github.io/blob/master/cve/SDCMS_1.6_code_execution.doc Exploit, Third Party Advisory
- nvd.nist.gov Official NVD record