CVE-2026-17545
HIGH(7.5)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- CVSS 7.5 — Hoch
Erwähnungen (letzte 60 Tage)
EPSS-Score
0.4%
Exploit-Wahrscheinlichkeit (30 Tage)
CVSS Score
7.5
Technische Schwere
Beschreibung
On Windows, PHP's filesystem and stream APIs do not reject reserved device names such as CON, PRN, AUX, NUL, COM1 to COM9, LPT1 to LPT9, CONIN$ and CONOUT$ when they appear as a component of a path. An attacker-controlled filename therefore reaches CreateFileW() and opens a device instead of the regular file the application expected, which can block or hang the request and exhaust worker processes.
Erkennung & Indikatoren
Ausnutzung
In den geprüften Quellen nicht genannt
Behobene Versionen
- 8.2.34
- 8.3.35
- 8.4.26
- 8.5.11
Threat-Hunting-Queries
This vulnerability allows an attacker to cause a Denial of Service by using reserved device names in file paths on Windows. Detection should focus on identifying attempts to create or access files with these reserved names within PHP applications.
Sentinel/Defender KQL
DeviceFileEvents
| where InitiatingProcessCommandLine contains "php" and (FileName in ("CON", "PRN", "AUX", "NUL") or FileName matches regex "COM[1-9]" or FileName matches regex "LPT[1-9]" or FileName in ("CONIN$", "CONOUT$"))Splunk SPL
index=* sourcetype=WinEventLog:*
| search CommandLine=*php* (FileName=CON OR FileName=PRN OR FileName=AUX OR FileName=NUL OR FileName=COM[1-9] OR FileName=LPT[1-9] OR FileName=CONIN$ OR FileName=CONOUT$)Sigma
title: PHP Windows Reserved Device Name DoS
status: experimental
description: Detects attempts to use reserved Windows device names in PHP file operations, which can lead to a Denial of Service.
logsource:
category: process_creation
product: windows
detection:
selection:
Image|endswith: '\php.exe'
CommandLine|contains:
- 'CON'
- 'PRN'
- 'AUX'
- 'NUL'
- 'COM1'
- 'COM2'
- 'COM3'
- 'COM4'
- 'COM5'
- 'COM6'
- 'COM7'
- 'COM8'
- 'COM9'
- 'LPT1'
- 'LPT2'
- 'LPT3'
- 'LPT4'
- 'LPT5'
- 'LPT6'
- 'LPT7'
- 'LPT8'
- 'LPT9'
- 'CONIN$'
- 'CONOUT$'
condition: selection
fields:
- CommandLine
- Image
tags:
- attack.dos
- cve.2026.17545Elastic ES|QL
FROM process
| WHERE process.executable.name : "php.exe" AND (
process.args : "*CON*" OR
process.args : "*PRN*" OR
process.args : "*AUX*" OR
process.args : "*NUL*" OR
process.args : "*COM[1-9]*" OR
process.args : "*LPT[1-9]*" OR
process.args : "*CONIN$*" OR
process.args : "*CONOUT$*"
)SecBoard-generated · behavioral · requires customization — Von SecBoard erzeugt und nicht in einer Zielumgebung validiert. Vor dem Einsatz an die eigene Protokollierung anpassen.
Betroffene Produkte
- cpe:2.3:a:php:php:*:*:*:*:*:*:*:*
- cpe:2.3:a:php:php:*:*:*:*:*:*:*:*
- cpe:2.3:a:php:php:*:*:*:*:*:*:*:*
- cpe:2.3:a:php:php:*:*:*:*:*:*:*:*