CVE-2021-41282
HIGH 9.0EPSS 87.1%
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.
- CVSS v3.1
- 8.8 HIGH
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - CVSS v2.0
- 9.0 HIGH
AV:N/AC:L/Au:S/C:C/I:C/A:C - EPSS
- 87.11% chance of exploitation in the next 30 days, 100th percentile
- Nuclei
- high · CWE-74
- Published
- 2022-03-01
- Updated
- 2024-08-04
Proof-of-concept exploits (3)
- http://packetstormsecurity.com/files/166208/pfSense-2.5.2-Shell-Upload.html
- https://www.shielder.it/advisories/pfsense-remote-command-execution/
- bantahacka/pfsense_2021-412822★ · 2022-10-06