Vulnerabilities/

CVE-2018-6789

CVE

CVE-2018-6789

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.

Severity

Critical

Base CVSS

9.8

Fixed in

062990cc1b2f9e5d82a413b53c8f0569075de700,4.89-2+deb9u3,4.84.2-2+deb8u5,4.90.1-1,4.90.1-r0,0:4.90.1-2.14.amzn1

Description

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.

Severity scores

Source

Severity

Base score

CVSS version

Score vector

NVD

Critical

9.8

3.1

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

OSV

0

3.1

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Endor Labs

Required action

Apply updates per vendor instructions.

Known ransomware campaign use

Known

References

https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2018-6789, http://openwall.com/lists/oss-security/2018/02/10/2, http://www.openwall.com/lists/oss-security/2018/02/07/2, http://www.securityfocus.com/bid/103049, http://www.securitytracker.com/id/1040461, https://exim.org/static/doc/security/CVE-2018-6789.txt, https://lists.debian.org/debian-lts-announce/2018/02/msg00009.html, https://usn.ubuntu.com/3565-1/, https://www.debian.org/security/2018/dsa-4110, https://git.exim.org/exim.git/commit/cf3cd306062a08969c41a1cdd32c6855f1abecf1, http://packetstormsecurity.com/files/162959/Exim-base64d-Buffer-Overflow.html, https://devco.re/blog/2018/03/06/exim-off-by-one-RCE-exploiting-CVE-2018-6789-en/, https://www.exploit-db.com/exploits/44571/, https://www.exploit-db.com/exploits/45671/

Basic information

Base CVSS

9.8

EPSS probability

0.8

EPSS percentile

0.99661

Introduced version

0

Fix available

062990cc1b2f9e5d82a413b53c8f0569075de700,4.89-2+deb9u3,4.84.2-2+deb8u5,4.90.1-1,4.90.1-r0,0:4.90.1-2.14.amzn1

Endor Patches

Fix critical vulnerabilities instantly

Secure your app without upgrading: detect a compatible fix, apply safe remediation, and ship it in a single pull request.

Fix without upgrading

Get a demo of Endor Labs today.