Virtual Event Today: Supply Chain Security Summit - Register Now

Security Experts:

Connect with us

Hi, what are you looking for?



Samba Patches Critical Flaws That Earned Researchers Big Rewards

The latest updates for Samba, the widely used interoperability suite that provides file and print sharing capabilities between Windows and Unix computers, patch critical vulnerabilities that earned researchers tens of thousands of dollars at a recent hacking contest.

The latest updates for Samba, the widely used interoperability suite that provides file and print sharing capabilities between Windows and Unix computers, patch critical vulnerabilities that earned researchers tens of thousands of dollars at a recent hacking contest.

Samba developers informed users this week that Samba 4.13.17, 4.14.12 and 4.15.5 patch CVE-2021-44142, an out-of-bounds heap read/write vulnerability that can be exploited for remote code execution with root privileges. Exploitation does not require authentication.

The flaw is related to the virtual file system (VFS) module vfs_fruit and removing the problematic module from the list of configured VFS has been described as a workaround. However, installing the patches is recommended, as the workaround could impact the functionality of macOS systems attempting to access the Samba server.

“The specific flaw exists within the parsing of EA metadata when opening files in smbd,” Samba developers explained in their advisory. “Access as a user that has write access to a file’s extended attributes is required to exploit this vulnerability. Note that this could be a guest or unauthenticated user if such users are allowed write access to file extended attributes.”

Samba has credited several researchers for reporting the vulnerabilities, including Orange Tsai from DEVCORE, Nguyen Hoang Thach and Billy Jheng Bing-Jhong of STAR Labs, and Lucas Leong of Trend Micro’s Zero Day Initiative (ZDI).

According to ZDI, the STAR Labs researchers earned $45,000 last year at the Pwn2Own Austin hacking contest for an exploit that leveraged the Samba vulnerability. At Pwn2Own, the exploit targeted WD’s My Cloud Home network-attached storage (NAS) device, and the white hat hackers earned the top reward for this category.

It’s worth noting that Samba vulnerabilities were exploited in the past to target NAS devices. The SambaCry flaw disclosed in 2017 was leveraged by various threat groups, including to deliver ransomware and cryptocurrency miners.

After the STAR Labs researchers disclosed their findings as part of Pwn2Own, ZDI’s Leong identified additional variants of the vulnerability, which were all patched by Samba with the latest updates.

ZDI has published advisories for each variant, and it has released a blog post with technical details.

The U.S. Cybersecurity and Infrastructure Security Agency (CISA) and CERT/CC have also informed organizations about the Samba vulnerabilities. Several major Linux distributions have confirmed being affected.

“The first thing enterprises need to do is apply the appropriate patches to known Samba installations, but these types of vulnerabilities are more difficult to fully mitigate than it may seem,” said Greg Fitzgerald, co-founder of Sevco Security. “Even when all known instances are effectively patched, that still leaves forgotten or abandoned instances vulnerable. Every enterprise has IT assets that have fallen through the cracks.”

“It’s gotten to the point where attackers are often more familiar with the networks they’re targeting than the security teams in charge of safeguarding those networks. It only takes one unpatched instance to create an opportunity for malicious actors to hit paydirt, and they’re counting on the fact that IT and security teams can’t create a comprehensive and accurate IT asset inventory,” Fitzgerald added.

Related: Samba Issues Patches for Zerologon Vulnerability

Related: Vendors Investigating Impact of Samba Vulnerability

Written By

Eduard Kovacs (@EduardKovacs) is a contributing editor at SecurityWeek. He worked as a high school IT teacher for two years before starting a career in journalism as Softpedia’s security news reporter. Eduard holds a bachelor’s degree in industrial informatics and a master’s degree in computer techniques applied in electrical engineering.

Click to comment

Daily Briefing Newsletter

Subscribe to the SecurityWeek Email Briefing to stay informed on the latest threats, trends, and technology, along with insightful columns from industry experts.

Join this webinar to learn best practices that organizations can use to improve both their resilience to new threats and their response times to incidents.


Join this live webinar as we explore the potential security threats that can arise when third parties are granted access to a sensitive data or systems.


Expert Insights

Related Content


Less than a week after announcing that it would suspended service indefinitely due to a conflict with an (at the time) unnamed security researcher...

Risk Management

The supply chain threat is directly linked to attack surface management, but the supply chain must be known and understood before it can be...

Application Security

Drupal released updates that resolve four vulnerabilities in Drupal core and three plugins.


Apple has released updates for macOS, iOS and Safari and they all include a WebKit patch for a zero-day vulnerability tracked as CVE-2023-23529.

Cloud Security

VMware vRealize Log Insight vulnerability allows an unauthenticated attacker to take full control of a target system.

Application Security

A CSRF vulnerability in the source control management (SCM) service Kudu could be exploited to achieve remote code execution in multiple Azure services.

IoT Security

Lexmark warns of a remote code execution (RCE) vulnerability impacting over 120 printer models, for which PoC code has been published.


GoAnywhere MFT users warned about a zero-day remote code injection exploit that can be targeted directly from the internet