Skip to content
VulniPulse
High8.8Netgate pfSense

CVE-2021-41282: pfSense: diag_routes.php in pfSense 2.5.2 allows sed data injection

This pfSense advisory covers CVE-2021-41282. Related products: pfSense.

Open the pfSense advisory

Key facts

Vendor rating
High, CVSS 8.8
EPSS
87.1% chance of exploitation in the next 30 days (99th percentile). FIRST EPSS, .
CISA KEV
Not listed (catalogue checked )
Source published
Source revised
Listed by VulniPulse
Record changed

Compiled by VulniPulse from the linked sources. How records are collected and checked.

Related products & platforms

Netgate pfSenseUnclassified

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.

Text from the source record.

CVE-2021-41282 questions

Is CVE-2021-41282 being exploited?

CISA does not list it in its Known Exploited Vulnerabilities catalog (checked ), and the pfSense advisory does not report exploitation. That is not proof it is unexploited.

How likely is CVE-2021-41282 to be exploited?

FIRST's EPSS model gives it a 87.1% chance of exploitation in the next 30 days (99th percentile among scored CVEs, model date ). It is a forecast, not a report of attacks.

How serious is CVE-2021-41282?

pfSense rates it high, CVSS 8.8 out of 10.

Netgate pfSense advisories, March 2022All Netgate pfSense advisories

Get an email when pfSense publishes the next one.

See pfSense's last 90 days first. Live alerts for one product are free for life; every vendor is US$5 a month with Pro (first month US$1).

Alert me about pfSense