Alienvault OSSIM/USM 5.3.1 - SQL Injection Vulnerability

ID 1337DAY-ID-26209
Type zdt
Reporter Peter Lapp
Modified 2016-11-02T00:00:00


Exploit for php platform in category web applications

Product: Alienvault OSSIM/USM
Vulnerability: SQL Injection
Author: Peter Lapp, lappsec () gmail com
CVE: CVE-2016-8582
Vulnerable Versions: <=5.3.1
Fixed Version: 5.3.2
Vulnerability Details
A SQL injection vulnerability exists in the value parameter of
/ossim/dashboard/sections/widgets/data/gauge.php on line 231. By
sending a serialized array with a SQL query in the type field, it's
possible to execute an arbitrary SQL query. The result is not
displayed on the screen, but it can be exploited as a blind SQLi or
have the output directed to a file and then retrieved via another
request. Authentication is required.
This request will dump user password hashes to a file:
The file containing the output can then be retrieved with the following request:
It's also possible to read the contents of any file readable by the
mysql user by using mysql's load_file function. For example, changing
the request to something like select load_file('/etc/passwd') .
08/03/16 - Reported to Vendor
10/03/16 - Fixed in version 5.3.2

# [2018-03-10]  #