lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date: Tue, 28 Jul 2015 00:41:01 +0200
From: Federico Fazzi <>
Subject: [FD] Another Snorby 2.6.2 - Stored Cross-site Scripting

Snorby 2.6.2 - Stored Cross-site Scripting Vulnerability





Found another Stored Cross-site Scripting (XSS) vulnerability in Snorby.
The vulnerability exists in the module for save a new search where the user
input is not correctly sanitized before being saved it on the database
or for example
the output is not properly filtered, before its rendering in the saved
searches code,
in this way the vector gets executed.

It not requires Administrative privileges to being executed.


The output from the page snorby/app/views/saved_searches/view.html.erb is
not properly sanitized before its rendering, especially the variable

$('#title-header').replaceWith('<div class="edit edit-search-title"
id="title-header">'+data.title+'</div><span class="sub-title">(click to


A simple XSS mitigation on rails could be the usage of the sanitize, for
example the code
below filters the xss vector by removing the onerror attribute from the
image tag, preventing
the execution of the malicious javascript code:

$('#title-header').replaceWith('<div class="edit edit-search-title"
id="title-header">'+sanitize data.title+'</div><span
class="sub-title">(click to edit)</span>');


Update to the latest version on Github.


18-07-2015 – Vendor notification
18-07-2015 – CVE id requested
21-07-2015 - Vendor acknowledgement
21-07-2015 - Vendor pushed a fix (commit-id:

Federico Fazzi

Mobile: +39 345 2327231 <tel:+3934%202327231>

Sent through the Full Disclosure mailing list
Web Archives & RSS:

Powered by blists - more mailing lists