CVE-2015-0240
samba: talloc free on uninitialized stack pointer in netlogon server could lead to remote-code execution
Overview
Description
The Netlogon server implementation in smbd in Samba 3.5.x and 3.6.x before 3.6.25, 4.0.x before 4.0.25, 4.1.x before 4.1.17, and 4.2.x before 4.2.0rc5 performs a free operation on an uninitialized stack pointer, which allows remote attackers to execute arbitrary code via crafted Netlogon packets that use the ServerPasswordSet RPC API, as demonstrated by packets reaching the _netr_ServerPasswordSet function in rpc_server/netlogon/srv_netlog_nt.c.
Source: OX vulnerability database
Severity
10 · HIGH
CVSS 2.0 base score, scored by NVD.
- Access vector
- Network
- Access complexity
- Low
- Authentication
- None
- Confidentiality
- Complete
- Integrity
- Complete
- Availability
- Complete
AV:N/AC:L/Au:N/C:C/I:C/A:C
Weakness: CWE-17
Affected packages · 0
No registry package. This ID affects operating system packages only.
Operating systems · 10 fixes
Oracle Linux 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 7 | libsmbclient +19 | 4.1.1-38.el7_0 |
Red Hat 2 releases · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| libsmbclient +12 | 0:3.6.509-169.6.el6rhs | RHSA-2015:0256 | |
| 7 | libsmbclient +19 | 0:4.1.1-38.el7_0 | RHSA-2015:0252 |
debian 4 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 11 | samba | 2:4.1.17+dfsg-1 |
| 12 | samba | 2:4.1.17+dfsg-1 |
| 13 | samba | 2:4.1.17+dfsg-1 |
| 14 | samba | 2:4.1.17+dfsg-1 |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| samba | 2:4.1.17+dfsg-1 |
openSUSE 1 release · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | ctdb +74 | 4.5.0-1.1 | openSUSE-SU-2024:10069-1 |
root.io debian 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 12 | rootio-samba | 2:4.1.17+dfsg-1 |
References
- advisories.mageia.org http://advisories.mageia.org/MGASA-2015-0084.html
- lists.opensuse.org http://lists.opensuse.org/opensuse-security-announce/2015-02/msg00028.html
- lists.opensuse.org http://lists.opensuse.org/opensuse-security-announce/2015-02/msg00030.html
- lists.opensuse.org http://lists.opensuse.org/opensuse-security-announce/2015-02/msg00031.html
- lists.opensuse.org http://lists.opensuse.org/opensuse-security-announce/2015-02/msg00035.html
- lists.opensuse.org http://lists.opensuse.org/opensuse-security-announce/2016-04/msg00042.html
- lists.opensuse.org http://lists.opensuse.org/opensuse-security-announce/2016-04/msg00047.html
- lists.opensuse.org http://lists.opensuse.org/opensuse-security-announce/2016-04/msg00048.html
- marc.info http://marc.info/?l=bugtraq&m=142722696102151&w=2
- marc.info http://marc.info/?l=bugtraq&m=143039217203031&w=2
Show all 42 references
- rhn.redhat.com http://rhn.redhat.com/errata/RHSA-2015-0249.html
- rhn.redhat.com http://rhn.redhat.com/errata/RHSA-2015-0250.html
- rhn.redhat.com http://rhn.redhat.com/errata/RHSA-2015-0251.html
- rhn.redhat.com http://rhn.redhat.com/errata/RHSA-2015-0252.html
- rhn.redhat.com http://rhn.redhat.com/errata/RHSA-2015-0253.html
- rhn.redhat.com http://rhn.redhat.com/errata/RHSA-2015-0254.html
- rhn.redhat.com http://rhn.redhat.com/errata/RHSA-2015-0255.html
- rhn.redhat.com http://rhn.redhat.com/errata/RHSA-2015-0256.html
- rhn.redhat.com http://rhn.redhat.com/errata/RHSA-2015-0257.html
- security.gentoo.org http://security.gentoo.org/glsa/glsa-201502-15.xml
- www.debian.org http://www.debian.org/security/2015/dsa-3171
- www.mandriva.com http://www.mandriva.com/security/advisories?name=MDVSA-2015:081
- www.mandriva.com http://www.mandriva.com/security/advisories?name=MDVSA-2015:082
- www.oracle.com http://www.oracle.com/technetwork/topics/security/bulletinjan2015-2370101.html
- www.securityfocus.com http://www.securityfocus.com/bid/72711
- www.securitytracker.com http://www.securitytracker.com/id/1031783
- www.slackware.com http://www.slackware.com/security/viewer.php?l=slackware-security&y=2015&m=slackware-security.360345
- www.ubuntu.com http://www.ubuntu.com/usn/USN-2508-1
- access.redhat.com https://access.redhat.com/articles/1346913
- access.redhat.com https://access.redhat.com/security/cve/CVE-2015-0240
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1191325
- linux.oracle.com https://linux.oracle.com/cve/CVE-2015-0240.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2015-0252.html
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2015-0240
- security.netapp.com https://security.netapp.com/advisory/ntap-20250509-0001/
- securityblog.redhat.com https://securityblog.redhat.com/2015/02/23/samba-vulnerability-cve-2015-0240/
- support.lenovo.com https://support.lenovo.com/product_security/samba_remote_vuln
- support.lenovo.com https://support.lenovo.com/us/en/product_security/samba_remote_vuln
- ubuntu.com https://ubuntu.com/security/notices/USN-2508-1
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2015-0240
- www.exploit-db.com https://www.exploit-db.com/exploits/36741/
- www.samba.org https://www.samba.org/samba/security/CVE-2015-0240
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.