Skip to content

J-Security Center

Latest Attack Object Updates
  • IDP Daily Update #1250
    posted: 08/27/08
  • NSM Daily Update #1250
    posted: 08/27/08
  • Deep Inspection 5.3r5 and above, 5.4, 6.0 #1250
    posted: 08/27/08
  • Deep Inspection 5.1, 5.2, 5.3r4 and below #1227
    posted: 08/27/08
  • Deep Inspection 5.0 #1132
    posted: 04/01/08
  • Antivirus
    posted: 08/26/08

Title: Leon J Breedt Pam-PGSQL Remote SQL Query Manipulation Vulnerability

Severity: HIGH

Description:

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 users to modify the structure of SQL queries by carefully constructing variables containing metacharacters that will be included in the target 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. The attacker may be able to exploit this issue to gain unauthorized access to the host.

Affected Products:

  • Leon J Breedt pam-pgsql 0.5.1