Project

General

Profile

Actions

Bug #17019

open

Potential XSS via Snort IP List filenames

Added by Jim Pingle 2 days ago. Updated 2 days ago.

Status:
Feedback
Priority:
Normal
Assignee:
Category:
Snort
Target version:
-
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