CVE-2007-5728 Cross-site scripting in n/a
Remote attackers can inject arbitrary web script or HTML via PHP_SELF in phpPgAdmin, potentially leading to session hijacking or data theft.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2007-5728?
CVE-2007-5728 is a medium-severity cross-site scripting vulnerability in n/a, published on 30 Oct 2007. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
Cross-site scripting (XSS) vulnerability in phpPgAdmin 3.5 to 4.1.1, and possibly 4.1.2, 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, different vectors than CVE-2007-2865.
Weakness: CWE-79
Which versions are affected by CVE-2007-5728?
It affects 1 product.
Products include Phppgadmin Phppgadmin.
How do I fix CVE-2007-5728?
Upgrade to a fixed version.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2007-5728 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2007-5728 exists.
Public exploit code: 1 Exploit-DB entry and 1 Nuclei template.
Other vulnerabilities in n/a
Sources
Also known as DEBIAN-CVE-2007-5728, GHSA-jfpr-w2hm-9rpw.