Actions
Bug #17015
openPotential XSS via rule descriptions in the Snort Alerts Dashboard Widget
Start date:
Due date:
% Done:
100%
Estimated time:
Plus Target Version:
Affected Version:
Affected Plus Version:
Affected Architecture:
Description
The Snort Alerts Dashboard widget (snort_alerts.widget.php, snort_alerts.js) does not encode rule descriptions or other data before display.
The rule descriptions can be supplied by custom rules or untrusted external sources which could contain a problematic payload, potentially leading to XSS.
For example:
alert icmp any any -> any any (msg:"xss<img src=x onerror=alert(String.fromCharCode(88,83,83))>"; itype:8; sid:990064640; rev:1;)
If the attacker then sends traffic matching the rule while Snort is set to alert and the Snort Dashboard Widget is active, then the next administrator to view the Dashboard page would trigger an XSS.
Reported by: @lujiefsi
Actions
Also available in: Atom