CVEvulnerability

CVE-2018-19520

8.8 HIGH Published 2018-11-25 Modified 2026-06-17 Official page ↗
Status
Modified
Published
2018-11-25
Last modified
2026-06-17
Assigner
[email protected]
CVSS 3.0 ([email protected])
8.8 HIGH — CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS 2.0 ([email protected])
6.5 MEDIUM — AV:N/AC:L/Au:S/C:P/I:P/A:P
Weaknesses
CWE-94

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 configurations

• sdcms sdcms 1.6 • php php (>= 5.0.0 <= 5.6.38)

Related

Weakness · CWE (1)

  • CWE-94 Improper Control of Generation of Code weakness

References