CVE-2020-7247KEV · OVERDUE

OpenSMTPD Remote Code Execution Vulnerability

Critical · published January 29, 2020

Patch now

Confirmed exploited, and the score agrees

CVSS calls it critical at 9.8. It is confirmed in active exploitation. It sits in the 99.9th percentile for exploit probability.

1652
days past CISA
deadline
CVSS v3.1
9.8
EPSS
99%
Percentile
99.9
In the wild
Confirmed
What it is

🚨 A crafty SMTP command could give attackers ROOT access! This vulnerability in OpenSMTPD lets remote attackers execute arbitrary commands just by sending a specially crafted email. 🔥 Think of it like a restaurant where the chef blindly follows any order without checking the menu. If an intruder shouts 'order up!' with a secret recipe, they could cook up a storm in the kitchen, wreaking havoc behind the scenes. An attacker could gain full control over the affected system, potentially compromising sensitive data, disrupting services, or even taking over the entire server. This is absolutely devastating for users relying on the mail server for secure communications!

Put simply

Think of it like a restaurant where the chef blindly follows any order without checking the menu. If an intruder shouts 'order up!' with a secret recipe, they could cook up a storm in the kitchen, wreaking havoc behind the scenes. The vulnerability exists in the smtp_mailaddr function within smtp_session.c of OpenSMTPD 6.6, where improper input validation allows execution of arbitrary commands when shell metacharacters are provided in the MAIL FROM field.

What to do

An attacker could gain full control over the affected system, potentially compromising sensitive data, disrupting services, or even taking over the entire server. This is absolutely devastating for users relying on the mail server for secure communications! Upgrade OpenSMTPD to version 6.6.1 or later to resolve this issue immediately. Also, review your SMTP configurations and ensure you are validating inputs correctly to prevent similar exploits in the future. You've got this! Follow these steps and you'll have your system locked down and secure in no time! 🛡️

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.98972 · 99.9th percentile
Published
2020-01-29T15:53Z
KEV added
2022-03-25 · due 2022-04-15
EPSS history
Timeline
  • 25 MAR 00:00Z
    Added to CISA KEV — remediate by Apr 15
    kev
  • 29 JAN 15:53Z
    smtp_mailaddr in smtp_session.c in OpenSMTPD 6.6, as used in OpenBSD 6.6 and other products, allows remote attackers to execute arbitrary commands as root via…
    cvelistv5