CVE-2019-16667

HIGH

pfSense 2.4.4-p3 - Cross-Site Request Forgery via diag_command.php

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2019-16667. PoCs published by ghost_fh.

AI-analyzed exploit summary This exploit leverages a CSRF vulnerability in pfSense (CVE-2019-16667) to execute arbitrary commands via a crafted HTML form. The PoC includes a reverse shell payload that triggers when a victim interacts with the malicious page.

Description

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.

Exploits (1)

exploitdb WORKING POC
by ghost_fh · textwebappsphp
https://www.exploit-db.com/exploits/48714

This exploit leverages a CSRF vulnerability in pfSense (CVE-2019-16667) to execute arbitrary commands via a crafted HTML form. The PoC includes a reverse shell payload that triggers when a victim interacts with the malicious page.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Trivial
Reliability
Reliable
Target: pfSense <= 2.4.4-p3
No auth needed
Prerequisites: Victim must visit the malicious page · Attacker must host the exploit page · Network connectivity to attacker's IP/port
devstral-2 · analyzed Feb 16, 2026 Full analysis →

References (2)

Core 2
Core References
Exploit, Third Party Advisory x_refsource_misc
https://pastebin.com/TEJdu9LN

Scores

CVSS v3 8.8
EPSS 0.5454
EPSS Percentile 98.9%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Details

CWE
CWE-352
Status published
Products (1)
netgate/pfsense 2.4.4 p3
Published Sep 26, 2019
Tracked Since Feb 18, 2026