Secunia Logo  
 
GnuPG "make_printable_string()" Buffer Overflow Vulnerability
Secunia Advisory: SA23094
Release Date: 2006-11-28
Last Update: 2006-12-01
Popularity: 9,882 views

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

Software:GnuPG / gpg 1.0.x
GnuPG / gpg 1.2.x
GnuPG / gpg 1.3.x
GnuPG / gpg 1.4.x
GnuPG / gpg 2.x

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2006-6169


Description:
Hugh Warrington has reported a vulnerability in GnuPG, which potentially can be exploited by malicious people to compromise a user's system.

The vulnerability is caused due to a boundary error in the "ask_outfile_name()" function in openfile.c, because the "make_printable_string()" function can return a string longer than the expected "NAMELEN". This can be exploited to cause a buffer overflow by e.g. tricking a user into processing a specially crafted file using the interactive mode.

Successful exploitation may allow the execution of arbitrary code, but requires that the interactive mode is used. Applications using the batch mode (e.g. most e-mail clients) are not affected.

The vulnerability is reported in version 1.4.5 and 2.0.0. Other versions may also be affected.

Solution:
Apply patch.
http://cvs.gnupg.org/cgi-bin/viewcvs....le.c?rev=4349&r1=4215&r2=4349

Provided and/or discovered by:
Hugh Warrington

Changelog:
2006-12-01: Added CVE reference.

Original Advisory:
http://lists.gnupg.org/pipermail/gnupg-announce/2006q4/000241.html


Track this Secunia Advisory
Customers of the Secunia Vulnerability Intelligence solutions will automatically receive updates when new information regarding this advisory is released.

Read more about our Vulnerability Intelligence solutions and what they can do for you and your company.

About this Secunia Advisory
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.
  
Latest Advisories

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.

Most Popular - 3 Hours

1. Drupal Project Module File Upload and Cross-Site Scripting // 27 views
2. Drupal Project Issue Tracking Module Multiple Vulnerabilities // 27 views
3. Internet Explorer Data Binding Memory Corruption Vulnerability // 21 views
4. SmbFTPD Long Command Processing Vulnerability // 21 views
5. FreeBSD update for openssl // 20 views
6. Mambo "GLOBALS['mosConfig_absolute_path']" File Inclusion // 19 views
7. Lasso OpenSSL "DSA_verify()" Spoofing Vulnerability // 19 views
8. Cisco Global Site Selector DNS Request Denial of Service // 19 views
9. NTP OpenSSL "EVP_VerifyFinal()" Spoofing Vulnerability // 18 views
10. FreeBSD update for lukemftpd // 17 views