CVE-2018-19520Sdcms
High 8.8
Follow: this CVE · Sdcms · Sdcms We alert you by email or Slack (account required).
- Priority
- 53
- CVSS 3.0
- 8.8
- EPSS
- 2.9% probability of exploitation in 30 days · percentile 88
- Auth required
- Yes
- Published
- Nov 25, 2018
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-94
- Vector
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Sdcms.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| sdcms | sdcms | 1.6 |
| php | php | ≥ 5.0.0 ≤ 5.6.38 |
Official sources
References
Links published by the sources. Open them with care.
- blog.whiterabbitxyj.com Exploit Third Party Advisory
- github.com Exploit Third Party Advisory