CVE-2021-41282
pfSense diag_routes.php Sed Code Injection Vulnerability
Description
diag_routes.php in pfSense 2.5.2 allows sed data injection. Authenticated users are intended to be able to view data about the routes set in the firewall. The data is retrieved by executing the netstat utility, and then its output is parsed via the sed utility. Although the common protection mechanisms against command injection (i.e., the usage of the escapeshellarg function for the arguments) are used, it is still possible to inject sed-specific code and write an arbitrary file in an arbitrary location.
INFO
Published Date :
March 1, 2022, 11:15 p.m.
Last Modified :
July 12, 2022, 5:42 p.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
5.9
Exploitability Score :
2.8
Public PoC/Exploit Available at Github
CVE-2021-41282 has a 2 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-41282
.
URL | Resource |
---|---|
http://packetstormsecurity.com/files/166208/pfSense-2.5.2-Shell-Upload.html | Exploit Third Party Advisory VDB Entry |
https://docs.netgate.com/pfsense/en/latest/releases/22-01_2-6-0.html | Release Notes Third Party Advisory |
https://www.shielder.it/advisories/ | Third Party Advisory |
https://www.shielder.it/advisories/pfsense-remote-command-execution/ | Exploit Third Party Advisory |
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
C
essential templates for kenzer [DEPRECATED]
kenzer vulnerabilities kenzer-templates arpsyndicate
Python Shell Ruby
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-41282
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2021-41282
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 [email protected]
May. 14, 2024
Action Type Old Value New Value -
CWE Remap by [email protected]
Jul. 12, 2022
Action Type Old Value New Value Changed CWE CWE-94 CWE-74 -
Initial Analysis by [email protected]
Mar. 09, 2022
Action Type Old Value New Value Added CVSS V2 NIST (AV:N/AC:L/Au:S/C:C/I:C/A:C) Added CVSS V3.1 NIST AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Changed Reference Type http://packetstormsecurity.com/files/166208/pfSense-2.5.2-Shell-Upload.html No Types Assigned http://packetstormsecurity.com/files/166208/pfSense-2.5.2-Shell-Upload.html Exploit, Third Party Advisory, VDB Entry Changed Reference Type https://docs.netgate.com/pfsense/en/latest/releases/22-01_2-6-0.html No Types Assigned https://docs.netgate.com/pfsense/en/latest/releases/22-01_2-6-0.html Release Notes, Third Party Advisory Changed Reference Type https://www.shielder.it/advisories/ No Types Assigned https://www.shielder.it/advisories/ Third Party Advisory Changed Reference Type https://www.shielder.it/advisories/pfsense-remote-command-execution/ No Types Assigned https://www.shielder.it/advisories/pfsense-remote-command-execution/ Exploit, Third Party Advisory Added CWE NIST CWE-94 Added CPE Configuration OR *cpe:2.3:a:pfsense:pfsense:2.5.2:*:*:*:*:*:*:* -
CVE Modified by [email protected]
Mar. 04, 2022
Action Type Old Value New Value Added Reference http://packetstormsecurity.com/files/166208/pfSense-2.5.2-Shell-Upload.html [No Types Assigned]
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-41282
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-41282
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
97.31 }} 0.05%
score
0.99902
percentile