OpenSMTPD remote code execution via SMTP session
CVE-2020-7247Known exploitedCritical
OpenSMTPD fails to properly validate input in the MAIL FROM field of SMTP sessions, allowing an attacker to inject shell metacharacters. An attacker can send a crafted SMTP session to execute arbitrary commands with root privileges. The attacker needs only network access to the SMTP service and the default configuration must be uncommented.
Plain English summary of the NVD and CISA text, checked by machine against both.
Scores and dates
- Added to KEV
- 25 Mar 2022
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Detail
OpenBSD OpenSMTPD. CISA required action: Apply updates per vendor instructions.
Weakness: CWE-755 (opens in a new tab), CWE-78 (opens in a new tab)
Affected versions
- openbsd opensmtpd: 6.6
- debian debian linux: 9.0
- debian debian linux: 10.0
- fedoraproject fedora: 32
- canonical ubuntu linux: 18.04
- canonical ubuntu linux: 19.10