phpMyAdmin '$host' Variable HTML Injection Vulnerability

BID:51166

Info

phpMyAdmin '$host' Variable HTML Injection Vulnerability

Bugtraq ID: 51166
Class: Input Validation Error
CVE: CVE-2011-4782
Remote: Yes
Local: No
Published: Dec 22 2011 12:00AM
Updated: Apr 13 2015 10:25PM
Credit: Jason Leyrer of Trustwave SpiderLabs
Vulnerable: phpMyAdmin phpMyAdmin 3.4.8
phpMyAdmin phpMyAdmin 3.4.6
phpMyAdmin phpMyAdmin 3.4.5
phpMyAdmin phpMyAdmin 3.4.3
phpMyAdmin phpMyAdmin 3.4.5
phpMyAdmin phpMyAdmin 3.4.4
phpMyAdmin phpMyAdmin 3.4.3.2
phpMyAdmin phpMyAdmin 3.4.3.1
phpMyAdmin phpMyAdmin 3.4.1
phpMyAdmin phpMyAdmin 3.4.0-beta1
phpMyAdmin phpMyAdmin 3.4.0
MandrakeSoft Enterprise Server 5 x86_64
MandrakeSoft Enterprise Server 5
Gentoo Linux
Not Vulnerable: phpMyAdmin phpMyAdmin 3.4.9

Discussion

phpMyAdmin '$host' Variable HTML Injection Vulnerability

phpMyAdmin is prone to an HTML-injection vulnerability because the application fails to properly sanitize user-supplied input.

Attacker-supplied HTML and script code would run in the context of the affected browser, potentially allowing the attacker to steal cookie-based authentication credentials or to control how the site is rendered to the user. Other attacks are also possible.

phpMyAdmin versions 3.4.x prior to 3.4.9 are affected.

Exploit / POC

phpMyAdmin '$host' Variable HTML Injection Vulnerability

Attackers can use a browser to exploit this issue.

Solution / Fix

phpMyAdmin '$host' Variable HTML Injection Vulnerability

Solution:
Updates are available. Please see the references for more information.


MandrakeSoft Enterprise Server 5

MandrakeSoft Enterprise Server 5 x86_64

References

phpMyAdmin '$host' Variable HTML Injection Vulnerability

References:
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report