{"id":"CVE-2015-0240","published":"2015-02-24T01:00:00Z","modified":"2025-05-09T20:03:27Z","title":"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…","vendor":null,"product":null,"tier":"core","eol":null,"description":{"text":"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.","provenance":"source","from":"CVE.org"},"summary":{"text":"The Netlogon server implementation in smbd within Samba (versions 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) frees an uninitialized stack pointer, specifically in the _netr_ServerPasswordSet function in rpc_server/netlogon/srv_netlog_nt.c. A remote attacker can execute arbitrary code by sending crafted Netlogon packets that use the ServerPasswordSet RPC API, with no authentication or user interaction indicated.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-10-29T07:15:41Z"},"cvss":null,"epss":{"score":0.88185,"percentile":0.99767,"date":"2026-10-31","provenance":"source"},"kev":null,"vulncheckKev":null,"exploited":false,"otx":{"pulseCount":2,"pulses":[{"name":"SCANID: S-KhOoOrXsco8: Thor Lite Linux 64 - Sample Lab Device 2 - incomplete (not enriched)","url":"https://otx.alienvault.com/pulse/67c6bb5aa601e91b1314ff44","created":"2025-03-04"},{"name":"Thor Lite Scan - 10.7.15 - Ubuntu Scan on Archived Files","url":"https://otx.alienvault.com/pulse/664cc3c1938ed0b9abf026a2","created":"2024-05-21"}],"provenance":"machine"},"cwes":[],"references":[{"url":"http://marc.info/?l=bugtraq&m=143039217203031&w=2","tags":["vendor-advisory","x_refsource_HP"]},{"url":"http://rhn.redhat.com/errata/RHSA-2015-0257.html","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://rhn.redhat.com/errata/RHSA-2015-0254.html","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://securityblog.redhat.com/2015/02/23/samba-vulnerability-cve-2015-0240/","tags":["x_refsource_CONFIRM"]},{"url":"http://advisories.mageia.org/MGASA-2015-0084.html","tags":["x_refsource_CONFIRM"]},{"url":"http://www.slackware.com/security/viewer.php?l=slackware-security&y=2015&m=slackware-security.360345","tags":["vendor-advisory","x_refsource_SLACKWARE"]},{"url":"https://www.exploit-db.com/exploits/36741/","tags":["exploit","x_refsource_EXPLOIT-DB"]},{"url":"http://rhn.redhat.com/errata/RHSA-2015-0250.html","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://support.lenovo.com/product_security/samba_remote_vuln","tags":["x_refsource_CONFIRM"]},{"url":"http://www.ubuntu.com/usn/USN-2508-1","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2016-04/msg00042.html","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2015-02/msg00035.html","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://rhn.redhat.com/errata/RHSA-2015-0253.html","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://www.samba.org/samba/security/CVE-2015-0240","tags":["x_refsource_CONFIRM"]},{"url":"http://www.securityfocus.com/bid/72711","tags":["vdb-entry","x_refsource_BID"]},{"url":"http://rhn.redhat.com/errata/RHSA-2015-0249.html","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://rhn.redhat.com/errata/RHSA-2015-0251.html","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://security.gentoo.org/glsa/glsa-201502-15.xml","tags":["vendor-advisory","x_refsource_GENTOO"]},{"url":"http://www.debian.org/security/2015/dsa-3171","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"http://www.securitytracker.com/id/1031783","tags":["vdb-entry","x_refsource_SECTRACK"]},{"url":"http://rhn.redhat.com/errata/RHSA-2015-0252.html","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1191325","tags":["x_refsource_CONFIRM"]},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2015:082","tags":["vendor-advisory","x_refsource_MANDRIVA"]},{"url":"http://marc.info/?l=bugtraq&m=142722696102151&w=2","tags":["vendor-advisory","x_refsource_HP"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2016-04/msg00047.html","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"https://support.lenovo.com/us/en/product_security/samba_remote_vuln","tags":["x_refsource_CONFIRM"]},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2015:081","tags":["vendor-advisory","x_refsource_MANDRIVA"]},{"url":"http://rhn.redhat.com/errata/RHSA-2015-0255.html","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/articles/1346913","tags":["x_refsource_CONFIRM"]},{"url":"http://www.oracle.com/technetwork/topics/security/bulletinjan2015-2370101.html","tags":["x_refsource_CONFIRM"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2016-04/msg00048.html","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2015-02/msg00031.html","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://rhn.redhat.com/errata/RHSA-2015-0256.html","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2015-02/msg00030.html","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2015-02/msg00028.html","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"https://security.netapp.com/advisory/ntap-20250509-0001/","tags":[]}],"techniques":[],"reports":[],"affected":[],"advisories":[],"euvd":{"id":"EUVD-2015-0262","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2015-0262","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[{"id":36741,"url":"https://www.exploit-db.com/exploits/36741","title":"Samba < 3.6.2 (x86) - Denial of Service (PoC)","type":"dos","platform":"linux_x86","date":"2015-04-13","verified":false,"provenance":"source"}],"exploitSources":{"exploitdb":{"count":1,"earliest":"2015-04-13"},"metasploit":[{"name":"Samba _netr_ServerPasswordSet Uninitialized Credential State","module":"auxiliary/scanner/smb/smb_uninit_cred","type":"auxiliary","disclosureDate":null,"url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/auxiliary/scanner/smb/smb_uninit_cred.rb"}],"first":{"date":"2015-04-13","source":"Exploit-DB","url":"https://www.exploit-db.com/exploits/36741"},"provenance":"source"},"exploitRefs":["https://www.exploit-db.com/exploits/36741/"],"flow":[],"timeline":[{"date":"2015-02-24","kind":"published","label":"Published (CVE.org)","url":"https://www.cve.org/CVERecord?id=CVE-2015-0240","provenance":"source"},{"date":"2015-04-13","kind":"exploit-public","label":"First public exploit: Exploit-DB (EDB-36741)","url":"https://www.exploit-db.com/exploits/36741","provenance":"source"}],"speed":{"daysToPublicExploit":48,"firstExploitFrom":"Exploit-DB","daysToKev":null},"priority":{"score":26.0,"factors":[{"name":"In a KEV catalog","points":0.0,"detail":"not listed"},{"name":"Recent KEV listing","points":0.0,"detail":"not listed"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":19.95,"detail":"percentile 0.9977"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":5.0,"detail":"1 NVD reference tagged Exploit; 1 Exploit-DB entry; 1 Metasploit module"},{"name":"Mentioned in OTX pulses","points":1.08,"detail":"2 pulses"},{"name":"CVSS severity","points":0.0,"detail":"no CVSS"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]}}