Title: Apache mod_auth_mysql Remote SQL Query Manipulation Vulnerability
Severity: MODERATE
Description:
'mod_auth_mysql' is an authentication module required by Apache server to make use of database-based authentication using MySQL.
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.
It should be noted that this module does not allow for multiple queries to be sent, due to the nature of the mysql_query() function used. Query manipulation is limited to exploitation of the SELECT query that the module is already performing.
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.
It should be noted that Zeev Suraski's mod_auth_mysql 2.20 is not vulnerable.
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
- Vivek Khera mod_auth_mysql 1.9.0
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.