CVE-2021-41282 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 netsta...
HighCVSS 8.8
EPSS 87.1%
Framework module
Scanner template
- Published
- Updated
- Exploit status
- Public exploit available
- Technology
- PHPNetwork Appliances
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.
Upgrade path
1 package: 0 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| pfsense | = 2.5.2 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pfsense | = 2.5.2 | No fix listed |
References
- packetstormsecurity.com exploit third-party-advisory vdb-entry
- docs.netgate.com release-notes third-party-advisory
- www.shielder.it third-party-advisory
- www.shielder.it exploit third-party-advisory