Secunia CSI 5.0
Overview
Advisories
Research
Forums
Create Profile
Our Commitment
Database
Search
Advisories by Product
Advisories by Vendor
Terminology
Report Vulnerability
Insecure Library Loading

Secunia Advisory SA20231

PostgreSQL Encoding-Based SQL Injection Vulnerability
Secunia Advisory SA20231
DOWNLOAD CSI


DOWNLOAD PSI
Release Date 2006-05-24
Last Update 2006-05-25
   
Popularity 23,250 views
Comments 0 comments

Criticality level Moderately criticalModerately critical
Impact Manipulation of data
Where From remote
Authentication level Available in Customer Area
   
Report reliability Available in Customer Area
Solution Status Vendor Patch
   
Systems affected Available in Customer Area
Approve distribution Available in Customer Area
Remediation status Secunia CSI, Secunia PSI
Automated scanning Secunia CSI, Secunia PSI
   
Software:
PostgreSQL 7.x
PostgreSQL 8.x

Secunia CVSS Score Available in Customer Area
CVE Reference(s) CVE-2006-2313 CVSS available in Customer Area
CVE-2006-2314 CVSS available in Customer Area
  

Description

Two vulnerabilities have been reported in PostgreSQL, which potentially can be exploited by malicious people to conduct SQL injection attacks.

The vulnerabilities are caused due to the differences in the way PostgreSQL server and non encoding-aware applications interpret SQL query strings that contain certain multi-byte characters. A non encoding-aware application may insert escape characters into a malicious query string (e.g. to escape single-quote or backslash characters), without realizing that the escape characters will be interpreted as part of a multi-byte character sequence by the server. This can be exploited to conduct SQL injection attacks by injecting certain multi-byte characters into the query string.

Successful exploitation allows bypassing of SQL injection escaping code that are implemented in non encoding-aware applications.

The vulnerabilities have been reported in the 7.3, 7.4, 8.0 and 8.1 branch.


Solution
Update to the fixed versions.
Further details available in Customer Area

Provided and/or discovered by
The vendor credits Akio Ishida and Yasuo Ohgaki.

Changelog
Further details available in Customer Area

Original Advisory
http://archives.postgresql.org/pgsql-announce/2006-05/msg00010.php
http://www.postgresql.org/docs/techdocs.50
http://www.postgresql.org/docs/8.1/static/release-7-3-15.html
http://www.postgresql.org/docs/8.1/static/release-7-4-13.html
http://www.postgresql.org/docs/8.1/static/release-8-0-8.html
http://www.postgresql.org/docs/8.1/static/release.html#RELEASE-8-1-4

Deep Links
Links available in Customer Area


Do you have additional information related to this advisory?

Please provide information about patches, mitigating factors, new versions, exploits, faulty patches, links, and other relevant data by posting comments to this Advisory. You can also send this information to vuln@secunia.com

Subject: PostgreSQL Encoding-Based SQL Injection Vulnerability
 
No posts yet

-

You must be logged in to post a comment.




 Products Solutions Customers Partner Resources Company
 
 Corporate
Vulnerability Intelligence Manager (VIM)
Corporate Software Inspector (CSI)
Consumer
Personal Software Inspector (PSI)
Online Software Inspector (OSI)
 Industry
Compliance
Technology
Integration
 Customers
Testimonials
 VARS
MSSP
Technology Partners
References
 Factsheets
Reports & Papers
Webinars
Events
 About us
Careers
Memberships
Newsroom


 
© 2002-2012 Secunia ApS - Rued Langgaards Vej 8, 4th floor, DK-2300 Copenhagen, Denmark - +45 7020 5144
Terms & Conditions and Copyright - Privacy - Report Vulnerability