CWE
20
Advisory Published
Updated

CVE-2018-5731: Input Validation

First published: Thu Mar 22 2018(Updated: )

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.

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
heimdal=2.2.190

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2018-5731?

    CVE-2018-5731 has a high severity due to the potential for local privilege escalation.

  • How do I fix CVE-2018-5731?

    To fix CVE-2018-5731, update Heimdal PRO to the latest version that addresses this vulnerability.

  • What is the impact of CVE-2018-5731?

    The impact of CVE-2018-5731 allows attackers to execute arbitrary code by overwriting an executable in the system temporary directory.

  • Who is affected by CVE-2018-5731?

    CVE-2018-5731 affects users of Heimdal PRO version 2.2.190.

  • Is CVE-2018-5731 exploitable remotely?

    CVE-2018-5731 is primarily a local vulnerability and requires local access to exploit.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203