Skip to content
OpenAdvisories
Unscored Public exploit CVE-2007-2446 EUVD-2007-2441GHSA-h3hj-j528-h53w

Multiple heap-based buffer overflows in the NDR parsing in smbd in Samba 3.0.0 through 3.0.25rc3 allow remote attackers to execute arbitrar…

Published May 14, 2007 · Updated Aug 7, 2024 · Assigned by redhat

Description

Multiple heap-based buffer overflows in the NDR parsing in smbd in Samba 3.0.0 through 3.0.25rc3 allow remote attackers to execute arbitrary code via crafted MS-RPC requests involving (1) DFSEnum (netdfs_io_dfs_EnumInfo_d), (2) RFNPCNEX (smb_io_notify_option_type_data), (3) LsarAddPrivilegesToAccount (lsa_io_privilege_set), (4) NetSetFileSecurity (sec_io_acl), or (5) LsarLookupSids/LsarLookupSids2 (lsa_io_trans_names).

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 samba 3.0.25-1 —
Debian 13 samba 3.0.25-1 —
Debian 12 samba 3.0.25-1 —
Debian 5.0 samba 3.0.24-6+lenny3 DTSA-41-1
Debian 4.0 samba 3.0.24-6etch2 DSA-1291-2
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Debian 3.1 samba 3.0.14a-3sarge6 DSA-1291-2
ReleasePackageFixed inAdvisory
RHEL 5 samba +3 3.0.23c-2.el5.2.0.2 RHSA-2007:0354
RHEL 4 samba +3 3.0.10-1.4E.12.2 RHSA-2007:0354
RHEL 3 samba +3 3.0.9-1.3E.13.2 RHSA-2007:0354
RHEL 2 samba +3 2.2.12-1.21as.6 RHSA-2007:0354
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed cifs-utils 6.13-1.3 openSUSE-SU-2024:10683-1
openSUSE Tumbleweed samba 4.14.6+git.182.2205d5224e3-1.1 openSUSE-SU-2024:11365-1

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Metasploit 5 modules

Exploit-DB 4

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 5

References