PFSense 2.5.0 Cross Site Scripting

2021.04.29
Credit: William Costa
Risk: Low
Local: No
Remote: Yes
CVE: N/A
CWE: CWE-79

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 By William Costa william.costa@gmail.com


Vote for this issue:
50%
50%


 

Thanks for you vote!


 

Thanks for you comment!
Your message is in quarantine 48 hours.

Comment it here.


(*) - required fields.  
{{ x.nick }} | Date: {{ x.ux * 1000 | date:'yyyy-MM-dd' }} {{ x.ux * 1000 | date:'HH:mm' }} CET+1
{{ x.comment }}

Copyright 2021, cxsecurity.com

 

Back to Top