Entreprise d'experts en Sécurité Informatique : Audits et conseils en cybersécurité
Entreprise française de cybersécurité depuis 2004
☎ 03 60 47 09 81 - info@securiteinfo.com


CVE-2015-0240

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.

POC

Reference

- http://www.oracle.com/technetwork/topics/security/bulletinjan2015-2370101.html

- http://www.ubuntu.com/usn/USN-2508-1

- https://securityblog.redhat.com/2015/02/23/samba-vulnerability-cve-2015-0240/

- https://www.exploit-db.com/exploits/36741/

Github

- https://github.com/ARPSyndicate/cvemon

- https://github.com/AhenKay/INPT_report

- https://github.com/Farrhouq/Inpt-report

- https://github.com/lnick2023/nicenice

- https://github.com/oneplus-x/jok3r

- https://github.com/qazbnm456/awesome-cve-poc

- https://github.com/trganda/dockerv

- https://github.com/xbl3/awesome-cve-poc_qazbnm456