Secunia SmallBusiness
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
Secunia VIM 4.0 - Free Trial
Release Date 2006-05-24
Last Update 2006-05-25
   
Popularity 24,415 views
Comments 0 comments

Criticality level Moderately criticalModerately critical
Impact Manipulation of data
Where From remote
Authentication level This information is available to Secunia VIM customers
   
Report reliability This information is available to Secunia VIM customers
Solution Status Vendor Patch
   
Systems affected This information is available to Secunia VIM customers
Approve distribution This information is available to Secunia VIM customers
Remediation status Secunia CSI, Secunia PSI
Automated scanning Secunia CSI, Secunia PSI
   
Software:
PostgreSQL 7.x
PostgreSQL 8.x

Secunia CVSS Score This information is available to Secunia VIM Customers
CVE Reference(s) CVE-2006-2313 CVSS score available to Secunia VIM customers
CVE-2006-2314 CVSS score available to Secunia VIM customers
  

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 to Secunia VIM customers

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

Changelog
Further details available to Secunia VIM customers

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 to Secunia VIM customers


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
Webinars
Events
 About us
Careers
Memberships
Newsroom


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