Samba has issued software updates[1]
to address multiple security vulnerabilities that, if successfully
exploited, could allow remote attackers to execute arbitrary code
with the highest privileges on affected installations.

Chief among them is CVE-2021-44142[2], which impacts[3]
all versions of Samba before 4.13.17 and concerns an out-of-bounds[4]
heap read/write vulnerability in the VFS module “vfs_fruit[5]” that provides
compatibility with Apple SMB clients.

Automatic GitHub Backups

Samba[6]
is a popular freeware implementation of the Server Message Block
(SMB) protocol that allows users to access files, printers, and
other commonly shared resources over a network.

“All versions of Samba prior to 4.13.17 are vulnerable to an
out-of-bounds heap read write vulnerability that allows remote
attackers to execute arbitrary code as root on affected Samba
installations that use the VFS module vfs_fruit,” the maintainers
said in an advisory published on January 31.

According to the CERT Coordination Center (CERT/CC[7]), the flaw also affects
widely used Linux distributions such as Red Hat[8], SUSE Linux, and
Ubuntu.

The vulnerability, rated 9.9 on the CVSS scale, has been
credited to security researcher Orange Tsai from DEVCORE, who last
year disclosed[9]
the widely-exploited flaws in Microsoft Exchange Server.
Additionally, the fix has been issued in Samba versions 4.14.12 and
4.15.5.

Prevent Data Breaches

Also addressed by Samba are two additional flaws —

  • CVE-2021-44141[10] (CVSS score: 4.2) –
    Information leak via symlinks of existence of files or directories
    outside of the exported share (Fixed in Samba version 4.15.5)
  • CVE-2022-0336[11] (CVSS score: 3.1) –
    Samba AD users with permission to write to an account can
    impersonate arbitrary services (Fixed in Samba versions 4.13.17,
    4.14.12, and 4.15.4)

Samba administrators are recommended to upgrade to these
releases or apply the patch as soon as possible to mitigate the
defect and thwart any potential attacks exploiting the
vulnerability.

References

  1. ^
    software
    updates
    (www.samba.org)
  2. ^
    CVE-2021-44142
    (www.samba.org)
  3. ^
    impacts
    (bugzilla.samba.org)
  4. ^
    out-of-bounds
    (cwe.mitre.org)
  5. ^
    vfs_fruit
    (www.samba.org)
  6. ^
    Samba
    (en.wikipedia.org)
  7. ^
    CERT/CC
    (kb.cert.org)
  8. ^
    Red
    Hat
    (access.redhat.com)
  9. ^
    disclosed
    (thehackernews.com)
  10. ^
    CVE-2021-44141
    (www.samba.org)
  11. ^
    CVE-2022-0336
    (www.samba.org)

Read more