{"api_version":"1","generated_at":"2026-04-23T11:32:25+00:00","cve":"CVE-2008-1845","urls":{"html":"https://cve.report/CVE-2008-1845","api":"https://cve.report/api/cve/CVE-2008-1845.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2008-1845","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2008-1845"},"summary":{"title":"CVE-2008-1845","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.","state":"PUBLISHED","assigner":"mitre","published_at":"2008-04-16 17:05:00","updated_at":"2026-04-23 00:35:47"},"problem_types":["NVD-CWE-Other","n/a"],"metrics":[{"version":"2.0","source":"nvd@nist.gov","type":"Primary","score":"7.2","severity":"","vector":"AV:L/AC:L/Au:N/C:C/I:C/A:C","data":{"version":"2.0","vectorString":"AV:L/AC:L/Au:N/C:C/I:C/A:C","baseScore":7.2,"accessVector":"LOCAL","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"COMPLETE","integrityImpact":"COMPLETE","availabilityImpact":"COMPLETE"}}],"references":[{"url":"http://www.securityfocus.com/bid/28768","name":"http://www.securityfocus.com/bid/28768","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"MirBSD Korn Shell Local Privilege Escalation Vulnerability","mime":"text/html","httpstatus":"200","archivestatus":"0"},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/41794","name":"https://exchange.xforce.ibmcloud.com/vulnerabilities/41794","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"IBM X-Force Exchange","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.osvdb.org/44365","name":"http://www.osvdb.org/44365","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"","mime":"","httpstatus":"-1","archivestatus":"0"},{"url":"http://secunia.com/advisories/29803","name":"http://secunia.com/advisories/29803","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Vendor Advisory"],"title":"MirBSD Korn Shell TTY Attachment Privilege Escalation - Secunia Advisories - Vulnerability Intelligence - Secunia.com","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.mirbsd.org/mksh.htm#clog","name":"http://www.mirbsd.org/mksh.htm#clog","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"MirOS: mksh – the MirBSD Korn Shell","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2008-1845","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2008-1845","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"n/a","product":"n/a","version":"affected n/a","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2008","cve_id":"1845","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"mirbsd","cpe5":"miros","cpe6":"33","cpe7":"a","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2008","cve_id":"1845","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"mirbsd","cpe5":"miros","cpe6":"33","cpe7":"b","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2008","cve_id":"1845","vulnerable":"1","versionEndIncluding":"33","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"mirbsd","cpe5":"miros","cpe6":"*","cpe7":"c","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"providerMetadata":{"dateUpdated":"2024-08-07T08:40:59.416Z","orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE"},"references":[{"name":"44365","tags":["vdb-entry","x_refsource_OSVDB","x_transferred"],"url":"http://www.osvdb.org/44365"},{"name":"28768","tags":["vdb-entry","x_refsource_BID","x_transferred"],"url":"http://www.securityfocus.com/bid/28768"},{"name":"29803","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"],"url":"http://secunia.com/advisories/29803"},{"name":"mirbsd-tty-privilege-escalation(41794)","tags":["vdb-entry","x_refsource_XF","x_transferred"],"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/41794"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"http://www.mirbsd.org/mksh.htm#clog"}],"title":"CVE Program Container"}],"cna":{"affected":[{"product":"n/a","vendor":"n/a","versions":[{"status":"affected","version":"n/a"}]}],"datePublic":"2008-04-11T00:00:00.000Z","descriptions":[{"lang":"en","value":"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."}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"dateUpdated":"2017-08-07T12:57:01.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","shortName":"mitre"},"references":[{"name":"44365","tags":["vdb-entry","x_refsource_OSVDB"],"url":"http://www.osvdb.org/44365"},{"name":"28768","tags":["vdb-entry","x_refsource_BID"],"url":"http://www.securityfocus.com/bid/28768"},{"name":"29803","tags":["third-party-advisory","x_refsource_SECUNIA"],"url":"http://secunia.com/advisories/29803"},{"name":"mirbsd-tty-privilege-escalation(41794)","tags":["vdb-entry","x_refsource_XF"],"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/41794"},{"tags":["x_refsource_CONFIRM"],"url":"http://www.mirbsd.org/mksh.htm#clog"}],"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2008-1845","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"44365","refsource":"OSVDB","url":"http://www.osvdb.org/44365"},{"name":"28768","refsource":"BID","url":"http://www.securityfocus.com/bid/28768"},{"name":"29803","refsource":"SECUNIA","url":"http://secunia.com/advisories/29803"},{"name":"mirbsd-tty-privilege-escalation(41794)","refsource":"XF","url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/41794"},{"name":"http://www.mirbsd.org/mksh.htm#clog","refsource":"CONFIRM","url":"http://www.mirbsd.org/mksh.htm#clog"}]}}}},"cveMetadata":{"assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","assignerShortName":"mitre","cveId":"CVE-2008-1845","datePublished":"2008-04-16T17:00:00.000Z","dateReserved":"2008-04-16T00:00:00.000Z","dateUpdated":"2024-08-07T08:40:59.416Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.1"},"nvd":{"publishedDate":"2008-04-16 17:05:00","lastModifiedDate":"2026-04-23 00:35:47","problem_types":["NVD-CWE-Other","n/a"],"metrics":{"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:L/AC:L/Au:N/C:C/I:C/A:C","baseScore":7.2,"accessVector":"LOCAL","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"COMPLETE","integrityImpact":"COMPLETE","availabilityImpact":"COMPLETE"},"baseSeverity":"HIGH","exploitabilityScore":3.9,"impactScore":10,"acInsufInfo":false,"obtainAllPrivilege":true,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}]},"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:mirbsd:miros:*:c:*:*:*:*:*:*","versionEndIncluding":"33","matchCriteriaId":"EA2CBA6E-BBEC-4FD6-B32A-1748F6528339"},{"vulnerable":true,"criteria":"cpe:2.3:o:mirbsd:miros:33:a:*:*:*:*:*:*","matchCriteriaId":"EE115BFE-1E0D-4E7D-992A-FFDB4B765EB9"},{"vulnerable":true,"criteria":"cpe:2.3:o:mirbsd:miros:33:b:*:*:*:*:*:*","matchCriteriaId":"1E87BD42-6F51-4E8E-93DE-9DA8B478A078"}]}]}]},"legacy_mitre":{"record":{"CveYear":"2008","CveId":"1845","Ordinal":"1","Title":"CVE-2008-1845","CVE":"CVE-2008-1845","Year":"2008"},"notes":[{"CveYear":"2008","CveId":"1845","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"CVE-2008-1845"},{"CveYear":"2008","CveId":"1845","Ordinal":"2","NoteData":"2008-04-16","Type":"Other","Title":"Published"},{"CveYear":"2008","CveId":"1845","Ordinal":"3","NoteData":"2017-08-07","Type":"Other","Title":"Modified"}]}}}