Bug 2267262 (CVE-2024-1874) - CVE-2024-1874 php: Fail to Escape Arguments Properly in Microsoft Windows
Summary: CVE-2024-1874 php: Fail to Escape Arguments Properly in Microsoft Windows
Keywords:
Status: CLOSED NOTABUG
Alias: CVE-2024-1874
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 2265582
TreeView+ depends on / blocked
 
Reported: 2024-03-01 14:14 UTC by Zack Miele
Modified: 2024-04-15 15:05 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
A command injection flaw was found in PHP, exclusive to Windows environments. This flaw allows an attacker to perform command injection on Windows applications that indirectly depend on the CreateProcess function in specific conditions. The CreateProcess function implicitly uses cmd.exe when executing batch files, which has complicated parsing rules for arguments that have not fully escaped. It is possible to inject commands if an attacker can control part of the command arguments of the batch file.
Clone Of:
Environment:
Last Closed: 2024-04-15 14:24:22 UTC
Embargoed:


Attachments (Terms of Use)

Description Zack Miele 2024-03-01 14:14:20 UTC
There are special meta characters that can be dangerous when they are expanded on the Microsoft Windows shell via the CmdCmdLine variable.


Note You need to log in before you can comment on or make changes to this bug.