QID 34080

Date Published: 2022-05-26

QID 34080: pfSense Cross Site Scripting Vulnerability (XSS) (PFSENSE-SA-21_02)

pfSense is an open-source firewall/router which based on FreeBSD. pfsense can be deployed as a perimeter firewall, router, wireless access point, DHCP server, DNS server and VPN endpoint.

pfSense is prone to a cross-site scripting vulnerability.

Affected versions:
pfsense versions prior to 2.5.2

If a logged-in captive portal user visits a manually crafted URL for the Captive Portal login page which contains a malicious value for redirurl, and then follows the resulting link, it could lead to arbitrary JavaScript code being executed in their browser. This is possible due to the lack of proper encoding on the affected parameters susceptible to XSS. The user's session cookie or other information from the session may be compromised.

  • CVSS V3 rated as High - 6.1 severity.
  • CVSS V2 rated as Medium - 4.3 severity.
  • Solution
    Customers are advised to install Pfsense 2.5.2 or later versions to remediate this vulnerabilities.

    CVEs related to QID 34080

    Software Advisories
    Advisory ID Software Component Link
    pfSense-SA-21_02 URL Logo docs.netgate.com/downloads/pfSense-SA-21_02.captiveportal.asc