Live threats

All CVEs / Pfsense

CVE-2021-41282Pfsense

High 8.8 High EPSS

Priority
62
CVSS 3.1
8.8
EPSS
87.1%
probability of exploitation in 30 days · percentile 100
Auth required
Yes
Published
Mar 1, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-74
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Pfsense.

Affected products (CPE)

VendorProductVersions
pfsensepfsense2.5.2

Official sources

References

Links published by the sources. Open them with care.