Vulnerability & Exploit Database

Back to search

Clickjacking Vulnerability In CSRF Error Page pfSense

This module exploits a Clickjacking vulnerability in pfSense <= 2.4.1. pfSense is a free and open source firewall and router. It was found that the pfSense WebGUI is vulnerable to Clickjacking. By tricking an authenticated admin into interacting with a specially crafted webpage it is possible for an attacker to execute arbitrary code in the WebGUI. Since the WebGUI runs as the root user, this will result in a full compromise of the pfSense instance.

Free Metasploit Download

Get your copy of the world's leading penetration testing tool

 Download Now

Module Name



  • Yorick Koster



  • pfSense <= 2.4.1


  • php


  • php



Module Options

To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':

msf > use exploit/unix/http/pfsense_clickjacking msf exploit(pfsense_clickjacking) > show targets ...targets... msf exploit(pfsense_clickjacking) > set TARGET <target-id> msf exploit(pfsense_clickjacking) > show options and set options... msf exploit(pfsense_clickjacking) > exploit

Related Vulnerabilities