Horizon Alert
Summary of the vulnerability and why it matters
This advisory details a security vulnerability within the Linux kernel's SMB server component. The issue could allow unauthorized actions by bypassing file system permission checks, potentially affecting data integrity and availability at a high level. It is important to confirm if this technology is in use within our environment.
- Bypasses file permissions on Linux SMB.
- Affects data integrity and availability.
- Confirm relevance and exposure.
Attack Path
How an attacker could exploit the issue
An attacker could leverage a vulnerability in the Linux kernel's SMB server (ksmbd) to bypass file permission checks. This occurs when a file handle is closed, and certain cleanup operations incorrectly use the server's credentials instead of the original user's. This allows an attacker to potentially delete files or attributes they would otherwise not have access to.
- Requires network access to the SMB service.
- Triggered by closing a file handle.
- Risk: Unauthorized file deletion.
Live Threat
Current exploitation, exposure, and threat context
This vulnerability in the Linux kernel's ksmbd could allow an attacker to bypass filesystem permission checks when deleting files or Alternate Data Streams (ADS) via a delete-on-close operation. This could occur when the system is handling deferred or durable handle teardown, and the request lacks available work. The bypass happens because the deletion operations would incorrectly use the ksmbd worker credentials instead of the authenticated user's credentials.
- Bypass filesystem permission checks.
- Delete files or ADS with worker credentials.
- Unauthorized deletion of sensitive files.
Operational Fix
Recommended remediation, mitigation, and detection steps
The Linux kernel's ksmbd component is impacted by this vulnerability, suggesting that teams managing Linux servers and file-sharing services are primarily responsible. The first action should be to identify all Linux systems running ksmbd, determine their exposure and criticality, and then engage the appropriate system owners to plan remediation.
- Linux infrastructure teams should own the issue.
- Verify SMB service exposure and criticality.
- Plan remediation based on risk and exposure.