CVE-2021-41282

8.8
HIGHCVSS v3.1 Base Score
87.11%
HIGH RiskEPSS (100th percentile)

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.

Published: 3/1/2022
Modified: 6/17/2026
Back to CVE Lookup

Vulnerability Summary

CVSS v3 Score

8.8HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

CVSS v2 Score

9

AV:N/AC:L/Au:S/C:C/I:C/A:C

EPSS Score (Exploitation Probability)

87.11%HIGH Exploitation Risk
100th percentile

This vulnerability has a 87.11% probability of being exploited in the next 30 days, ranking higher than 100% of all scored CVEs.

CWE Classification

Advertisement