Vulnerability 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 Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Sdcms | Sdcms | 1.6 |
| Php | Php | >= 5.0.0, <= 5.6.38 |
Related Weaknesses (CWE)
References
- https://blog.whiterabbitxyj.com/cve/SDCMS_1.6_code_execution.docExploitThird Party Advisory
- https://github.com/WhiteRabbitc/WhiteRabbitc.github.io/blob/master/cve/SDCMS_1.6ExploitThird Party Advisory
- https://blog.whiterabbitxyj.com/cve/SDCMS_1.6_code_execution.docExploitThird Party Advisory
- https://github.com/WhiteRabbitc/WhiteRabbitc.github.io/blob/master/cve/SDCMS_1.6ExploitThird Party Advisory
FAQ
What is CVE-2018-19520?
CVE-2018-19520 is a vulnerability with a CVSS score of 8.8 (HIGH). 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 us...
How severe is CVE-2018-19520?
CVE-2018-19520 has been rated HIGH with a CVSS base score of 8.8/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2018-19520?
Check the references section above for vendor advisories and patch information. Affected products include: Sdcms Sdcms, Php Php.