CVE-2018-19520
Last modified
CVE-2018-19520 is a vulnerability of currently unknown severity. 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.. EPSS estimates a 2.92% chance of exploitation in the next 30 days.
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.
Metrics
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Sdcms | Sdcms | 1.6 |
| Php | Php | >= 5.0.0, <= 5.6.38 |
References
- https://blog.whiterabbitxyj.com/cve/SDCMS_1.6_code_execution.docExploit, Third Party Advisory
- https://github.com/WhiteRabbitc/WhiteRabbitc.github.io/blob/master/cve/SDCMS_1.6_code_execution.docExploit, Third Party Advisory
- https://blog.whiterabbitxyj.com/cve/SDCMS_1.6_code_execution.docExploit, Third Party Advisory
- https://github.com/WhiteRabbitc/WhiteRabbitc.github.io/blob/master/cve/SDCMS_1.6_code_execution.docExploit, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2018-19520?
How severe is CVE-2018-19520?
How do I fix CVE-2018-19520?
Are you affected by CVE-2018-19520?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
