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
| Catalog | Added | Remediation due | Ransomware use |
|---|---|---|---|
| Industry KEV feed | Apr 4, 2019 | n/a | Not reported |
Affected Products
1 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| PhpcmsPhpcms | 2008 | n/a |
Timeline
Publicly disclosed
Nov 9, 2018
Added to Industry KEV feed
Apr 4, 2019
Last updated
Nov 21, 2024
Weakness Type
- CWE-94 Improper Control of Generation of Code ('Code Injection')
References
- advisorygithub.com · CVE-2018-19127
- exploitVulnCheck exploitation report
FAQ
Common Questions.
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.
Affected: Phpcms versions 2008. The full list is in the CVE brief.
It is exploited in the wild, listed in Industry KEV feed since Apr 4, 2019.
No, it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
No public exploit code is known.
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.
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