BlogSafe.org

PHP CVEs

Vulnerabilities in the PHP language itself, and which PHP versions they affect.

← Back to CVE list

CVE-2018-19520

HIGH 8.8 CVSS 3.0
Published
November 25, 2018
Last modified
June 17, 2026
NVD status
Modified
Reported by
cve@mitre.org
Weakness
CWE-94
CVSS vector
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

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 products and versions

  • PHP — From 5.0.0 (including) to 5.6.38 (including)

References

  • blog.whiterabbitxyj.com https://blog.whiterabbitxyj.com/cve/SDCMS_1.6_code_execution.doc Exploit, Third Party Advisory
  • github.com https://github.com/WhiteRabbitc/WhiteRabbitc.github.io/blob/master/cve/SDCMS_1.6_code_execution.doc Exploit, Third Party Advisory
  • nvd.nist.gov Official NVD record