HIGH

CVE-2021-41282

CVSS v3

8.8

HIGH

EPSS Score

91.3%

exploit probability

CISA KEV

No

known exploited

Exploitation

SSVC status

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.

Technical details

Published
3/1/2022

Frequently asked questions

What is CVE-2021-41282?

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.

Is CVE-2021-41282 actively exploited?

Active exploitation of CVE-2021-41282 has not been confirmed. The EPSS score is 91.3%, indicating the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2021-41282?

CVE-2021-41282 has a CVSS v3 base score of 8.8 (HIGH severity).

Is CVE-2021-41282 affecting your environment?

Use isMalicious to check if any of your IPs or domains are associated with this vulnerability's IOCs.