PT-2023-7203 · Perl · Perl

Ycdxsb

·

Published

2023-11-25

·

Updated

2024-11-06

·

CVE-2023-47039

CVSS v3.1

7.8

High

VectorAV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Perl (affected versions not specified)
Description A security issue occurs in Perl for Windows due to its reliance 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.
Recommendations At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Memory Corruption

Uncontrolled Search Path Element

Heap Based Buffer Overflow

Weakness Enumeration

Related Identifiers

BDU:2023-08230
CVE-2023-47039
OPENSUSE-SU-2024:13479-1

Affected Products

Perl