Command Execution Vulnerability in OpenSMTPD by OpenBSD
CVE-2020-7247

9.8CRITICAL

Key Information:

Vendor
OpenBSD
Status
Vendor
CVE Published:
29 January 2020

Badges

👾 Exploit Exists🟡 Public PoC🟣 EPSS 97%🦅 CISA Reported

Summary

The smtp_mailaddr function in smtp_session.c within OpenSMTPD versions 6.6 and OpenBSD 6.6 is vulnerable to command execution. Remote attackers can exploit this vulnerability by sending specially crafted SMTP commands, particularly utilizing shell metacharacters in the MAIL FROM field. This flaw arises from improper handling of return values during input validation, specifically within uncommented default configurations, allowing attackers to potentially execute arbitrary commands with root privileges.

CISA Reported

CISA provides regional cyber and physical services to support security and resilience across the United States. CISA monitor the most dangerious vulnerabilities and have identifed as being exploited but is not known by the CISA to be used in ransomware campaigns. This is subject to change at pace

The CISA's recommendation is: Apply updates per vendor instructions.

Exploit Proof of Concept (PoC)

PoC code is written by security researchers to demonstrate the vulnerability can be exploited. PoC code is also a key component for weaponization which could lead to ransomware.

References

EPSS Score

97% chance of being exploited in the next 30 days.

CVSS V3.1

Score:
9.8
Severity:
CRITICAL
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged

Timeline

  • 🦅

    CISA Reported

  • 🟡

    Public PoC available

  • 👾

    Exploit known to exist

  • Vulnerability published

  • Vulnerability Reserved

.