RCE in Phpcms

CVE-2018-19127

A code injection vulnerability in /type.php in PHPCMS 2008 allows attackers to write arbitrary content to a website cache file with a controllable filename, leading to arbitrary code execution. The PHP code is sent via the template parameter, and is written to a data/cache_template/*.tpl.php file along with a "<?php function " substring.

Vulnerability class: RCE (Remote Code Execution)

EPSS: 0.208 (97.3th percentile) — read the EPSS interpretation.

CVSS v3 metric

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

Affected products

  • Phpcms — versions 2008
  • N/a — versions n/a

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2018-19127?
CVE-2018-19127 is a critical-severity vulnerability in Phpcms, classified under Code Injection. CVSS score: 9.8/10. Published 2018-11-09.
How severe is CVE-2018-19127?
Critical severity. CVSS v3 base score is 9.8 out of 10.
Is CVE-2018-19127 known to be exploited?
8 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.