Title: Apache mod_auth_pgsql Remote SQL Query Manipulation Vulnerability
Severity: HIGH
Description:
'mod_auth_pgsql' is the authentication module required by Apache server to make use of database-based authentication using PostGreSQL.
This authentication module for Apache is prone to a vulnerability which will allow SQL queries to be manipulated via a HTTP request. Data that is included in SQL query strings is not adequately sanitized.
It may be possible for users to modify the structure of SQL queries by carefully constructing variables containing metacharacters that will be included in the target query.
Additionally, extra statements and stored procedures may be called by the attacker.
An example attack:
Username: '';; select ''bla
Password: bla
This issue allows the user to access resources that would normally be restricted, which may in turn provide an opportunity for the attacker to exploit other vulnerabilities that exist in the server.
Affected Products:
- Apache Software Foundation Apache 0.8.11
- Apache Software Foundation Apache 0.8.14
- Apache Software Foundation Apache 1.0.0
- Apache Software Foundation Apache 1.0.2
- Apache Software Foundation Apache 1.0.3
- Apache Software Foundation Apache 1.0.5
- Apache Software Foundation Apache 1.1.0
- Apache Software Foundation Apache 1.1.1
- Apache Software Foundation Apache 1.2.0
- Apache Software Foundation Apache 1.2.5
- Apache Software Foundation Apache 1.3.0
- Apache Software Foundation Apache 1.3.1
- Apache Software Foundation Apache 1.3.11
- Apache Software Foundation Apache 1.3.12
- Apache Software Foundation Apache 1.3.14
- Apache Software Foundation Apache 1.3.17
- Apache Software Foundation Apache 1.3.18
- Apache Software Foundation Apache 1.3.19
- Apache Software Foundation Apache 1.3.20
- Apache Software Foundation Apache 1.3.3
- Apache Software Foundation Apache 1.3.4
- Apache Software Foundation Apache 1.3.9
- Guiseppe Tanzilli and Matthias Eckermann mod_auth_pgsql 0.9.5
- Guiseppe Tanzilli and Matthias Eckermann mod_auth_pgsql 0.9.6
Juniper Networks provides this content via a wide variety of sources and production methods. If notified of errors or omissions in the content of this page, Juniper Networks, at its discretion, will modify or remove the page or leave the content as is, depending on various factors including but not limited to the reputation and authority of the party providing the notification. Please use the contact information displayed elsewhere on this page to report any errors or omissions regarding the content on this page.