CVE-2017-7494

Samba: Remote Code Execution

As of , CVE-2017-7494 in Samba is on CISA's list of exploited vulnerabilities: CISA listed it on . Our patch-first group: Patch this week.

Exploited
Yes: CISA listed it on 30 March 2023
US federal deadline
20 April 202321 days after CISA listed it. US federal civilian agencies must fix it by then.
Used in ransomware campaigns
Known
EPSS score
0.99Higher than 99% of the CVEs EPSS scores. EPSS estimates the chance of exploitation activity in the next 30 days.
EPSS when listed
0.97 on 30 March 2023EPSS on the day CISA listed it.
Public exploit
1 Metasploit module and 2 Exploit-DB entries (2 verified)
Fix
Vendor advice: www.samba.orgLinks below, from CISA's entry.

What CISA says to do

Apply updates per vendor instructions.

CISA's required action

What the flaw is

Samba contains a 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.

CISA's description

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.

The CVE record's description, from redhat

CVE published
30 May 2017
Assigned by
redhat
CVSS
9.8 Critical (CVSS 3.1, from CISA-ADP)
CWE-94
Improper Control of Generation of Code ('Code Injection')
CISA SSVC, exploitation
active
CISA SSVC, automatable
yes
CISA SSVC, technical impact
total

Timeline

  1. Exploit-DB published an exploit (EDB-ID 42060).
  2. Exploit-DB published an exploit (EDB-ID 42084).
  3. The CVE record was published.
  4. CISA added it to its list of exploited vulnerabilities.
  5. The US federal deadline to fix it.

Public exploits

Facts from Metasploit's module list and Exploit-DB's index; we never copy exploit code.

Read further