mksh: privilege escalation via unflushed tty
Published Apr 16, 2008
7.2
HIGHCVSS 2.0
EPSS 0.33%
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.
Affected products
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
No CVSS v3.0 score for this CVE.
AV:L/AC:L/Au:N/C:C/I:C/A:C
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 2, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (9 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 2, 2026 | 0.33% (0.00332) | 24.06th | v5 (v2026.06.15) |
| Jun 15, 2026 | 0.33% (0.00332) | 24.71th | v5 (v2026.06.15) |
| Mar 17, 2025 | 0.04% (0.00045) | 11.01th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.04% (0.00042) | 5.07th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.04% (0.00042) | 5.63th | v3 (v2023.03.01) |
| Mar 6, 2023 | 0.95% (0.00950) | 32.28th | v2 (v2022.01.01) |
| Sep 10, 2022 | 0.95% (0.00950) | 30.63th | v2 (v2022.01.01) |
| Apr 1, 2022 | 0.95% (0.00950) | 28.61th | v2 (v2022.01.01) |
| Feb 4, 2022 | 0.95% (0.00950) | 13.46th | v2 (v2022.01.01) |
No CWE recorded.
References (9)
- http://secunia.com/advisories/29803 third-party-advisoryx_refsource_SECUNIAVendor Advisory
- http://www.mirbsd.org/mksh.htm#clog x_refsource_CONFIRM
- http://www.osvdb.org/44365 vdb-entryx_refsource_OSVDB
- http://www.securityfocus.com/bid/28768 vdb-entryx_refsource_BID
- https://access.redhat.com/security/cve/CVE-2008-1845 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=443995 Issue Tracking
- https://exchange.xforce.ibmcloud.com/vulnerabilities/41794 vdb-entryx_refsource_XF
- https://nvd.nist.gov/vuln/detail/CVE-2008-1845
- https://www.cve.org/CVERecord?id=CVE-2008-1845
| Link | Providers | Tags |
|---|---|---|
| http://secunia.com/advisories/29803 | third-party-advisoryx_refsource_SECUNIAVendor Advisory | |
| http://www.mirbsd.org/mksh.htm#clog | x_refsource_CONFIRM | |
| http://www.osvdb.org/44365 | vdb-entryx_refsource_OSVDB | |
| http://www.securityfocus.com/bid/28768 | vdb-entryx_refsource_BID | |
| https://access.redhat.com/security/cve/CVE-2008-1845 | Vendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=443995 | Issue Tracking | |
| https://exchange.xforce.ibmcloud.com/vulnerabilities/41794 | vdb-entryx_refsource_XF | |
| https://nvd.nist.gov/vuln/detail/CVE-2008-1845 | ||
| https://www.cve.org/CVERecord?id=CVE-2008-1845 |
Change history (0)
No recorded changes yet.