RCE in Php

CVE-2018-19520

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.

Vulnerability class: RCE (Remote Code Execution)

EPSS: 0.029 (85.6th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 8.8 (High). Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.

Affected products

  • Php
  • Sdcms — versions 1.6
  • N/a — versions n/a

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2018-19520?
CVE-2018-19520 is a high-severity vulnerability in Php, classified under Code Injection. CVSS score: 8.8/10. Published 2018-11-25.
How severe is CVE-2018-19520?
High severity. CVSS v3 base score is 8.8 out of 10.
Is CVE-2018-19520 known to be exploited?
2 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.