CVE-2021-27216
Exim Remote Delete Privilege Escalation
Description
Exim 4 before 4.94.2 has Execution with Unnecessary Privileges. By leveraging a delete_pid_file race condition, a local user can delete arbitrary files as root. This involves the -oP and -oPX options.
INFO
Published Date :
May 6, 2021, 1:15 p.m.
Last Modified :
Nov. 21, 2024, 5:57 a.m.
Remotely Exploit :
No
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source | 
|---|---|---|---|---|---|---|
| CVSS 2.0 | MEDIUM | [email protected] | ||||
| CVSS 3.1 | MEDIUM | [email protected] | 
Solution
- Upgrade Exim to version 4.94.2 or later.
- Update the affected packages.
Public PoC/Exploit Available at Github
                                            CVE-2021-27216 has a 1 public
                                            PoC/Exploit available at Github.
                                            Go to the Public Exploits tab to see the list.
                                        
References to Advisories, Solutions, and Tools
                                            Here, you will find a curated list of external links that provide in-depth
                                            information, practical solutions, and valuable tools related to
                                            CVE-2021-27216.
                                        
| URL | Resource | 
|---|---|
| https://www.exim.org/static/doc/security/CVE-2020-qualys/CVE-2020-28007-LFDIR.txt | Exploit Vendor Advisory | 
| https://www.exim.org/static/doc/security/CVE-2020-qualys/CVE-2020-28007-LFDIR.txt | Exploit Vendor Advisory | 
CWE - Common Weakness Enumeration
            While CVE identifies
            specific instances of vulnerabilities, CWE categorizes the common flaws or
            weaknesses that can lead to vulnerabilities. CVE-2021-27216 is
            associated with the following CWEs:
        
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
            (CAPEC)
            stores attack patterns, which are descriptions of the common attributes and
            approaches employed by adversaries to exploit the CVE-2021-27216
            weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
None
Dockerfile Makefile Go
Results are limited to the first 15 repositories due to potential performance issues.
			The following list is the news that have been mention
			CVE-2021-27216 vulnerability anywhere in the article.
		
                The following table lists the changes that have been made to the
                CVE-2021-27216 vulnerability over time.
            
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
- 
                            CVE Modified by af854a3a-2127-422b-91ae-364da2661108Nov. 21, 2024 Action Type Old Value New Value Added Reference https://www.exim.org/static/doc/security/CVE-2020-qualys/CVE-2020-28007-LFDIR.txt 
- 
                            CVE Modified by [email protected]May. 14, 2024 Action Type Old Value New Value 
- 
                            CWE Remap by [email protected]Jun. 28, 2022 Action Type Old Value New Value Changed CWE CWE-269 CWE-362 
- 
                            Initial Analysis by [email protected]May. 13, 2021 Action Type Old Value New Value Added CVSS V2 NIST (AV:L/AC:M/Au:N/C:N/I:C/A:C) Added CVSS V3.1 NIST AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:H Changed Reference Type https://www.exim.org/static/doc/security/CVE-2020-qualys/CVE-2020-28007-LFDIR.txt No Types Assigned https://www.exim.org/static/doc/security/CVE-2020-qualys/CVE-2020-28007-LFDIR.txt Exploit, Vendor Advisory Added CWE NIST CWE-269 Added CPE Configuration OR *cpe:2.3:a:exim:exim:*:*:*:*:*:*:*:* versions up to (excluding) 4.94.2 
Vulnerability Scoring Details
Base CVSS Score: 6.3
Base CVSS Score: 6.3
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.16 }} 0.01%
score
0.37017
percentile
 
                         
                         
                         
                                             
                                            