Bug 1376365 (CVE-2016-7405)

Summary: CVE-2016-7405 php-adodb: Incorrect quoting may allow SQL injection
Product: [Other] Security Response Reporter: Andrej Nemec <anemec>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED UPSTREAM QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: andrew, giallu, gwync
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: php-adodb 5.20.7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-06-08 02:58:39 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1376366, 1376367    
Bug Blocks:    

Description Andrej Nemec 2016-09-15 08:41:39 UTC
In ADODB 5.20.4, using the PDO driver results in qstr not behaving properly, leading to SQL injection. The same method called with the MySQLi driver works as expected.

Upstream bug:

https://github.com/ADOdb/ADOdb/issues/226

Upstream fix:

https://github.com/ADOdb/ADOdb/commit/bd9eca9f40220f9918ec3cc7ae9ef422b3e448b8

References:

http://seclists.org/oss-sec/2016/q3/435

Comment 1 Andrej Nemec 2016-09-15 08:42:11 UTC
Created php-adodb tracking bugs for this issue:

Affects: fedora-all [bug 1376366]
Affects: epel-all [bug 1376367]

Comment 2 Product Security DevOps Team 2019-06-08 02:58:39 UTC
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.