CVE-2018-5731

Public Exploit

Description

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.

Category

7.0
CVSS
Severity: High
CVSS 3.0 •
CVSS 2.0 •
EPSS 0.02%
Third-Party Advisory improsec.com
Affected: n/a n/a
Published at:
Updated at:

References

Link Tags
https://improsec.com/blog/heimdal-advisory-2 third party advisory exploit

Frequently Asked Questions

What is the severity of CVE-2018-5731?
CVE-2018-5731 has been scored as a high severity vulnerability.
How to fix CVE-2018-5731?
To fix CVE-2018-5731, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2018-5731 being actively exploited in the wild?
It is possible that CVE-2018-5731 is being exploited or will be exploited in a near future based on public information. According to its EPSS score, there is a ~0% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.