Vulnerability · CVE-2018-19127
phpcms phpcms Improper Control of Generation of Code ('Code Injection')
Published Apr 4, 2019 · catalog updated Apr 4, 2019 · phpcms phpcms Improper Control
Patch now
CVE-2018-19127 is in the CISA known-exploited catalog. Confirm phpcms phpcms Improper Control against the vendor advisory and apply that fix. The CVSS score does not change the priority.
Gaps on this record
- The stored product name is a package slug. The name on this page is taken from the title (phpcms phpcms Improper Control).
- No version range is stored. A customer cannot check an installed version against this record.
- Severity
- Unknown—
- Known exploitation
- CISA KEV and VulnCheck KEV
- EPSS
- 20.77%
- Remediation
- Remediation guidance
- Affected products
- vendor phpcms phpcms
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.
Are you affected?
Enter the version you run. The result uses only the ranges stored on this record.
The check returns affected, not affected, or incomplete. It does not guess a version that is missing from the record.
- vendor phpcms phpcmsversion unspecified
How to fix CVE-2018-19127
Recommended remediation
Apply remediations or mitigations per vendor instructions or discontinue use of the product if remediation or mitigations are unavailable.
Official advisories
What to do
Three questions, each answered from this record only. Confirm the vendor advisory before you patch.
Should you patch?
CVE-2018-19127 is in the CISA known-exploited catalog. Confirm phpcms phpcms Improper Control against the vendor advisory and apply that fix. The CVSS score does not change the priority.
Which versions are affected?
Affected version ranges are not on this record. Apply remediations or mitigations per vendor instructions or discontinue use of the product if remediation or mitigations are unavailable.
What should an analyst verify?
No weakness class is stored. EPSS 20.77%. The CISA KEV listing is the exploitation evidence. No Exploit-DB or Metasploit reference is linked. Use the source links for the original advisory.
Code
The project this record applies to. Exploit listings stay in References.
No public source repository is identified for this product.
Timeline
Detection, updates, and resolution for this record.
Apr 4, 2019 · VulnCheck KEV
Detected
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.
Apr 4, 2019 · CISA KEV
Known exploited
Apply remediations or mitigations per vendor instructions or discontinue use of the product if remediation or mitigations are unavailable.
Sources
- CVE.orgVulnerability recordCVE-2018-19127
Official CVE identifier
cve.org - FIRST EPSSExploitation probabilityCVE-2018-19127
30-day exploitation probability 20.8%
first.org - VulnCheck KEVConfirmed exploitationCVE-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_templa
vulncheck.com
References
Freshness
Last verified in this catalog Oct 18, 2026. Significant claims (KEV, EPSS, CVSS, affected ranges) come from the source rows above — open the original publisher for the authoritative advisory.