CVE-2011-4782 phpMyAdmin Cross-site Scripting vulnerability

Medium 4.3 Published Updated

Remote attackers can inject arbitrary web script or HTML via the host parameter in the setup interface, requiring user interaction to execute.

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-2011-4782?

CVE-2011-4782 is a medium-severity cross-site scripting vulnerability in Phpmyadmin Phpmyadmin, published on 22 Dec 2011. 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 libraries/config/ConfigFile.class.php in the setup interface in phpMyAdmin 3.4.x before 3.4.9 allows remote attackers to inject arbitrary web script or HTML via the host parameter.

Weakness: CWE-79

Which versions are affected by CVE-2011-4782?

2 open source packages ship an affected version, including phpmyadmin/phpmyadmin. It affects 1 product.

PackageAffectedFixed in
phpmyadmin/phpmyadmin PackagistFrom 3.4.03.4.9
phpmyadmin/phpmyadmin PackagistFrom 3.4.03.4.9

Products include Phpmyadmin Phpmyadmin.

How do I fix CVE-2011-4782?

Upgrade phpmyadmin/phpmyadmin to 3.4.9 or later.

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-2011-4782 being exploited?

There is no known exploitation of CVE-2011-4782 in the wild and no public exploit code.

All Phpmyadmin Phpmyadmin vulnerabilities

Sources

Also known as DEBIAN-CVE-2011-4782, GHSA-2h23-c973-x63q.

Is CVE-2011-4782 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free