Vulnerability CVE-2020-7247


Published: 2020-01-29

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.

See advisories in our WLB2 database:
Topic
Author
Date
High
OpenBSD OpenSMTPD Privilege Escalation / Code Execution
Qualys Security ...
30.01.2020

Type:

CWE-252

(Unchecked Return Value)

CVSS2 => (AV:N/AC:L/Au:N/C:C/I:C/A:C)

CVSS Base Score
Impact Subscore
Exploitability Subscore
10/10
10/10
10/10
Exploit range
Attack complexity
Authentication
Remote
Low
No required
Confidentiality impact
Integrity impact
Availability impact
Complete
Complete
Complete
Affected software
Openbsd -> Opensmtpd 
Debian -> Debian linux 

 References:
http://packetstormsecurity.com/files/156137/OpenBSD-OpenSMTPD-Privilege-Escalation-Code-Execution.html
http://packetstormsecurity.com/files/156145/OpenSMTPD-6.6.2-Remote-Code-Execution.html
http://packetstormsecurity.com/files/156249/OpenSMTPD-MAIL-FROM-Remote-Code-Execution.html
http://seclists.org/fulldisclosure/2020/Jan/49
http://www.openwall.com/lists/oss-security/2020/01/28/3
https://github.com/openbsd/src/commit/9dcfda045474d8903224d175907bfc29761dcb45
https://seclists.org/bugtraq/2020/Jan/51
https://www.debian.org/security/2020/dsa-4611
https://www.kb.cert.org/vuls/id/390745
https://www.openbsd.org/security.html

Copyright 2024, cxsecurity.com

 

Back to Top