ID:8388 - Exploit for Out-of-bounds write in Samba - CVE-2021-44142

 
Main Vulnerability Database Exploits ID:8388 - Exploit for Out-of-bounds write in Samba - CVE-2021-44142

ID:8388 - Exploit for Out-of-bounds write in Samba - CVE-2021-44142

Published: September 22, 2022


Vulnerability identifier: #VU60186
Vulnerability risk: High
CVE-ID: CVE-2021-44142
CWE-ID: CWE-787
Exploitation vector: Remote access
Vulnerable software:
Samba

Link to public exploit:


Vulnerability description

The vulnerability allows a remote attacker to compromise vulnerable system.

The vulnerability exists due to a boundary error when processing EA metadata while opening files in smbd within the VFS Samba module (vfs_fruit). A remote attacker with ability to write to file's extended attributes can trigger an out-of-bounds write and execute arbitrary code with root privileges.

Note, the vulnerability in vfs_fruit exists in the default configuration of the fruit VFS module using fruit:metadata=netatalk or fruit:resource=file.


Remediation

Install updates from vendor's website.