High severity8.8NVD Advisory· Published Mar 1, 2022· Updated Jun 17, 2026
CVE-2021-41282
CVE-2021-41282
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
4Patches
Vulnerability mechanics
References
4- packetstormsecurity.com/files/166208/pfSense-2.5.2-Shell-Upload.htmlnvdExploitThird Party AdvisoryVDB Entry
- www.shielder.it/advisories/pfsense-remote-command-execution/nvdExploitThird Party Advisory
- docs.netgate.com/pfsense/en/latest/releases/22-01_2-6-0.htmlnvdRelease NotesThird Party Advisory
- www.shielder.it/advisories/nvdThird Party Advisory
News mentions
0No linked articles in our index yet.