Gentoo Logo

ADOdb: PostgresSQL command injection

Content:

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

Synopsis

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

2.  Impact Information

Background

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

Description

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

Impact

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

Workaround

There is no known workaround at this time.

Resolution

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



Print

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-2014 Gentoo Foundation, Inc. Questions, Comments? Contact us.