CVE-2018-19127

CRITICAL EXPLOITED NUCLEI

PHPCMS 2008 - Code Injection via Template Parameter

Title source: llm
STIX 2.1

Exploitation Summary

CVE-2018-19127 has been observed exploited in the wild (reported by VulnCheck KEV). EIP tracks 1 public exploit from researchers including ab1gale. A Nuclei detection template is also available.

AI-analyzed exploit summary The writeup describes a vulnerability in phpcms 2008 where the $template variable in /type.php is not properly sanitized, allowing attackers to inject malicious code into cache files. This leads to arbitrary code execution when the cache file is included.

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.

Exploits (1)

nomisec WRITEUP 41 stars
by ab1gale · poc
https://github.com/ab1gale/phpcms-2008-CVE-2018-19127

The writeup describes a vulnerability in phpcms 2008 where the $template variable in /type.php is not properly sanitized, allowing attackers to inject malicious code into cache files. This leads to arbitrary code execution when the cache file is included.

Classification
Writeup 90%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: phpcms 2008
No auth needed
Prerequisites: Access to the target web application · Ability to send crafted HTTP requests
devstral-2 · analyzed Feb 16, 2026 Full analysis →

Nuclei Templates (1)

PHPCMS 2008 - Remote Code Execution via Template Injection
CRITICALVERIFIEDby tomaquet18
Shodan: http.html:"Powered by phpcms"
FOFA: body="Powered by phpcms"

References (1)

Core 1
Core References
Third Party Advisory x_refsource_misc
https://github.com/ab1gale/phpcms-2008-CVE-2018-19127

Scores

CVSS v3 9.8
EPSS 0.2077
EPSS Percentile 97.2%
Attack Vector NETWORK
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Details

VulnCheck KEV 2019-04-04
CWE
CWE-94
Status published
Products (1)
phpcms/phpcms 2008
Published Nov 09, 2018
Tracked Since Feb 18, 2026