9.0 CRITICAL
- CVSS version (CVSS): 3.1
- Attack Vector (AV): Network (N)
- Attack Complexity (AC): High (H)
- Privileges Required (PR): None (N)
- User Interaction (UI): None (N)
- Scope (S): Changed (C)
- Confidentiality (C): High (H)
- Integrity (I): High (H)
- Availability (A): High (H)
- Modified Attack Vector (MAV): Network (N)
- Modified Attack Complexity (MAC): High (H)
- Modified Privileges Required (MPR): None (N)
- Modified User Interaction (MUI): None (N)
- Modified Confidentiality (MC): High (H)
- Modified Scope (MS): Changed (C)
- Modified Integrity (MI): High (H)
- Modified Availability (MA): High (H)
by @LeSuisse Activity log
- Created suggestion
- @LeSuisse ignored package sambamba
- @LeSuisse accepted
- @LeSuisse published on GitHub
Samba: remote code execution in samr
A flaw was found in Samba. A remote attacker can exploit a misconfiguration in Samba file servers and classic domain controllers that use the "check password script" feature. If this script is configured with the %u substitution character, the client-controlled username is passed without proper escaping of shell meta-characters. This vulnerability allows an attacker to achieve remote command execution on the affected system. This issue primarily affects non-standard configurations where the "check password script" is used with %u and the samba-dcerpcd service is started as a system service.
References
Affected products
Matching in nixpkgs
pkgs.samba
Standard Windows interoperability suite of programs for Linux and Unix
pkgs.samba4
Standard Windows interoperability suite of programs for Linux and Unix
pkgs.sambaFull
Standard Windows interoperability suite of programs for Linux and Unix
pkgs.samba4Full
Standard Windows interoperability suite of programs for Linux and Unix
Package maintainers
-
@aneeshusa Aneesh Agrawal <aneeshusa@gmail.com>