CVE-2007-2446 Memory corruption in n/a
Remote attackers can execute arbitrary code on Samba servers via crafted MS-RPC requests exploiting heap-based buffer overflows in NDR parsing.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2007-2446?
CVE-2007-2446 is a critical memory corruption vulnerability in Samba Samba, published on 14 May 2007. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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).
Weakness: CWE-119
Which versions are affected by CVE-2007-2446?
It affects 1 product.
Products include Samba Samba.
How do I fix CVE-2007-2446?
Upgrade to a fixed version.
Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.
Is CVE-2007-2446 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2007-2446 exists.
Public exploit code: 5 Metasploit modules and 4 Exploit-DB entries.
Other vulnerabilities in Samba Samba
Sources
Also known as DEBIAN-CVE-2007-2446, GHSA-h3hj-j528-h53w.