Exploited vulnerabilities · OpenBSD
CVE-2020-7247
OpenSMTPD Remote Code Execution Vulnerability
smtp_mailaddr in smtp_session.c in OpenSMTPD, as used in OpenBSD and other products, allows remote attackers to execute arbitrary commands as root via a crafted SMTP session.
Description in the NVD
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 a crafted SMTP session, as demonstrated by shell metacharacters in a MAIL FROM field. This affects the "uncommented" default configuration. The issue exists because of an incorrect return value upon failure of input validation.
Required action according to CISA
Apply updates per vendor instructions.
What to do now
- Check your exposureFind out whether OpenBSD OpenSMTPD runs anywhere in your environment, including systems of suppliers.
- Patch or mitigateApply the vendor update. If that is not possible at once, use the vendor's mitigation or take the system off the network.
- Look for signs of an attackThis vulnerability is exploited in real attacks. Review the logs of affected systems for the time before the patch.
References
- github.com/openbsd/src/commit/9dcfda045474d8903224d175907bfc29761dcb45
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/O
- seclists.org/bugtraq/2020/Jan/51
- usn.ubuntu.com/4268-1/
- www.debian.org/security/2020/dsa-4611
- www.kb.cert.org/vuls/id/390745
- www.openbsd.org/security.html
- www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2020-7247
- nvd.nist.gov/vuln/detail/CVE-2020-7247
More exploited vulnerabilities in OpenBSD products
Data: CISA Known Exploited Vulnerabilities Catalog and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.