Improper Handling of Case Sensitivity in scapy - #VU159465

 

Improper Handling of Case Sensitivity in scapy - #VU159465

Published: November 5, 2026


Vulnerability identifier: #VU159465
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N]
CVE-ID: N/A
CWE-ID: CWE-178
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a guest SMB client to access the local repository served by Scapy's SMB server regardless of the configured shares, exposing repository contents that were not intended to be shared.

The vulnerability exists due to inconsistent handling of share-name case between case-insensitive share lookup and subsequent checks for the special IPC$ share. The server retains the request's spelling in its current tree state rather than the configured share name, causing a lowercase request to bypass the checks that restrict IPC$ to named pipes. A remote attacker can connect as a guest SMB client and request ipc$ in lowercase instead of IPC$ to make the server serve the local repository.

IPC$ is intended to remain pipe-only rather than provide access to a filesystem directory. Although the lowercase name successfully resolves during share lookup, its retained spelling causes later IPC$ checks to treat the connection differently and serve the default local folder, independently of the share configuration.


Affected software

scapy

Remediation

Install security update from vendor's website.

scapy - update to 2.8.0

External References

Related Security Bulletins