PT-2020-6045 · Exim+5 · Exim+5

Published

2020-10-20

·

Updated

2024-06-15

·

CVE-2020-28026

CVSS v3.1

9.8

Critical

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Exim versions prior to 4.94.2
Description The issue is related to improper neutralization of line delimiters in non-default configurations that enable Delivery Status Notification (DSN). Certain uses of ORCPT= can place a newline into a spool header file, allowing unauthenticated remote attackers to execute arbitrary commands as root. The vulnerability is associated with insufficient input validation in the spool read header() function of the Exim message transfer agent.
Recommendations For versions prior to 4.94.2, update to version 4.94.2 or later to resolve the issue. As a temporary workaround, consider disabling the Delivery Status Notification (DSN) feature to minimize the risk of exploitation. Restrict access to the spool read header() function to prevent unauthenticated remote attackers from executing arbitrary commands. Avoid using the ORCPT= parameter in configurations where it may introduce a newline into a spool header file.

Exploit

Fix

Argument Injection

RCE

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

ALT-PU-2021-1764
ALT-PU-2022-2269
BDU:2021-02763
CVE-2020-28026
DLA-2650-1
DSA-4912-1
OPENSUSE-SU-2021:0677-1
OPENSUSE-SU-2021:0753-1
OPENSUSE-SU-2021:0754-1
OPENSUSE-SU-2021_0677-1
OPENSUSE-SU-2024:10746-1
USN-4934-1
USN-4934-2

Affected Products

Alt Linux
Astra Linux
Exim
Linuxmint
Suse
Ubuntu