Lucene search
K

PFSense 2.5.0 Cross Site Scripting Vulnerability

🗓️ 28 Apr 2021 00:00:00Reported by zdtType 
zdt
 zdt
🔗 0day.today👁 37 Views

Stored XSS vulnerability in PFSense 2.5.0 /services_wol_edit.php?id=

Code
I. VULNERABILITY
-------------------------
Store XSS Attacks vulnerabilities in PFSense Version 2.5.0
II. BACKGROUND
-------------------------
The pfSense project is a free network firewall distribution, based on the
FreeBSD operating system with a custom kernel and including third party
free software packages for additional functionality. Through this package,
system pfSense software is able to provide most of the functionality of
common commercial firewalls, and many times more.
III. DESCRIPTION
-------------------------
Has been detected a Stored XSS vulnerability in PFSense.
The code injection is done through the parameter “Description” in the page
“/services_wol_edit.php?id=0
IV. PROOF OF CONCEPT
-------------------------
The application does not validate the parameter “Description” correctly
when run Wake All Devices.
First add script in field “Description”
After Run
Wake All Devices
/services_wol.php?wakeall=true
V. BUSINESS IMPACT
-------------------------
An attacker can execute arbitrary HTML or script code in a targeted
user's browser, , that allows the execution of arbitrary HTML/script code
to be executed in the context of the victim user's browser.
VI. SYSTEMS AFFECTED
-------------------------
Tested PFSense 2.5.0
VII. SOLUTION
-------------------------
All data received by the application and that can be modified by the user,
before making any kind of transaction with them must be validated correctly
Upgrade 2.5.1

#  0day.today [2021-11-04]  #

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation