BREACHSPIDER
CVE databaseVendorsIntelResearchFeaturesDevelopersDocsPricingSign inStart free trial

CVE-2023-47039 in Perl and 1 more product

High 7.8 Industrial / OT

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.

CVSS 3.17.8
EPSS0.4%
EPSS percentile40th

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

VendorProductAffected versions
Perl Perl < 5.32.1
Siemens — —
Siemens Sinec Ins < 1.0 SP2 Update 3

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

View Vendor Advisory →

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Record details

CVE IDCVE-2023-47039
BreachSpider IDBS-2024-GLOBAL-053259-H
CVSS vectorCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Published2024-01-02
Last modified2026-11-26
Weakness (CWE)
SourceNVD

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.