Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2024-47194 Overview
Siemens disclosed a DLL search path vulnerability affecting ModelSim and Questa simulation tools. The flaw resides in vish2.exe, which loads a specific DLL from the current working directory without validating its origin. An authenticated local attacker who can place a malicious DLL in a user-writable directory used to launch vish2.exe can execute arbitrary code. The impact escalates when administrators or elevated processes invoke the binary from such a directory, enabling privilege escalation. The weakness maps to [CWE-427] (Uncontrolled Search Path Element).
Critical Impact
Local attackers can inject arbitrary code and escalate privileges when vish2.exe runs from a user-writable directory with elevated rights.
Affected Products
- Siemens ModelSim (all versions prior to V2024.3)
- Siemens Questa (all versions prior to V2024.3)
- Component: vish2.exe
Discovery Timeline
- 2024-10-08 - CVE-2024-47194 published to NVD
- 2026-06-17 - Last updated in NVD database
Technical Details for CVE-2024-47194
Vulnerability Analysis
The vulnerability affects vish2.exe, a component shipped with Siemens ModelSim and Questa hardware simulation suites. The binary resolves a specific dependent DLL using an insecure search order that includes the current working directory. Windows applications that do not fully qualify DLL paths or restrict the search order can be tricked into loading an attacker-supplied library instead of the legitimate one.
Exploitation requires local, authenticated access and user interaction, since the attacker must stage a malicious DLL in a writable directory and wait for vish2.exe to be launched from that location. Successful exploitation yields code execution in the context of the invoking process. If a privileged user or automated workflow starts vish2.exe from a shared or user-controlled path, the attacker gains the same privilege level.
Root Cause
The root cause is uncontrolled search path element handling in vish2.exe. The process searches the current working directory for a required DLL instead of restricting loads to trusted system or installation paths. This behavior matches the classic DLL hijacking pattern described by [CWE-427].
Attack Vector
An attacker with local, low-privileged access places a crafted DLL with the expected filename in a directory where vish2.exe will be executed. When a user or scheduled task launches the binary from that working directory, Windows resolves the DLL to the attacker-controlled file. Code in DllMain executes immediately, inheriting the launching user's privileges. No network access or authentication bypass is required.
No public proof-of-concept exploit is listed for this CVE, and it does not appear on the CISA Known Exploited Vulnerabilities catalog.
Detection Methods for CVE-2024-47194
Indicators of Compromise
- Unexpected DLL files residing in the same directory as vish2.exe or in user-writable paths used to launch the binary.
- Loaded modules under vish2.exe that originate from non-standard installation paths such as user profile folders or network shares.
- Child processes spawned by vish2.exe that perform reconnaissance, credential access, or persistence actions.
Detection Strategies
- Monitor process creation events for vish2.exe and correlate the parent working directory with its command line and loaded modules.
- Use file integrity monitoring against ModelSim and Questa installation folders to detect new or modified DLLs.
- Hunt for module loads where the DLL path does not match the signed Siemens installation directory.
Monitoring Recommendations
- Enable Windows Sysmon Event ID 7 (ImageLoad) and Event ID 1 (ProcessCreate) with filters targeting vish2.exe.
- Alert when privileged accounts invoke vish2.exe from directories outside the vendor installation path.
- Review EDR telemetry for unsigned DLLs loaded by Siemens engineering tools.
How to Mitigate CVE-2024-47194
Immediate Actions Required
- Upgrade ModelSim and Questa to V2024.3 or later as directed by the Siemens Product Security Advisory.
- Audit systems where ModelSim or Questa is installed and identify accounts that routinely launch vish2.exe.
- Restrict permissions on directories commonly used to launch the application so standard users cannot drop DLLs there.
Patch Information
Siemens addressed the issue in ModelSim V2024.3 and Questa V2024.3. Refer to Siemens advisory SSA-426509 for complete remediation guidance and fixed version details.
Workarounds
- Launch vish2.exe only from trusted, non-user-writable directories such as the vendor installation path.
- Avoid executing the binary from shared drives, downloads folders, or project directories writable by multiple users.
- Apply the principle of least privilege so that administrators do not run vish2.exe with elevated rights from arbitrary working directories.
- Consider enforcing Windows SafeDllSearchMode and application allowlisting to block unsigned DLL loads.
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

