Secunia Logo
Netsikker nu! 2008
 
GNU a2ps Command Injection Vulnerability
Secunia Advisory: SA12375
Release Date: 2004-08-26
Last Update: 2004-12-10
Popularity: 6,820 views

Critical:
Less critical
Impact: Privilege escalation
Where: Local system
Solution Status: Unpatched

Software:GNU a2ps 4.x

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2004-1170


Description:
Rudolf Polzer has discovered a vulnerability in GNU a2ps, which potentially can be exploited by malicious, local users to gain escalated privileges.

The vulnerability is caused due to insufficient validation of shell escape characters in filenames and can potentially lead to execution of arbitrary commands.

This can e.g. be exploited when a user is using a wildcard in the filename for a2ps, which matches a filename that a malicious user can control (e.g. in a world-writeable directory).

Another exploit vector is when a2ps is used from within a script or program, which accesses files where the filename can be controlled by a malicious user.

The vulnerability has been confirmed in version 4.13. Other versions may also be affected.

Solution:
Don't use the product on files with untrusted filenames.

Use another product.

Provided and/or discovered by:
Rudolf Polzer

Changelog:
2004-12-10: Added CVE reference.


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

Today
New advisories: 19
New vulnerabilities: 68
Updated advisories: 62

Moderately // 196 views
Debian update for php5
Moderately // 142 views
Atarone CMS Multiple Vulnerabilities
Moderately // 181 views
Debian update for squid
Less // 192 views
SUSE update for mercurial
Moderately // 239 views
SUSE update for openssh
Less // 183 views
Fedora update for mediawiki

Solutions | More...  


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. Debian update for php5 // 59 views
2. SUSE update for openssh // 55 views
3. H-Sphere webshell4 Cross-Site Scripting and Request Forgery // 41 views
4. Juniper Products Neighbor Discovery Protocol Neighbor Solicitation Vulnerability // 40 views
5. WMNews Cross-Site Scripting Vulnerabilities // 40 views
6. SUSE update for mercurial // 36 views
7. MetaGauge Directory Traversal Vulnerability // 33 views
8. HP-UX NFS/ONCplus Denial of Service Vulnerability // 32 views
9. CMME Information Disclosure Security Issues // 32 views
10. Atarone CMS Multiple Vulnerabilities // 32 views