cvedb.io
CVE-2021-41282
HIGH · CVSS 8.8
EPSS exploitation probability: 0%
Published 2022-03-01T23:15:08.347 · Last modified 2026-06-17T04:08:14.247

Summary

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.

Affected products

pfsense — pfsense

Does this affect you?

Add your gear to cvedb and we'll alert you only when pfsense ships something exploited.

Check my exposure →

References

This product uses data from the NVD API but is not endorsed or certified by the NVD. Informational only; not professional security advice.