The qstr method in the PDO driver in the ADOdb Library for PHP before 5.x before 5.20.7 might allow remote attackers to conduct SQL injection attacks via vectors related to incorrect quoting.
The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data.
Link | Tags |
---|---|
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LT3WU77BRUJREZUYQ3ZQBMUIVIVIND4Y/ | vendor advisory |
http://www.openwall.com/lists/oss-security/2016/09/07/8 | patch mailing list release notes |
http://www.securityfocus.com/bid/92969 | third party advisory vdb entry |
https://github.com/ADOdb/ADOdb/issues/226 | patch |
https://security.gentoo.org/glsa/201701-59 | vendor advisory |
http://www.openwall.com/lists/oss-security/2016/09/15/1 | patch mailing list release notes |
https://github.com/ADOdb/ADOdb/blob/v5.20.7/docs/changelog.md | patch vendor advisory release notes |
https://github.com/ADOdb/ADOdb/commit/bd9eca9f40220f9918ec3cc7ae9ef422b3e448b8 | patch vendor advisory |