phpMyAdmin: SQL injection vulnerability — GLSA 200803-15

A SQL injection vulnerability has been discovered in phpMyAdmin.

Affected Packages

dev-db/phpmyadmin on all architectures
Affected versions < 2.11.5
Unaffected versions >= 2.11.5

Background

phpMyAdmin is a free web-based database administration tool.

Description

Richard Cunningham reported that phpMyAdmin uses the $_REQUEST variable of $_GET and $_POST as a source for its parameters.

Impact

An attacker could entice a user to visit a malicious web application that sets an "sql_query" cookie and is hosted on the same domain as phpMyAdmin, and thereby conduct SQL injection attacks with the privileges of the user authenticating in phpMyAdmin afterwards.

Workaround

There is no known workaround at this time.

Resolution

All phpMyAdmin users should upgrade to the latest version:

 # emerge --sync
 # emerge --ask --oneshot --verbose ">=dev-db/phpmyadmin-2.11.5"

References

Release Date
March 09, 2008

Latest Revision
March 09, 2008: 01

Severity
low

Exploitable
local

Bugzilla entries