CVE-2008-1845

mksh: privilege escalation via unflushed tty

Published Apr 16, 2008 CVSS 2.0 · 7.2 High EPSS < 1% KEV · Not listed
Description
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2008-1845 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.
Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Aug 7, 2024, 8:40 AM
Reserved
Apr 16, 2008, 12:00 AM
Status
Modified
Published
Apr 16, 2008, 5:05 PM
Modified
Jun 16, 2026, 10:52 PM
Severity
Low
Public date
Apr 16, 2008, 12:00 AM