{"id":"CVE-2018-19127","published":"2018-11-09T12:00:00Z","modified":"2024-08-05T11:30:03Z","title":"A code injection vulnerability in /type.php in PHPCMS 2008 allows attackers to write arbitrary content to a website…","vendor":null,"product":null,"tier":"core","eol":null,"description":{"text":"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.","provenance":"source","from":"CVE.org"},"summary":{"text":"A code injection flaw in the /type.php component of PHPCMS 2008 lets attackers write arbitrary content into a website cache file whose name they can control, via the template parameter. Exploitation requires only that the attacker can send requests to the page, with no authentication or user interaction indicated, and results in arbitrary code execution.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-04T14:58:53Z"},"cvss":null,"epss":{"score":0.20766,"percentile":0.97548,"date":"2026-11-04","provenance":"source"},"kev":null,"vulncheckKev":{"dateAdded":"2019-04-04","exploitedFirstSeen":"2019-04-04","ransomware":false,"evidence":[{"url":"https://isc.sans.edu/diary/New+Waves+of+Scans+Detected+by+an+Old+Rule/24812","date":"2019-04-04"}],"evidenceTotal":1,"provenance":"source"},"exploited":true,"otx":{"pulseCount":0,"pulses":[],"provenance":"machine"},"cwes":[],"references":[{"url":"https://github.com/ab1gale/phpcms-2008-CVE-2018-19127","tags":["x_refsource_MISC"]}],"techniques":[],"reports":[],"affected":[],"advisories":[],"euvd":{"id":"EUVD-2018-10840","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2018-10840","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[],"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2018-11-09","earliestUrl":"https://github.com/ab1gale/phpcms-2008-CVE-2018-19127","repos":[{"name":"ab1gale/phpcms-2008-CVE-2018-19127","url":"https://github.com/ab1gale/phpcms-2008-CVE-2018-19127","stars":41,"created":"2018-11-09"}]},"nuclei":[{"id":"CVE-2018-19127","name":"PHPCMS 2008 - Remote Code Execution via Template Injection","severity":"critical","path":"http/cves/2018/CVE-2018-19127.yaml","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2018/CVE-2018-19127.yaml"}],"first":{"date":"2018-11-09","source":"PoC-in-GitHub","url":"https://github.com/ab1gale/phpcms-2008-CVE-2018-19127"},"provenance":"source"},"exploitRefs":[],"flow":[],"timeline":[{"date":"2018-11-09","kind":"published","label":"Published (CVE.org)","url":"https://www.cve.org/CVERecord?id=CVE-2018-19127","provenance":"source"},{"date":"2018-11-09","kind":"exploit-public","label":"First public exploit: PoC-in-GitHub","url":"https://github.com/ab1gale/phpcms-2008-CVE-2018-19127","provenance":"source"},{"date":"2019-04-04","kind":"exploited-reported","label":"Exploitation first reported (VulnCheck KEV evidence)","url":"https://isc.sans.edu/diary/New+Waves+of+Scans+Detected+by+an+Old+Rule/24812","provenance":"source"}],"speed":{"daysToPublicExploit":0,"firstExploitFrom":"PoC-in-GitHub","daysToKev":null},"priority":{"score":59.5,"factors":[{"name":"In a KEV catalog","points":35.0,"detail":"listed in VulnCheck KEV"},{"name":"Recent KEV listing","points":0.0,"detail":"added 2771 days ago"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":19.51,"detail":"percentile 0.9755"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":5.0,"detail":"1 PoC-in-GitHub repo; 1 nuclei template"},{"name":"Mentioned in OTX pulses","points":0.0,"detail":"0 pulses"},{"name":"CVSS severity","points":0.0,"detail":"no CVSS"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]}}