An issue was discovered in Heimdal PRO 2.2.190. As part of the scanning feature, a process called md.hs writes an executable called CS1.tmp to C:\windows\TEMP. Afterwards the executable is run. It is possible for an attacker to create the file first, let md.hs overwrite it, and then rewrite the file in the window between md.hs closing the file and executing it. This can be exploited via opportunistic locks and a high priority thread. The vulnerability is triggered when a scan starts. NOTE: any affected Heimdal products are completely unrelated to the Heimdal vendor of a Kerberos 5 product on the h5l.org web site.
References
Link Resource
https://improsec.com/blog/heimdal-advisory-2 Exploit Third Party Advisory
History

No history.

cve-icon MITRE Information

Status: PUBLISHED

Assigner: mitre

Published: 2018-03-22T16:00:00

Updated: 2018-03-26T14:57:01

Reserved: 2018-01-17T00:00:00


Link: CVE-2018-5731

JSON object: View

cve-icon NVD Information

Status : Analyzed

Published: 2018-03-22T16:29:00.270

Modified: 2018-04-20T17:03:16.847


Link: CVE-2018-5731

JSON object: View

cve-icon Redhat Information

No data.

CWE