ID:5761 - Exploit for Permissions, Privileges, and Access Controls in OpenSMTPD - CVE-2020-8793

 
Main Vulnerability Database Exploits ID:5761 - Exploit for Permissions, Privileges, and Access Controls in OpenSMTPD - CVE-2020-8793

ID:5761 - Exploit for Permissions, Privileges, and Access Controls in OpenSMTPD - CVE-2020-8793

Published: June 17, 2021


Vulnerability identifier: #VU25586
Vulnerability risk: Low
CVE-ID: CVE-2020-8793
CWE-ID: CWE-264
Exploitation vector: Local access
Vulnerable software:
OpenSMTPD

Link to public exploit:


Vulnerability description

The vulnerability allows a local user to escalate privileges on the system.

The vulnerability exists due to the application does not drop privileges when executing the "/usr/sbin/smtpctl" application with  a "-bi" command-line argument. A local user can leverage this behavior and use a specially crafted hardlink to execute arbitrary code on the system with elevated privileges.


Remediation

Install updates from vendor's website.