Netgate pfSense CE XMLRPC Incorrect Authorization Remote Code Execution Vulnerability
The XMLRPC endpoint in pfSense CE did not properly check authorisation before granting access to privileged functionality. An authenticated attacker could use this to run arbitrary code as root on the appliance.
Originally disclosed on Zero Day Initiative
This vulnerability allows remote attackers to execute arbitrary code 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
Root cause
Likely the XMLRPC endpoint performed authentication but did not enforce an authorisation check on privileged functions, so any authenticated user could reach root-level functionality.
Impact
An authenticated attacker could execute arbitrary code with root privileges on the affected pfSense installation.
What the attacker needed
Valid credentials on the appliance
The fix
Netgate issued an update that corrects the vulnerability.
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.
pfSense is firewall software, and it has a remote interface called XMLRPC that other systems can call. The code behind that interface failed to check whether the caller was allowed to use certain powerful functions. Because of that, someone who already had a login could make the firewall run their own commands with the highest level of permission.
What is Access control?
A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.