CVE-2018-5731

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
Configurations

Configuration 1 (hide)

cpe:2.3:a:heimdalsecurity:heimdal:2.2.190:*:*:*:pro:*:*:*

History

No history.

Information

Published : 2018-03-22 16:29

Updated : 2023-12-10 12:30


NVD link : CVE-2018-5731

Mitre link : CVE-2018-5731

CVE.ORG link : CVE-2018-5731


JSON object : View

Products Affected

heimdalsecurity

  • heimdal
CWE
CWE-20

Improper Input Validation