CVE-2020-7247

Description

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.

Risk Information

Base Score
9.8
MODERATE
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS Score
Exploitation Probability
94.076

Associated Vulnerability

VulnerabilityOS Platform
opensmtpd security update(DSA-4611-1) opensmtpd_6.0.2p1-2+deb9u2_i386.debLinux
opensmtpd security update(DSA-4611-1) opensmtpd_6.0.2p1-2+deb9u2_amd64.debLinux
opensmtpd security update(DSA-4611-1) opensmtpd_6.0.3p1-5+deb10u3_i386.debLinux
opensmtpd security update(DSA-4611-1) opensmtpd_6.0.3p1-5+deb10u3_amd64.debLinux
secure, reliable, lean, and easy-to configure SMTP server (USN-4268-1) opensmtpd_6.0.3p1-1ubuntu0.1_i386.debLinux
secure, reliable, lean, and easy-to configure SMTP server (USN-4268-1) opensmtpd_6.0.3p1-1ubuntu0.1_amd64.debLinux
secure, reliable, lean, and easy-to configure SMTP server (USN-4268-1) opensmtpd_6.0.3p1-6ubuntu0.1_i386.debLinux
secure, reliable, lean, and easy-to configure SMTP server (USN-4268-1) opensmtpd_6.0.3p1-6ubuntu0.1_amd64.debLinux

Patch Details

No records found

References

https://nvd.nist.gov/vuln/detail/CVE-2023-1234
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-1234