CVE-2014-6305: Command Injection in pfSense WebGUI
CVE-2014-6305 comprises command injection vulnerabilities in the pfSense WebGUI affecting versions 2.1.4 and earlier. Insufficient validation and sanitization of the srcport POST parameter in the port-testing interface and the custom_options parameter in the DNS forwarder configuration interface allow users authorized to access those pages to inject operating system commands. Exploitation can bypass intended WebGUI privilege restrictions and permit unauthorized firewall operations.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
A user with limited WebGUI privileges can escalate privileges, read arbitrary files, execute operating system commands, and make unauthorized alterations to the firewall, compromising its confidentiality and integrity.
Mitigation
If you can’t patch tonight, do this now.
No complete workaround is available. Restrict WebGUI access through firewall rules, deny GUI accounts to untrusted users, and revoke users' access to the affected pages. Avoid using the same browser session for firewall administration and general web browsing to reduce the risk of remotely triggered attacks.
Remediation
Patch, then assume compromise.
Upgrade to pfSense 2.1.5 or later through the web interface or console. Fixes were committed to the master and RELENG_2_1 branches on August 6, 2014, at 19:26:41 UTC.
Exploits
No public exploits tracked yet. Mallory keeps watching.
References
Frequently asked questions
- Is CVE-2014-6305 exploited in the wild?
- As of Oct 25, 2026, Mallory has no reports of CVE-2014-6305 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2014-6305?
- As of Oct 25, 2026, Mallory has found no public exploit for CVE-2014-6305.
- Is there a patch for CVE-2014-6305?
- Upgrade to pfSense 2.1.5 or later through the web interface or console. Fixes were committed to the master and RELENG_2_1 branches on August 6, 2014, at 19:26:41 UTC.
Recent activity
1 sources tracked across advisories and community write-ups. News coverage will land here when it surfaces.
No news coverage yet. Advisories and community discussion only.