smtp_mailaddr in smtp_session.c in OpenSMTPD 6.6, as used...
High severity
Unreviewed
Published
May 24, 2022
to the GitHub Advisory Database
•
Updated Jul 16, 2024
Description
Published by the National Vulnerability Database
Jan 29, 2020
Published to the GitHub Advisory Database
May 24, 2022
Last updated
Jul 16, 2024
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.
References