Bug 443995 (CVE-2008-1845) - CVE-2008-1845 mksh: privilege escalation via unflushed tty
Summary: CVE-2008-1845 mksh: privilege escalation via unflushed tty
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2008-1845
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL: http://nvd.nist.gov/nvd.cfm?cvename=C...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-04-24 14:46 UTC by Tomas Hoger
Modified: 2019-09-29 12:24 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-04-24 18:09:24 UTC
Embargoed:


Attachments (Terms of Use)

Description Tomas Hoger 2008-04-24 14:46:56 UTC
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.

Refences:
http://www.mirbsd.org/mksh.htm#clog
http://www.securityfocus.com/bid/28768
http://www.osvdb.org/44365
http://secunia.com/advisories/29803
http://xforce.iss.net/xforce/xfdb/41794

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

https://admin.fedoraproject.org/updates/F7/FEDORA-2008-3070
https://admin.fedoraproject.org/updates/F8/FEDORA-2008-3174

Rawhide update mksh-33d-1.fc9 did not make it to F9 before freeze.


Comment 2 Tomas Hoger 2008-04-24 14:52:24 UTC
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 15:41:46 UTC
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 17:27:19 UTC
mksh-33d-1.fc9 successfully tagged into f9-final by notting

Comment 5 Tomas Hoger 2008-04-24 18:09:24 UTC
Closing this bug.


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