Skip to content
On CISA KEVCritical

CVE-2018-19127Phpcms Code Injection

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.

Published Nov 9, 2018 · Updated Nov 21, 2024

Key Facts

Patch immediately
  • CVE-2018-19127 is a critical-severity vulnerability (CVSS 9.8 v3) affecting Phpcms.
  • It is exploited in the wild, listed in Industry KEV feed since Apr 4, 2019. No public exploit code is known.
  • EPSS estimates a 21% probability of exploitation in the next 30 days.
  • No fixed version is listed yet; check the vendor advisory for mitigations.
  • Brandefense priority: patch immediately, because it is listed as exploited in the wild.

Scores

CVSS v3

9.8

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

EPSS (30-day exploit likelihood)

21%

Higher than 97.5% of all scored CVEs

Exploit maturity

Exploited (KEV)

ATLAS score

49/100

Publication score, see How it works

Exploitation Verdict

KEV listed

Apr 4, 2019

146 days after publication

Federal due date

None

No federal due date

Ransomware use

Not reported

Attributed actors

None named

Exploit & Defence Guidance

Exploit maturity

Exploited (KEV)

Public exploit code

0

Proof-of-concept links

In-the-wild evidence

1

Reports of active use

Advisories And Exploit References

Description

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.

Known-Exploited Catalog Listings

CatalogAddedRemediation dueRansomware use
Industry KEV feedApr 4, 2019n/aNot reported

Affected Products

1 affected entries in total
ProductAffected versionsFixed in
PhpcmsPhpcms2008n/a

Timeline

  1. Publicly disclosed

    Nov 9, 2018

  2. Added to Industry KEV feed

    Apr 4, 2019

  3. Last updated

    Nov 21, 2024

Weakness Type

  • CWE-94 Improper Control of Generation of Code ('Code Injection')

FAQ

Common Questions.

Is CVE-2018-19127 On Your Attack Surface?

Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.

Request A Demo

More vulnerabilities

Figures as of Oct 23, 2026. Compiled by Brandefense technologies from public vulnerability catalogs; scoring as described in How it works.

To report an error, contact Brandefense.