Secunia Logo
Netsikker nu! 2008
 
GnuPG "make_printable_string()" Buffer Overflow Vulnerability
Secunia Advisory: SA23094
Release Date: 2006-11-28
Last Update: 2006-12-01
Popularity: 9,372 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. WinFTP "PASV" Denial of Service Vulnerability // 39 views
2. My PHP Indexer "d" File Disclosure Vulnerability // 38 views
3. Real Estates Classifieds "cat" SQL Injection Vulnerability // 35 views
4. Ayco Okul "linkid" SQL Injection Vulnerability // 33 views
5. Joomla Ignite Gallery Component "gallery" SQL Injection // 33 views
6. NewLife Blogger "nlb3" SQL Injection Vulnerability // 30 views
7. Joomla OwnBiblio Component "catid" SQL Injection // 28 views
8. Joomla Mad4Joomla Mailforms Component "jid" SQL Injection // 27 views
9. ScriptsEz Mini Hosting Panel "dir" File Disclosure // 25 views
10. Subdreamer Light Global Variables SQL Injection Vulnerability // 24 views