Samba < 4.13.17 - Out-of-bounds Read and Write via Extended File Attributes
Title source: llmExploitation Summary
CVE-2021-44142 has been observed exploited in the wild (reported by VulnCheck KEV). EIP tracks 5 public exploits from researchers including horizon3ai, Nxvh1337, WinDyAlphA.
AI-analyzed exploit summary This repository contains a Python-based proof-of-concept exploit for CVE-2021-44142, a heap out-of-bounds read/write vulnerability in Samba's vfs_fruit module. The exploit demonstrates vulnerability by dumping heap memory contents (cookie and pointer) via a crafted AppleDouble structure, leveraging a single SMB connection to bypass process isolation.
Description
The Samba vfs_fruit module uses extended file attributes (EA, xattr) to provide "...enhanced compatibility with Apple SMB clients and interoperability with a Netatalk 3 AFP fileserver." Samba versions prior to 4.13.17, 4.14.12 and 4.15.5 with vfs_fruit configured allow out-of-bounds heap read and write via specially crafted extended file attributes. A remote attacker with write access to extended file attributes can execute arbitrary code with the privileges of smbd, typically root.
Exploits (5)
This repository contains a Python-based proof-of-concept exploit for CVE-2021-44142, a heap out-of-bounds read/write vulnerability in Samba's vfs_fruit module. The exploit demonstrates vulnerability by dumping heap memory contents (cookie and pointer) via a crafted AppleDouble structure, leveraging a single SMB connection to bypass process isolation.
This repository provides a Dockerized vulnerable environment for CVE-2021-44142, a Samba vfs_fruit module vulnerability. It includes a patched version of Samba 4.13.13 with intentional memory corruption to simulate the exploit scenario.
This repository provides a vulnerable lab environment for CVE-2021-44142, a Samba vulnerability. It includes a script to set up a Samba share with specific configurations to replicate the vulnerable state.
The repository contains only a README and a Docker cleanup script, with no actual exploit code or technical details for CVE-2021-44142. It appears to be a placeholder or incomplete PoC.
This repository contains a functional PoC for CVE-2021-44142, a heap out-of-bounds read/write vulnerability in Samba's vfs_fruit module. The tool checks for vulnerability by dumping heap metadata and includes custom SMB protocol extensions to mimic OSX connections.
References (6)
Scores
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H