Secunia - Stay Secure
Gartner
Home Corporate Website Jobs Updated Mailing Lists RSS Blog  Online Shop Advertise
Software Inspectors
  Scan Online
  Personal (PSI)
  Network (NSI 2.0)

Solutions For
  Security Professionals
  Security Vendors

Free Solutions For
  Open Communities
  Journalists & Media

Secunia Advisories
  Search
  Historic Advisories
  Listed By Product
  Listed By Vendor
  Statistics / Graphs
  Secunia Research
  Report Vulnerability
  About Advisories

Virus Information
  Chronological List
  Last 10 Virus Alerts
  About Virus Information

Secunia Customers
  Customer Area


Xpdf Multiple Buffer Overflow Vulnerabilities Advisory Available in Danish 

Secunia Advisory: SA17897  
Release Date: 2005-12-06

Critical:
Moderately critical
Impact: DoS
System access
Where: From remote
Solution Status: Vendor Patch

Software:Xpdf 3.x

CVE reference:CVE-2005-3191 (Secunia mirror)
CVE-2005-3192 (Secunia mirror)
CVE-2005-3193 (Secunia mirror)

Want to know the next time vulnerabilities are fixed in this product?
- Companies can be alerted via email and SMS!


Description:
infamous41md has reported some vulnerabilities in xpdf, which can be exploited by malicious people to cause a DoS (Denial of Service) and potentially to compromise a user's system.

1) A boundary error exists in the "DCTStream::readBaselineSOF()" function in "xpdf/Stream.cc" when copying data from a PDF file to a heap-based buffer. This can be exploited to cause a heap-based buffer overflow via a specially crafted PDF file with an overly large "numComps" value.

2) A boundary error exists in the "DCTStream::readProgressiveSOF()" function in "xpdf/Stream.cc" when copying data from a PDF file to a heap-based buffer. This can be exploited to cause a heap-based buffer overflow via a specially crafted PDF file with an overly large "numComps" value.

3) An error exists in the "StreamPredictor::StreamPredictor()" function in "xpdf/Stream.cc" when using the "numComps" value to calculate the memory size to be allocated by "gmalloc()". This can be exploited to cause "gmalloc()" to allocate less memory than required, which will lead to a heap-based buffer overflow when data is copied from the PDF file to the allocated memory.

4) An error exists in the "JPXStream::readCodestream()" function in "xpdf/JPXStream.cc" when using the "nXTiles" and "nYTiles" values from a PDF file to copy data from the file into allocated memory. This can be exploited to cause a heap-based buffer overflow via a specially crafted PDF file with overly large "nXTiles" and "nYTiles" values.

Successful exploitation of the vulnerabilities requires that the user is e.g. tricked into opening a malicious PDF file.

The vulnerabilities have been reported in version 3.01. Prior versions may also be affected.

Solution:
Update to version 3.01pl1.
http://www.foolabs.com/xpdf/download.html

Provided and/or discovered by:
infamous41md

Original Advisory:
iDEFENSE:
http://www.idefense.com/application/poi/display?id=342&type=vulnerabilities
http://www.idefense.com/application/poi/display?id=343&type=vulnerabilities
http://www.idefense.com/application/poi/display?id=344&type=vulnerabilities
http://www.idefense.com/application/poi/display?id=345&type=vulnerabilities



Please note: The information that this Secunia Advisory is based on comes from a third party unless stated otherwise.

Secunia collects, validates, and verifies all vulnerability reports issued by security research groups, vendors, and others.

9 Related Secunia Security Advisories

1. Xpdf Embedded Fonts Processing Vulnerability
2. Xpdf "Stream.cc" Multiple Vulnerabilities
3. Xpdf "StreamPredictor" Multiple Vulnerabilities
4. Xpdf PDF Splash Image Handling Vulnerability
5. xpdf Multiple Integer Overflow Vulnerabilities
6. Xpdf Temporary File Writing Denial of Service
7. Xpdf "Decrypt::makeFileKey2()" Function Buffer Overflow
8. xpdf "doImage()" Buffer Overflow Vulnerability
9. Xpdf Multiple Integer Overflow Vulnerabilities


Send Feedback to Secunia

If you have new information regarding this Secunia advisory or a product in our database, please send it to us using either our web form or email us at vuln@secunia.com.

Ideas, suggestions, and other feedback are most welcome.








Secunia PSI
Scan | Patch | Track
Free Download

Secunia Poll

Do you think it's important to read Setup/User Guides for applications for use within your network?


See Results   


Most Popular Advisories

1.
AlstraSoft Video Share Enterprise "UID" SQL Injection
2.
tplSoccerSite Multiple SQL Injection Vulnerabilities
3.
MyBB Multiple Vulnerabilities
4.
Vim configure.in Insecure Temporary Files
5.
HP-UX update for bind
6.
BlackBerry Enterprise Server PDF Processing Vulnerability
7.
Joomla DT Register Component "eventId" SQL Injection
8.
Arctic "filter" SQL Injection Vulnerability
9.
Fedora update for firefox
10.
phpHoo3 "viewCat" SQL Injection Vulnerability





Vulnerability Management - Terms & Conditions - Copyright 2002-2008 Secunia - Compliance - Contact Secunia