CVE-2021-41282
Last modified
CVE-2021-41282 is a high-severity vulnerability rated 8.8/10 on the CVSS scale. 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. EPSS estimates a 87.11% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Pfsense | Pfsense | 2.5.2 |
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
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-41282?
How severe is CVE-2021-41282?
How do I fix CVE-2021-41282?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2021
- CVE-2021-41277Metabase is an open source data analytics platform. In affec…7.5
- CVE-2021-41278Functions SDK for EdgeX is meant to provide all the plumbing…5.7
- CVE-2021-41279BaserCMS is an open source content management system with a …8.8
- CVE-2021-4128When transitioning in and out of fullscreen mode, a graphics…6.5
- CVE-2021-41280Sharetribe Go is a source available marketplace software. In…9.8
- CVE-2021-41281Synapse is a package for Matrix homeservers written in Pytho…7.5
- CVE-2021-41285Ballistix MOD Utility through 2.0.2.5 is vulnerable to privi…7.8
- CVE-2021-41286Omikron MultiCash Desktop 4.00.008.SP5 relies on a client-si…7.8
- CVE-2021-41288Zoho ManageEngine OpManager version 125466 and below is vuln…9.8
- CVE-2021-41289ASUS P453UJ contains the Improper Restriction of Operations …6.3
- CVE-2021-4129Mozilla developers and community members Julian Hector, Rand…9.8
- CVE-2021-41290ECOA BAS controller suffers from an arbitrary file write and…9.8
Are you affected by CVE-2021-41282?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
