Secunia Logo  
 
pstotext Filename Shell Command Injection Vulnerability
Secunia Advisory: SA20012
Release Date: 2006-05-08
Popularity: 5,221 views

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

Software:pstotext 1.x

Subscribe: Instant alerts on relevant vulnerabilities


Description:
Brian May has reported a vulnerability in pstotext, which potentially can be exploited by malicious people to compromise a vulnerable system.

The vulnerability is caused due to an error in sanitising the filename supplied via the command line. This can be exploited to execute arbitrary commands when pstotext is run with a specially crafted command line that contains shell commands.

Successful exploitation requires that pstotext is run with command line input from non-trusted sources e.g. via a CGI application.

The vulnerability has been reported in version 1.9. Other versions may also be affected.

Solution:
Sanitise user supplied filenames before passing them as command line arguments to pstotext.

Provided and/or discovered by:
Brian May

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


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: 8
New vulnerabilities: 40
Updated advisories: 8

Highly // 34 views
Debian update for icedove
Moderately // 38 views
Fedora update for openssl
Moderately // 46 views
QuoteBook Multiple Vulnerabilities
Less // 39 views
Fedora update for samba
Moderately // 45 views
Ubuntu update for openssl

7th Jan, 2009
New advisories: 31
New vulnerabilities: 90
Updated advisories: 37

Moderately // 355 views
Red Hat update for xterm

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. OpenSSL DSA / ECDSA "EVP_VerifyFinal()" Spoofing Vulnerability // 85 views
2. Joomla! "X_CMS_LIBRARY_PATH" Directory Traversal Vulnerability // 77 views
3. SAP GUI TabOne ActiveX Control Caption List Buffer Overflow // 46 views
4. HP OpenView Network Node Manager Multiple Vulnerabilities // 41 views
5. Red Hat update for openssl // 33 views
6. Symantec Mail Security for SMTP Response Handling Denial of Service // 30 views
7. PollHelper "poll.inc" Information Disclosure Security Issue // 21 views
8. ISC BIND "EVP_VerifyFinal()" and "DSA_do_verify()" Spoofing Vulnerability // 21 views
9. BlogHelper "common_db.inc" Information Disclosure Security Issue // 20 views
10. vBulletin Personal Sticky Threads Add-on Security Bypass Vulnerability // 20 views