9.8crit

CVE-2018-6789KEV · ransomwarein critical feed2 exploits

An issue was discovered in the base64d function in the SMTP listener in Exim before 4.90.1.

Published 8 y ago · modified 4 mo ago · JSON

CVSS
9.8
v3.1 · CNA
CISA KEV
Yes
added 2021-11-03
EPSS
82.1%
percentile 100%
Public exploits
2
Exploit-DB

Summary

An issue was discovered in the base64d function in the SMTP listener in Exim before 4.90.1. By sending a handcrafted message, a buffer overflow may happen. This can be used to execute code remotely.

Known exploited (CISA KEV)

Added
5 y ago
Due date
2022-05-03 (4 y ago)
Ransomware use
Known to be used in ransomware campaigns
Required action
Apply updates per vendor instructions.
Vendor / product
Exim / Exim
CISA name
Exim Buffer Overflow Vulnerability

CISA SSVC assessment

Exploitation
Active — exploited in the wild
Automatable
yes
Technical impact
total
Assessed
20 mo ago

Exploit prediction (EPSS)

82.14% probability of exploitation in the next 30 days, higher than 100% of all scored CVEs.

Exploits and detections

  • EDB-45671 exim 4.90 - Remote Code Execution · remote · 2018-10-24
  • EDB-44571 Exim < 4.90.1 - 'base64d' Remote Code Execution · remote · 2018-05-02

CVSS scores

Assigned byVersionScoreVector
CISA ADP3.19.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD3.19.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CNA3.19.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD2.07.5AV:N/AC:L/Au:N/C:P/I:P/A:P

Classification

Weakness
  • CWE-120 Buffer Copy without Checking Size of Input

References

  • exim.org /static/doc/security/CVE-2018-6789.txt · x_refsource_CONFIRM, x_transferred
  • openwall.com /lists/oss-security/2018/02/07/2 · mailing-list, x_refsource_MLIST, x_transferred
  • usn.ubuntu.com /3565-1/ · vendor-advisory, x_refsource_UBUNTU, x_transferred
  • openwall.com /lists/oss-security/2018/02/10/2 · x_refsource_CONFIRM, x_transferred
  • securitytracker.com /id/1040461 · vdb-entry, x_refsource_SECTRACK, x_transferred
  • debian.org /security/2018/dsa-4110 · vendor-advisory, x_refsource_DEBIAN, x_transferred
  • exploit-db.com /exploits/44571/ · exploit, x_refsource_EXPLOIT-DB, x_transferred
  • lists.debian.org /debian-lts-announce/2018/02/msg00009.html · mailing-list, x_refsource_MLIST, x_transferred
  • git.exim.org /exim.git/commit/cf3cd306062a08969c41a1cdd32c6855f1abecf1 · x_refsource_CONFIRM, x_transferred
  • devco.re /blog/2018/03/06/exim-off-by-one-RCE-exploiting-CVE-2018-6789-en/ · x_refsource_MISC, x_transferred
  • securityfocus.com /bid/103049 · vdb-entry, x_refsource_BID, x_transferred
  • exploit-db.com /exploits/45671/ · exploit, x_refsource_EXPLOIT-DB, x_transferred
  • packetstormsecurity.com /files/162959/Exim-base64d-Buffer-Overflow.html · x_refsource_MISC, x_transferred
  • cisa.gov /known-exploited-vulnerabilities-catalog?field_cve=CVE-2018-6789 · government-resource

Sources

vulnwire keeps one entry per vulnerability: the CVE id wins, then GHSA; records that alias each other are merged. Machine-readable: JSON.