CVE-2018-19520

Severity CVSS v4.0:
Pending analysis
Type:
CWE-94 Code Injection
Publication date:
25/11/2018
Last modified:
04/02/2019

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.

Vulnerable products and versions

CPE From Up to
cpe:2.3:a:sdcms:sdcms:1.6:*:*:*:*:*:*:*
cpe:2.3:a:php:php:*:*:*:*:*:*:*:* 5.0.0 (including) 5.6.38 (including)