|
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.
|