CVE-2008-4775 Cross-site scripting in n/a
Remote attackers can inject arbitrary web script via the db parameter in phpMyAdmin when register_globals is enabled, requiring user interaction.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2008-4775?
CVE-2008-4775 is a low-severity cross-site scripting vulnerability in Phpmyadmin Phpmyadmin, published on 28 Oct 2008. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
Cross-site scripting (XSS) vulnerability in pmd_pdf.php in phpMyAdmin 3.0.0, and possibly other versions including 2.11.9.2 and 3.0.1, when register_globals is enabled, allows remote attackers to inject arbitrary web script or HTML via the db parameter, a different vector than CVE-2006-6942 and CVE-2007-5977.
Weakness: CWE-79
Which versions are affected by CVE-2008-4775?
It affects 1 product.
Products include Phpmyadmin Phpmyadmin.
How do I fix CVE-2008-4775?
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-2008-4775 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2008-4775 exists.
Public exploit code: 1 Exploit-DB entry.
Other vulnerabilities in Phpmyadmin Phpmyadmin
Sources
Also known as DEBIAN-CVE-2008-4775, GHSA-3754-x86m-fj9m.