CVE-2023-47039 in Perl and 1 more product
A vulnerability was found in Perl. This security issue occurs while Perl for Windows relies on the system path environment variable to find the shell (`cmd.exe`). When running an executable that uses the Windows Perl interpreter, Perl attempts to find and execute `cmd.exe` within the operating system. However, due to path search order issues, Perl initially looks for cmd.exe in the current working directory. This flaw allows an attacker with limited privileges to place`cmd.exe` in locations with weak permissions, such as `C:\ProgramData`. By doing so, arbitrary code can be executed when an administrator attempts to use this executable from these compromised locations.
Affects 2 products from 3 vendors. Description from NVD and MITRE.
Requires local access, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
Platforms listed by the source (the vulnerable product runs on these; they are not themselves vulnerable): Microsoft Windows
Fix and vendor advisory
- SINEC INS: Update to V1.0 SP2 Update 3 or later version
Source: ICSA-24-319-08
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Record details
| CVE ID | CVE-2023-47039 |
|---|---|
| BreachSpider ID | BS-2024-GLOBAL-053259-H |
| CVSS vector | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| Published | 2024-01-02 |
| Last modified | 2026-11-26 |
| Weakness (CWE) | |
| Source | NVD |
Compensating controls AI-drafted, review before use
Ensure that the system path environment variable does not include directories with weak permissions, such as `C:\ProgramData`. Regularly audit and restrict write access to critical directories.
NERC CIP: CIP-007 CIP-007-R2
IEC 62443: SR 7.6
Not validated for your network. A compensating control does not replace the vendor fix.
Check devices from your own code or AI agent: free 14-day trial
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-11-26.