Leon J Breedt Pam-PGSQL Remote SQL Query Manipulation Vulnerability

BID:3319

Info

Leon J Breedt Pam-PGSQL Remote SQL Query Manipulation Vulnerability

Bugtraq ID: 3319
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: Leon J Breedt pam-pgsql 0.5.1
- FreeBSD FreeBSD 4.4
- PostgreSQL PostgreSQL 6.5.3
- PostgreSQL PostgreSQL 6.5.3
- PostgreSQL PostgreSQL 6.3.2
- PostgreSQL PostgreSQL 6.3.2
Not Vulnerable: Leon J Breedt pam-pgsql 0.5.2
+ Debian Linux 3.0 sparc
+ Debian Linux 3.0 s/390
+ Debian Linux 3.0 s/390
+ Debian Linux 3.0 ppc
+ Debian Linux 3.0 ppc
+ Debian Linux 3.0 mipsel
+ Debian Linux 3.0 mipsel
+ Debian Linux 3.0 mips
+ Debian Linux 3.0 mips
+ Debian Linux 3.0 m68k
+ Debian Linux 3.0 m68k
+ Debian Linux 3.0 ia-64
+ Debian Linux 3.0 ia-64
+ Debian Linux 3.0 ia-32
+ Debian Linux 3.0 ia-32
+ Debian Linux 3.0 hppa
+ Debian Linux 3.0 hppa
+ Debian Linux 3.0 arm
+ Debian Linux 3.0 arm
+ Debian Linux 3.0 alpha
+ Debian Linux 3.0 alpha
- PostgreSQL PostgreSQL 6.5.3
- PostgreSQL PostgreSQL 6.5.3
- PostgreSQL PostgreSQL 6.3.2
- PostgreSQL PostgreSQL 6.3.2

Discussion

Leon J Breedt Pam-PGSQL Remote SQL Query Manipulation Vulnerability

Leon J Breedt's 'pam-pgsql' is a PAM authentication module to be used with PostgreSQL.

'pam-pgsql' 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

Leon J Breedt Pam-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]>.

Solution / Fix

Leon J Breedt Pam-PGSQL Remote SQL Query Manipulation Vulnerability

Solution:
FreeBSD has provided a fix. The FreeBSD portcheckout utility may be used to automatically upgrade to a fixed version.


Leon J Breedt pam-pgsql 0.5.1

References

Leon J Breedt Pam-PGSQL Remote SQL Query Manipulation Vulnerability

References:

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report