Joerg Wendland LibNSS-PgSQL Remote SQL Query Manipulation Vulnerability
BID:3314
Info
Joerg Wendland LibNSS-PgSQL Remote SQL Query Manipulation Vulnerability
| Bugtraq ID: | 3314 |
| Class: | Input Validation Error |
| CVE: | |
| Remote: | Yes |
| Local: | No |
| Published: | Sep 10 2001 12:00AM |
| Updated: | Sep 10 2001 12:00AM |
| Credit: | This vulnerability was submitted to BugTraq in a RUS-CERT Advisory on September 10th, 2001. |
| Vulnerable: |
Joerg Wendland libnss-pgsql 0.9 |
| Not Vulnerable: |
Joerg Wendland libnss-pgsql 0.9.1 |
Discussion
Joerg Wendland LibNSS-PgSQL Remote SQL Query Manipulation Vulnerability
Joerg Wendland's 'libnss-pgsql' is a NSS(Name Service Switch) module for PostgreSQL.
The NSS database module 'libnss-pgsql' is prone to a vulnerability which will allow SQL queries to be manipulated via any request which requires PAM authentication, regardless of the protocol used. Data that is included in SQL query strings is not adequately sanitized. It may be possible for malicious users to modify the structure of SQL queries.
It is believed that the attacker would need an interactive account on the vulnerable host to exploit this issue. Attacks will be executed on the database server as the database user that is making the query.
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.
Joerg Wendland's 'libnss-pgsql' is a NSS(Name Service Switch) module for PostgreSQL.
The NSS database module 'libnss-pgsql' is prone to a vulnerability which will allow SQL queries to be manipulated via any request which requires PAM authentication, regardless of the protocol used. Data that is included in SQL query strings is not adequately sanitized. It may be possible for malicious users to modify the structure of SQL queries.
It is believed that the attacker would need an interactive account on the vulnerable host to exploit this issue. Attacks will be executed on the database server as the database user that is making the query.
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.
Exploit / POC
Joerg Wendland LibNSS-PgSQL Remote SQL Query Manipulation Vulnerability
Currently the SecurityFocus staff are not aware of any exploits for this issue. If you feel we are in error or are aware of more recent information, please mail us at: [email protected] <mailto:[email protected]>.
Currently the SecurityFocus staff are not aware of any exploits for this issue. If you feel we are in error or are aware of more recent information, please mail us at: [email protected] <mailto:[email protected]>.
Solution / Fix
Joerg Wendland LibNSS-PgSQL Remote SQL Query Manipulation Vulnerability
Solution:
The vendor has addressed this issue in a new release.
Joerg Wendland libnss-pgsql 0.9
Solution:
The vendor has addressed this issue in a new release.
Joerg Wendland libnss-pgsql 0.9
-
Joerg Wendland libnss-pgsql 0.9.1
http://sourceforge.net/project/showfiles.php?group_id=24083
References
Joerg Wendland LibNSS-PgSQL Remote SQL Query Manipulation Vulnerability
References:
References:
- sysauth_pgsql Homepage (Joerg Wendland)