CVE-2021-41282
Severity CVSS v4.0:
Pending analysis
Type:
CWE-74
Injection
Publication date:
01/03/2022
Last modified:
12/07/2022
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.
Impact
Base Score 3.x
8.80
Severity 3.x
HIGH
Base Score 2.0
9.00
Severity 2.0
HIGH
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:a:pfsense:pfsense:2.5.2:*:*:*:*:*:*:* |
To consult the complete list of CPE names with products and versions, see this page



