An issue was discovered in SDCMS V1.7. In the \app\admin\controller\themecontroller.php file, the check_bad() function's filtering is not strict, resulting in PHP code execution. This occurs because some dangerous PHP functions (such as "eval") are blocked but others (such as "system") are not, and because ".php" is blocked but ".PHP" is not blocked.
References
Link | Resource |
---|---|
http://www.iwantacve.cn/index.php/archives/155/ | Exploit Third Party Advisory |
Configurations
Information
Published : 2019-03-10 18:29
Updated : 2019-03-11 12:59
NVD link : CVE-2019-9651
Mitre link : CVE-2019-9651
JSON object : View
CWE
CWE-94
Improper Control of Generation of Code ('Code Injection')
Products Affected
sdcms
- sdcms