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.
- CVSS:
- 9.8 (nvd)
- Vector:
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS:
- 99.0% (percentile 100.0)
- Affects:
- OpenBSD OpenSMTPD
- KEV:
- added 2022-03-25, due 2022-04-15
- Published:
- Modified:
- First seen:
- NVD status:
- Analyzed