high8.8
CVE-2018-19520
An issue was discovered in SDCMS 1.6 with PHP 5.x.
Impact
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
| Vendor | Product | Affected versions |
|---|---|---|
| Sdcms | Sdcms | Version 1.6 |
| Php | Php | from 5.0.0 through 5.6.38 |
Weakness classification
References
- NVD record
- CVE.org record
- 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