32598 : Plash TTY ioctl() Character Injection
Printer | http://osvdb.org/32598 | Email This | Edit Vulnerability

Views This Week Views All Time Added to OSVDB Last Modified Modified (since 2008) Percent Complete
5 694 over 4 years ago over 3 years ago 0 times 90%

Timeline

Disclosure Date
2007-03-01

Description

It is possible for a sandboxed process to put characters into the input stream of the terminal using the TIOCSTI ioctl() on the tty's file descriptor. This data may be interpreted by a shell running on the terminal, allowing the sandboxed process to run code with the full authority of the user.

Classification

Location: Local Access Required
Attack Type: Authentication Management
Impact: Loss of Confidentiality, Loss of Integrity
Exploit: Exploit Unknown

Solution

Upgrade to version 1.18 or higher, as it has been reported to fix this vulnerability. It is also possible to correct the flaw by implementing the following workaround(s): Granting access to /dev/tty (this includes not using the -B option to pola-run), and by proxying access to stdin/stdout/stderr by piping them through cat
"cat | pola-run ... 2>&1 | cat"

Another option would be eg. to implement PTraceJail this would allow to block ioctl() calls

Products

Mark Seaborn
Watch-list
Plash
Watch-list
1.17

References

Credit

  • Mark Seaborn -

CVSSv2 Score

CVSSv2 Base Score = 6.9
Source: nvd.nist.gov | Generated: 2007-03-13 | Disagree?

Access_vector_0 Access_complexity_1 Authentication_2 Confidentiality_impact_2 Integrity_impact_2 Availability_impact_2

Blogs

This section lists the latest news and blogs found via the daylife API (and for older items, the technorati API), which mention or otherwise discuss this vulnerability.

None found at this time

Comments

No Comments.

The database information may change without any notice. Use of the information constitutes acceptance for use in an AS IS condition, and there are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the copyright holder or distributor (OSVDB or OSF) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.

© Copyright 2012 Open Source Vulnerability Database (OSVDB), All Rights Reserved.
Privacy Statement - Terms of Use