#VU32598 Heap-based buffer overflow in Samba - CVE-2013-4408


| Updated: 2020-07-28

Vulnerability identifier: #VU32598

Vulnerability risk: High

CVSSv4.0: 6.3 [CVSS:4.0/AV:A/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber]

CVE-ID: CVE-2013-4408

CWE-ID: CWE-122

Exploitation vector: Local network

Exploit availability: No

Vulnerable software:
Samba
Server applications / Directory software, identity management

Vendor: Samba

Description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error in Heap-based buffer overflow in the dcerpc_read_ncacn_packet_done function in librpc/rpc/dcerpc_util.c in winbindd in Samba 3.x before 3.6.22, 4.0.x before 4.0.13, and 4.1.x before 4.1.3. A remote attacker can use an invalid fragment length in a DCE-RPC packet. to trigger heap-based buffer overflow and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.

Mitigation
Update to version 3.6.22.

Vulnerable software versions

Samba: 3.0 - 3.0.37, 3.1 - 3.1.0, 3.2 - 3.2.15, 3.3 - 3.3.16, 3.4 - 3.4.17, 3.5 - 3.5.22, 3.6.0 - 3.6.21


External links
https://lists.fedoraproject.org/pipermail/package-announce/2014-August/136864.html
https://lists.fedoraproject.org/pipermail/package-announce/2014-June/134717.html
https://lists.opensuse.org/opensuse-security-announce/2014-01/msg00002.html
https://lists.opensuse.org/opensuse-security-announce/2016-04/msg00047.html
https://lists.opensuse.org/opensuse-security-announce/2016-04/msg00048.html
https://lists.opensuse.org/opensuse-updates/2013-12/msg00088.html
https://lists.opensuse.org/opensuse-updates/2014-03/msg00063.html
https://marc.info/?l=bugtraq&m=141660010015249&w=2
https://rhn.redhat.com/errata/RHSA-2013-1805.html
https://rhn.redhat.com/errata/RHSA-2013-1806.html
https://rhn.redhat.com/errata/RHSA-2014-0009.html
https://security.gentoo.org/glsa/glsa-201502-15.xml
https://www.debian.org/security/2013/dsa-2812
https://www.mandriva.com/security/advisories?name=MDVSA-2013:299
https://www.samba.org/samba/ftp/patches/security/samba-4.1.2-CVE-2013-4408-CVE-2012-6150.patch
https://www.samba.org/samba/security/CVE-2013-4408
https://www.securityfocus.com/bid/64191
https://www.ubuntu.com/usn/USN-2054-1


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the local network (LAN).

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability