GNU Texinfo Multiple Vulnerabilities
Secunia Advisory: SA16816
Release Date: 2005-09-15
Last Update: 2006-11-09
Popularity: 10,369 views

Critical:
Moderately critical
Impact: Privilege escalation
System access
Where: From remote
Solution Status: Unpatched

Software:GNU Texinfo 4.x

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2005-3011
CVE-2006-4810


Description:
Some vulnerabilities have been reported in GNU texinfo, which can be exploited by malicious, local users to perform certain actions on a vulnerable system with escalated privileges, and by malicious people to potentially compromise a vulnerable system.

1) The "sort_offline()" function in textindex.c creates temporary files insecurely using predictable file names. This can be exploited via symlink attacks to create or overwrite arbitrary files with the privileges of the user running the affected application.

Successful exploitation requires that texindex is used with an input file that is 500,000 bytes or larger.

2) A boundary error exists within the "readline()" function in texindex.c. This can be exploited to cause a heap-based buffer overflow by e.g. tricking a user into opening a specially crafted Texinfo file.

Successful exploitation may allow the execution of arbitrary code, but requires that an input file which is 500,000 bytes or larger is used.

Solution:
Grant only trusted users access to affected systems and do not open untrusted Texinfo files.

Provided and/or discovered by:
1) Frank Lichtenheld
2) Miloslav Trmac

Changelog:
2005-09-23: Added CVE reference.
2006-11-09: Added "readline()" vulnerability.

Original Advisory:
Debian:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=328365

Red Hat:
http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=211484


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. Adobe Flash Player Multiple Vulnerabilities // 27 views
2. Microsoft Office Two Code Execution Vulnerabilities // 18 views
3. Subdreamer Light Global Variables SQL Injection Vulnerability // 17 views
4. Microsoft Word Malformed Object Pointer Vulnerability // 16 views
5. Netgear WN802T Wireless Access Point Two Vulnerabilities // 16 views
6. Opera Multiple Vulnerabilities // 14 views
7. VLC Media Player Multiple Vulnerabilities // 14 views
8. Sun Java System Web Proxy Server SOCKS Module Buffer Overflows // 14 views
9. Drupal Content Construction Kit Script Insertion Vulnerabilities // 13 views
10. Microsoft Office Excel Multiple Vulnerabilities // 13 views