Gentoo Logo

ADOdb: PostgresSQL command injection


1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200602-02 / ADOdb
Release Date February 06, 2006
Latest Revision February 06, 2006: 01
Impact normal
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
dev-php/adodb < 4.71 >= 4.71 All supported architectures

Related bugreports: #120215


ADOdb is vulnerable to SQL injections if used in conjunction with a PostgreSQL database.

2.  Impact Information


ADOdb is an abstraction library for PHP creating a common API for a wide range of database backends.


Andy Staudacher discovered that ADOdb does not properly sanitize all parameters.


By sending specifically crafted requests to an application that uses ADOdb and a PostgreSQL backend, an attacker might exploit the flaw to execute arbitrary SQL queries on the host.

3.  Resolution Information


There is no known workaround at this time.


All ADOdb users should upgrade to the latest version:

Code Listing 3.1: Resolution

# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-php/adodb-4.71"

4.  References


Page updated February 06, 2006

Summary: This is a Gentoo Linux Security Advisory

Security Team
Contact Address

Donate to support our development efforts.

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