Description
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.
Metrics
CVSS 3.0 9.8/10
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
References
- http://www.iwantacve.cn/index.php/archives/155/Exploit, Third Party Advisory
- http://www.iwantacve.cn/index.php/archives/155/Exploit, Third Party Advisory
Timeline
- Published
- Mar 11, 2019
- Last modified
- Jun 17, 2026
- NVD status
- Modified