{"id":"CVE-2017-7494","published":"2017-05-30T18:29:00Z","modified":"2026-06-17T01:24:27Z","title":"Samba Remote Code Execution Vulnerability","vendor":"Samba","product":"Samba","tier":"core","eol":null,"description":{"text":"Samba since version 3.5.0 and before 4.6.4, 4.5.10 and 4.4.14 is vulnerable to remote code execution vulnerability, allowing a malicious client to upload a shared library to a writable share, and then cause the server to load and execute it.","provenance":"source","from":"NVD"},"summary":{"text":"Samba, from version 3.5.0 up to but not including 4.6.4, 4.5.10 and 4.4.14, contains a flaw that lets a malicious client upload a shared library to a writable share and have the server load and execute it. The attack is carried out over the network by a client that needs no authentication and no user interaction, provided the target has a writable share.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-10-29T07:53:46Z"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"NVD"},"epss":{"score":0.99448,"percentile":0.99942,"date":"2026-10-28","provenance":"source"},"kev":{"dateAdded":"2023-03-30","dueDate":"2023-04-20","ransomware":true,"requiredAction":"Apply updates per vendor instructions.","notes":"https://www.samba.org/samba/security/CVE-2017-7494.html; https://nvd.nist.gov/vuln/detail/CVE-2017-7494","provenance":"source"},"vulncheckKev":{"dateAdded":"2017-12-05","exploitedFirstSeen":"2017-12-05","ransomware":true,"evidence":[{"url":"https://www.bleepingcomputer.com/news/security/storagecrypt-ransomware-infecting-nas-devices-using-sambacry/","date":"2017-12-05"},{"url":"https://bartblaze.blogspot.com/2017/12/storagecrypt-ransomware-coinminer-and.html","date":"2017-12-06"},{"url":"https://digital.nhs.uk/cyber-alerts/2017/cc-1858","date":"2017-12-14"},{"url":"https://cybersecurityworks.com/howdymanage/uploads/file/Spotlight%20Report%20-%20Index%20Update%20Q2%20-%20Q3%20-%20Final%20Version_compressed.pdf","date":"2022-05-18"},{"url":"https://www.ivanti.com/resources/v/doc/pr-survey-report/ransomware-quarterly-indexreport_q2-q3","date":"2022-10-21"},{"url":"https://info.securin.io/hubfs/Securin%20Ransomware%20Report%202023.pdf","date":"2023-02-14"},{"url":"https://www.cisa.gov/sites/default/files/feeds/known_exploited_vulnerabilities.json","date":"2023-03-30"},{"url":"https://1665891.fs1.hubspotusercontent-na1.net/hubfs/1665891/Threat%20reports/AquaSecurity_Kinsing_Demystified_Technical_Guide.pdf","date":"2024-05-10"},{"url":"https://eclypsium.com/blog/vulnerabilities-in-netgear-firmware-based-iot-devices-in-the-enterprise/","date":"2025-07-16"}],"evidenceTotal":9,"provenance":"source"},"exploited":true,"otx":{"pulseCount":50,"pulses":[{"name":"Actively_Exploited_Kev | Oct 29, 2026","url":"https://otx.alienvault.com/pulse/6ae20c1db17e7057ae7d9ad1","created":"2026-10-28"},{"name":"Actively_Exploited_Kev | Oct 28, 2026","url":"https://otx.alienvault.com/pulse/6ae0ba7e0e2a97ff7b218819","created":"2026-10-27"},{"name":"Actively_Exploited_Kev | Oct 27, 2026","url":"https://otx.alienvault.com/pulse/6adf68b85c3e852f3c111d18","created":"2026-10-26"},{"name":"Actively_Exploited_Kev | Oct 24, 2026","url":"https://otx.alienvault.com/pulse/6adb740e397c3ad4799aa4cd","created":"2026-10-23"},{"name":"Actively_Exploited_Kev | Oct 23, 2026","url":"https://otx.alienvault.com/pulse/6ada236fcfba2dfa730ea482","created":"2026-10-22"},{"name":"Actively_Exploited_Kev | Oct 22, 2026","url":"https://otx.alienvault.com/pulse/6ad8d33a077cbb5cab524d80","created":"2026-10-21"},{"name":"Actively_Exploited_Kev | Oct 21, 2026","url":"https://otx.alienvault.com/pulse/6ad78130c4d1ac2be83a8b6d","created":"2026-10-20"},{"name":"Actively_Exploited_Kev | Oct 20, 2026","url":"https://otx.alienvault.com/pulse/6ad62f63c24a405a3423cc13","created":"2026-10-19"},{"name":"Actively_Exploited_Kev | Oct 19, 2026","url":"https://otx.alienvault.com/pulse/6ad4dda174e5797d0bd238b7","created":"2026-10-18"},{"name":"Actively_Exploited_Kev | Oct 18, 2026","url":"https://otx.alienvault.com/pulse/6ad38c22e1848f8189d1c121","created":"2026-10-17"}],"provenance":"machine"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"references":[{"url":"http://www.debian.org/security/2017/dsa-3860","tags":["Third Party Advisory"]},{"url":"http://www.securityfocus.com/bid/98636","tags":["Third Party Advisory","VDB Entry"]},{"url":"http://www.securitytracker.com/id/1038552","tags":["Third Party Advisory","VDB Entry"]},{"url":"https://access.redhat.com/errata/RHSA-2017:1270","tags":["Third Party Advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2017:1271","tags":["Third Party Advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2017:1272","tags":["Third Party Advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2017:1273","tags":["Third Party Advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2017:1390","tags":["Third Party Advisory"]},{"url":"https://download.schneider-electric.com/files?p_enDocType=Technical+leaflet&p_File_Name=SEVD-2018-095-01+Security+Notification+Umotion+V1.1.pdf&p_Doc_Ref=SEVD-2018-095-01","tags":["Third Party Advisory"]},{"url":"https://h20566.www2.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbns03755en_us","tags":["Third Party Advisory"]},{"url":"https://h20566.www2.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbux03759en_us","tags":["Third Party Advisory"]},{"url":"https://security.gentoo.org/glsa/201805-07","tags":["Third Party Advisory"]},{"url":"https://security.netapp.com/advisory/ntap-20170524-0001/","tags":["Third Party Advisory"]},{"url":"https://www.exploit-db.com/exploits/42060/","tags":["Third Party Advisory","VDB Entry"]},{"url":"https://www.exploit-db.com/exploits/42084/","tags":["Third Party Advisory","VDB Entry"]},{"url":"https://www.samba.org/samba/security/CVE-2017-7494.html","tags":["Patch","Vendor Advisory"]},{"url":"http://www.debian.org/security/2017/dsa-3860","tags":["Third Party Advisory"]},{"url":"http://www.securityfocus.com/bid/98636","tags":["Third Party Advisory","VDB Entry"]},{"url":"http://www.securitytracker.com/id/1038552","tags":["Third Party Advisory","VDB Entry"]},{"url":"https://access.redhat.com/errata/RHSA-2017:1270","tags":["Third Party Advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2017:1271","tags":["Third Party Advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2017:1272","tags":["Third Party Advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2017:1273","tags":["Third Party Advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2017:1390","tags":["Third Party Advisory"]},{"url":"https://download.schneider-electric.com/files?p_enDocType=Technical+leaflet&p_File_Name=SEVD-2018-095-01+Security+Notification+Umotion+V1.1.pdf&p_Doc_Ref=SEVD-2018-095-01","tags":["Third Party Advisory"]},{"url":"https://h20566.www2.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbns03755en_us","tags":["Third Party Advisory"]},{"url":"https://h20566.www2.hpe.com/hpsc/doc/public/display?docLocale=en_US&docId=emr_na-hpesbux03759en_us","tags":["Third Party Advisory"]},{"url":"https://security.gentoo.org/glsa/201805-07","tags":["Third Party Advisory"]},{"url":"https://security.netapp.com/advisory/ntap-20170524-0001/","tags":["Third Party Advisory"]},{"url":"https://www.exploit-db.com/exploits/42060/","tags":["Third Party Advisory","VDB Entry"]},{"url":"https://www.exploit-db.com/exploits/42084/","tags":["Third Party Advisory","VDB Entry"]},{"url":"https://www.samba.org/samba/security/CVE-2017-7494.html","tags":["Patch","Vendor Advisory"]},{"url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2017-7494","tags":["US Government Resource"]}],"techniques":[{"id":"T1210","name":"Exploitation of Remote Services","tactics":["lateral-movement"],"provenance":"ai","basis":"ai-mapping","bases":["ai-mapping"],"basisDetail":"claude-haiku-5-5: Remote client exploits file-sharing service over network","mappingType":"exploitation_technique","evidence":[{"from":"description","quote":"allowing a malicious client to upload a shared library to a writable share","start":116,"end":190}],"model":"claude-haiku-5-5","confidence":"medium","confidenceNote":"AI-mapped from the description (quote-validated, not expert-reviewed)"},{"id":"T1059","name":"Command and Scripting Interpreter","tactics":["execution"],"provenance":"ai","basis":"ai-mapping","bases":["ai-mapping"],"basisDetail":"claude-haiku-5-5: Uploaded shared library is loaded and executed","mappingType":"primary_impact","evidence":[{"from":"description","quote":"cause the server to load and execute it","start":201,"end":240}],"model":"claude-haiku-5-5","confidence":"medium","confidenceNote":"AI-mapped from the description (quote-validated, not expert-reviewed)"}],"reports":[],"affected":[],"advisories":[],"euvd":{"id":"EUVD-2017-16511","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2017-16511","exploited":true,"exploitedSince":"2023-03-30","provenance":"source"},"exploits":[{"id":42060,"url":"https://www.exploit-db.com/exploits/42060","title":"Samba 3.5.0 - Remote Code Execution","type":"remote","platform":"linux","date":"2017-05-24","verified":true,"provenance":"source"},{"id":42084,"url":"https://www.exploit-db.com/exploits/42084","title":"Samba 3.5.0 < 4.4.14/4.5.10/4.6.4 - 'is_known_pipename()' Arbitrary Module Load (Metasploit)","type":"remote","platform":"linux","date":"2017-05-29","verified":true,"provenance":"source"}],"exploitSources":{"exploitdb":{"count":2,"earliest":"2017-05-24"},"pocGithub":{"count":21,"skipped":2,"earliest":"2017-05-25","earliestUrl":"https://github.com/betab0t/cve-2017-7494","repos":[{"name":"opsxcq/exploit-CVE-2017-7494","url":"https://github.com/opsxcq/exploit-CVE-2017-7494","stars":380,"created":"2017-05-26"},{"name":"joxeankoret/CVE-2017-7494","url":"https://github.com/joxeankoret/CVE-2017-7494","stars":259,"created":"2017-06-05"},{"name":"betab0t/cve-2017-7494","url":"https://github.com/betab0t/cve-2017-7494","stars":181,"created":"2017-05-25"},{"name":"Waffles-2/SambaCry","url":"https://github.com/Waffles-2/SambaCry","stars":63,"created":"2017-05-26"},{"name":"brianwrf/SambaHunter","url":"https://github.com/brianwrf/SambaHunter","stars":57,"created":"2017-05-30"}]},"metasploit":[{"name":"Samba is_known_pipename() Arbitrary Module Load","module":"exploit/linux/samba/is_known_pipename","type":"exploit","disclosureDate":"2017-03-24","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/samba/is_known_pipename.rb"}],"first":{"date":"2017-03-24","source":"Metasploit","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/samba/is_known_pipename.rb"},"provenance":"source"},"exploitRefs":["https://www.exploit-db.com/exploits/42060/","https://www.exploit-db.com/exploits/42084/"],"flow":[{"stage":"exploitation","techniques":["T1210"],"provenance":"ai"},{"stage":"primary","techniques":["T1059"],"provenance":"ai"}],"timeline":[{"date":"2017-03-24","kind":"exploit-public","label":"First public exploit: Metasploit; later: Exploit-DB 2017-05-24, PoC-in-GitHub 2017-05-25","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/samba/is_known_pipename.rb","provenance":"source"},{"date":"2017-05-30","kind":"published","label":"Published (NVD)","url":"https://nvd.nist.gov/vuln/detail/CVE-2017-7494","provenance":"source"},{"date":"2017-12-05","kind":"exploited-reported","label":"Exploitation first reported (VulnCheck KEV evidence)","url":"https://www.bleepingcomputer.com/news/security/storagecrypt-ransomware-infecting-nas-devices-using-sambacry/","provenance":"source"},{"date":"2023-03-30","kind":"kev","label":"Added to CISA KEV (known ransomware use)","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","provenance":"source"},{"date":"2023-03-30","kind":"euvd-exploited","label":"ENISA EUVD: exploited","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2017-16511","provenance":"source"}],"speed":{"daysToPublicExploit":null,"firstExploitFrom":"Metasploit","daysToKev":2130},"priority":{"score":79.8,"factors":[{"name":"In a KEV catalog","points":35.0,"detail":"listed in CISA KEV and VulnCheck KEV"},{"name":"Recent KEV listing","points":0.0,"detail":"added 3250 days ago"},{"name":"Known ransomware use","points":10.0,"detail":"CISA KEV and VulnCheck KEV: Known"},{"name":"EPSS percentile","points":19.99,"detail":"percentile 0.9994"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":5.0,"detail":"2 Exploit-DB entries; 2 NVD exploit links; 21 PoC-in-GitHub repos; 1 Metasploit module"},{"name":"Mentioned in OTX pulses","points":3.0,"detail":"50 pulses"},{"name":"CVSS severity","points":6.86,"detail":"base score 9.8"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]}}