CVE-2018-19520 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...
HighCVSS 8.8
EPSS 2.9%
- Published
- Updated
- Exploit status
- No public exploit known
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
| Product | Affected versions | Fixed in |
|---|---|---|
| sdcms | = 1.6 | No fix listed |
| PHP | >= 5.0.0, <= 5.6.38 | No fix listed |
References
- blog.whiterabbitxyj.com exploit third-party-advisory
- github.com exploit third-party-advisory