CVE-2021-41282

diag_routes.php in pfSense 2.5.2 allows sed data injection

published March 1, 2022

Patch now

High probability of exploitation

NVD has not assigned a CVSS score to this record. It sits in the 99.8th percentile for exploit probability.

CVSS
—
EPSS
87%
Percentile
99.8
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.87113 · 99.8th percentile
Published
2022-03-01T22:45Z
EPSS history
Timeline
  • 01 MAR 22:45Z
    diag_routes.php in pfSense 2.5.2 allows sed data injection
    cvelistv5