Netgate pfSense CE Suricata Path Traversal Remote Code Execution Vulnerability
The Suricata package on pfSense does not properly validate a user-supplied path before using it in file operations. An authenticated attacker could create arbitrary files as root, which may lead to remote code execution.
Originally disclosed on Zero Day Initiative
This vulnerability allows remote attackers to create arbitrary files on affected installations of Netgate pfSense. Authentication is required to exploit this vulnerability.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Impact
An authenticated attacker could create arbitrary files as root, potentially leading to remote code execution.
What the attacker needed
Authentication required
The fix
The vulnerability was fixed by the vendor in an update.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
A path traversal flaw lets someone trick a program into writing files outside the folder it should use, by supplying a path with special characters. Here, a logged-in user could make the firewall's Suricata package create files anywhere on the system with the highest privileges, which can be turned into running their own code.
What is Path traversal?
Input that builds a file path escapes the intended folder, reading or writing files the application should never touch.