Loading
diag_command.php in pfSense 2.4.4-p3 allows CSRF via the txtCommand or txtRecallBuffer field, as demonstrated by executing OS commands. This occurs because csrf_callback() produces a "CSRF token expired" error and a Try Again button when a CSRF token is missing.
Use CWE-352, Netgate vendor hub and Pfsense product page to widen CVE-2019-16667 into its surrounding weakness, vendor, and product context.
Compare it with CVE-2020-21487, CVE-2023-48123 and CVE-2023-42326 for nearby disclosures in the same product family.