Lucene search

K
cvelistMitreCVELIST:CVE-2021-41282
HistoryMar 01, 2022 - 10:45 p.m.

CVE-2021-41282

2022-03-0122:45:03
mitre
www.cve.org
11
cve-2021-41282
data injection
netstat utility
sed utility
firewall routes

AI Score

9.3

Confidence

High

EPSS

0.972

Percentile

99.8%

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.

AI Score

9.3

Confidence

High

EPSS

0.972

Percentile

99.8%