Secunia Logo
Netsikker nu! 2008
 
Plash Sandboxed Process TIOCSTI ioctl() Privilege Escalation
Secunia Advisory: SA24498
Release Date: 2007-03-12
Last Update: 2007-03-14
Popularity: 4,160 views

Critical:
Moderately critical
Impact: Security Bypass
Privilege escalation
Where: From remote
Solution Status: Vendor Workaround

Software:Plash 1.x

Subscribe: Instant alerts on relevant vulnerabilities

CVE reference:CVE-2007-1400


Description:
Mark Seaborn has reported a vulnerability in Plash, which can be exploited by malicious people to bypass certain security restrictions and gain escalated privileges.

The vulnerability is caused due to Plash not correctly restricting sandboxed processes from inserting characters to the terminal's file descriptor via the TIOCSTI ioctl(). If a shell runs on that terminal, a malicious sandboxed process can exploit this to execute arbitrary commands with the full privileges of the running shell.

The vulnerability is reported in Plash 1.17. Other versions may also be affected.

Solution:
As a workaround, the vendor recommends users to proxy streams by piping them through "cat":
cat | pola-run ... 2>&1 | cat

Provided and/or discovered by:
Mark Seaborn

Changelog:
2007-03-14: Added CVE reference.

Original Advisory:
http://plash.beasts.org/wiki/PlashIssues/TtyVulnerability
http://lists.gnu.org/archive/html/plash/2007-03/msg00000.html


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. Trend Micro ServerProtect Multiple Buffer Overflow Vulnerabilities // 42 views
2. IceWarp Web Mail Two File Inclusion Vulnerabilities // 40 views
3. Apple Mac OS X Security Update Fixes Multiple Vulnerabilities // 29 views
4. CA ARCserve Backup Multiple Vulnerabilities // 28 views
5. CUPS Multiple Vulnerabilities // 26 views
6. Sun Java System Web Proxy Server FTP Subsystem Buffer Overflow // 24 views
7. ScriptsEz Easy Image Downloader "id" File Disclosure Vulnerability // 21 views
8. Gentoo Portage Insecure Python Module Search Path Security Issue // 20 views
9. FUJITSU Interstage Products Apache Tomcat Security Bypass // 20 views
10. Fedora update for ruby // 19 views