Cross-site request forgery in pfsense - CVE-2019-16667

 

Cross-site request forgery in pfsense - CVE-2019-16667

Published: September 27, 2019 / Updated: June 17, 2021


Vulnerability identifier: #VU21372
CSH Severity: Medium
CVSS v4: 7.5 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2019-16667
CWE-ID: CWE-352
Exploitation vector: Remote access
Exploit availability: Public exploit is available

Vulnerability details

The vulnerability allows a remote attacker to perform cross-site request forgery attacks.

The vulnerability exists due to insufficient validation of the HTTP request origin in diag_command.php script. A remote attacker can trick the victim to visit a specially crafted web page and and update "txtCommand" and "txtRecallBuffer" fields.

Successful exploitation of the vulnerability may allow an attacker to execute arbitrary OS commands on the system.

Example:













Affected software

pfsense

How to mitigate CVE-2019-16667

Install update from vendor's website.

pfsense - update to 2.4.5

Links to Public Exploits and PoC-codes

External References

Related Security Bulletins