CVE-2021-41282
diag_routes.php in pfSense 2.5.2 allows sed data injection.
Does this matter?
EPSS puts the probability of exploitation in the next 30 days at 87.1%, higher than 100% of all known CVEs. Patch or mitigate before the next change window.
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.
- CVSS 3.1
- 8.8 HIGHCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 87.11% probability · 100th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-74
- Affected
- pfsense/pfsense
- Source
- cve@mitre.org
References
- http://packetstormsecurity.com/files/166208/pfSense-2.5.2-Shell-Upload.htmlExploit, Third Party Advisory, VDB Entry
- https://docs.netgate.com/pfsense/en/latest/releases/22-01_2-6-0.htmlRelease 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
- http://packetstormsecurity.com/files/166208/pfSense-2.5.2-Shell-Upload.htmlExploit, Third Party Advisory, VDB Entry
- https://docs.netgate.com/pfsense/en/latest/releases/22-01_2-6-0.htmlRelease 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
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.