Joerg Wendland Pam-PSQL Remote SQL Query Manipulation Vulnerability
BID:3317
Info
Joerg Wendland Pam-PSQL Remote SQL Query Manipulation Vulnerability
| Bugtraq ID: | 3317 |
| 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 pam-pgsql 0.9.2 |
| Not Vulnerable: |
Joerg Wendland pam-pgsql 0.9.3 |
Discussion
Joerg Wendland Pam-PSQL Remote SQL Query Manipulation Vulnerability
Joerg Wendland's 'pam-psql' is a PAM authentication module to be used with PostgreSQL.
'pam-psql' is prone to a vulnerability which will allow SQL queries to be manipulated via any medium which requires a user to authenticate(HTTP, SSH, telnet, etc). 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.
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. The attacker may be able to exploit this issue to gain unauthorized access to the host.
Joerg Wendland's 'pam-psql' is a PAM authentication module to be used with PostgreSQL.
'pam-psql' is prone to a vulnerability which will allow SQL queries to be manipulated via any medium which requires a user to authenticate(HTTP, SSH, telnet, etc). 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.
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. The attacker may be able to exploit this issue to gain unauthorized access to the host.
Exploit / POC
Joerg Wendland Pam-PSQL 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 Pam-PSQL Remote SQL Query Manipulation Vulnerability
Solution:
The vendor has addressed this issue in a new release.
Joerg Wendland pam-pgsql 0.9.2
Solution:
The vendor has addressed this issue in a new release.
Joerg Wendland pam-pgsql 0.9.2
-
Joerg Wendland pam-pgsql 0.9.3
http://sourceforge.net/project/showfiles.php?group_id=24083
References
Joerg Wendland Pam-PSQL Remote SQL Query Manipulation Vulnerability
References:
References:
- sysauth_pgsql Homepage (Joerg Wendland)