Actions
Bug #17019
openPotential XSS via Snort IP List filenames
Start date:
Due date:
% Done:
100%
Estimated time:
Plus Target Version:
Affected Version:
Affected Plus Version:
Affected Architecture:
Description
The Snort IP List page at snort_ip_list_mgmt.php does not encode filenames before display or use in JavaScript.
Uploading an IP List file with a name such as the following can trigger an XSS in certain scenarios:
xsstest123<img src=x onerror=alert(String.fromCharCode(88,83,83))>.txt
These files are also printed without encoding on snort_iprep_list_browser.php when adding a Categories File or IP Reputation List.
Reported by: @lujiefsi
Actions
Also available in: Atom