Gentoo Logo

phpMyAdmin: SQL injection vulnerability

Content:

1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200803-15 / phpmyadmin
Release Date March 09, 2008
Latest Revision March 09, 2008: 01
Impact low
Exploitable local
Package Vulnerable versions Unaffected versions Architecture(s)
dev-db/phpmyadmin < 2.11.5 >= 2.11.5 All supported architectures

Related bugreports: #212000

Synopsis

A SQL injection vulnerability has been discovered in phpMyAdmin.

2.  Impact Information

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.

3.  Resolution Information

Workaround

There is no known workaround at this time.

Resolution

All phpMyAdmin users should upgrade to the latest version:

Code Listing 3.1: Resolution

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

4.  References



Print

Page updated March 09, 2008

Summary: This is a Gentoo Linux Security Advisory

Security Team
Contact Address

Donate to support our development efforts.

Copyright 2001-2014 Gentoo Foundation, Inc. Questions, Comments? Contact us.