Bug 443995 - (CVE-2008-1845) CVE-2008-1845 mksh: privilege escalation via unflushed tty
CVE-2008-1845 mksh: privilege escalation via unflushed tty
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
All Linux
low Severity low
: ---
: ---
Assigned To: Red Hat Product Security
: Security
Depends On:
  Show dependency treegraph
Reported: 2008-04-24 10:46 EDT by Tomas Hoger
Modified: 2008-04-24 14:09 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2008-04-24 14:09:24 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Tomas Hoger 2008-04-24 10:46:56 EDT
Common Vulnerabilities and Exposures assigned an identifier CVE-2008-1845 to the following vulnerability:

The Korn shell (aka mksh) before R33d on MirOS (aka MirBSD) does not flush the tty's I/O when invoking mksh in a new terminal, which allows local users to gain privileges by opening a virtual terminal and entering command sequences, which might later be executed in opportunistic circumstances by a different user who launches mksh and specifies that terminal with the -T option.

Comment 1 Tomas Hoger 2008-04-24 10:48:37 EDT
Fixed upstream version was already pushed to F7/F8:


Rawhide update mksh-33d-1.fc9 did not make it to F9 before freeze.
Comment 2 Tomas Hoger 2008-04-24 10:52:24 EDT
Robert, have you managed to reproduce this on Fedora?  I must admit that I'm not
quite sure what is the purpose of -T switch, where this can be used in a
meaningful way.
Comment 3 Robert Scheck 2008-04-24 11:41:46 EDT
I didn't reproduce that, I didn't use the -T switch as well. I was just adviced
personally by upstream to update mksh to solve this issue, as it could be minor
security problem (eventually).

Anyway, I'm asking rel-eng to get mksh-33d-1.fc9 into Fedora 9.
Comment 4 Robert Scheck 2008-04-24 13:27:19 EDT
mksh-33d-1.fc9 successfully tagged into f9-final by notting
Comment 5 Tomas Hoger 2008-04-24 14:09:24 EDT
Closing this bug.

Note You need to log in before you can comment on or make changes to this bug.