Secunia CSI7
Advisories
Research
Forums
Create Profile
Our Commitment
Database
Search
Advisories by Product
Advisories by Vendor
Terminology
Report Vulnerability
Insecure Library Loading
Moderately critical

GNU Enscript "setfilename" and "font" Special Escape Buffer Overflows

-

Release Date:  2008-10-22    Last Update:  2008-11-04    Views:  6,075

Secunia Advisory SA32137

Where:

From remote

Impact:

System access

Solution Status:

Unpatched

Software:

CVE Reference(s):

Description


Some vulnerabilities have been discovered in GNU Enscript, which can be exploited by malicious people to compromise a vulnerable system.

1) A vulnerability is caused due to a boundary error within the "read_special_escape()" function in src/psgen.c when processing the "setfilename" escape sequence. This can be exploited to cause a stack-based buffer overflow by tricking the user into converting a malicious file.

2) A vulnerability is caused due to a boundary error within the "read_special_escape()" function in src/psgen.c when processing the "font" escape sequence. This can be exploited to cause a stack-based buffer overflow by tricking the user into converting a malicious file.

Successful exploitation allows execution of arbitrary code, but requires that special escapes processing is enabled with the "-e" option.

The vulnerabilities are confirmed in versions 1.6.1 and 1.6.4 (beta). Other versions may also be affected.


Solution:
Do not convert untrusted files.

Further details available to Secunia VIM customers

Provided and/or discovered by:
1) Ulf Harnhammar, Secunia Research.
2) Kees Cook, Ubuntu

Original Advisory:
Secunia Research:
http://secunia.com/secunia_research/2008-41/

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: GNU Enscript "setfilename" and "font" Special Escape Buffer Overflows<

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-2014 Secunia ApS - Rued Langgaards Vej 8, 4th floor, DK-2300 Copenhagen, Denmark - +45 7020 5144
Terms & Conditions and Copyright - Privacy - Report Vulnerability