AlienVault Unified Security Management get_directive_kdb directive_id SQL Injection Remote Code Execution Vulnerability

2016-09-08T00:00:00
ID ZDI-16-505
Type zdi
Reporter Peter Lapp
Modified 2016-11-09T00:00:00

Description

This vulnerability allows remote attackers to execute arbitrary code on vulnerable installations of AlienVault Unified Security Management. Authentication is not required to exploit this vulnerability.

The specific flaw exists when handling get_directive_kdb.php requests. The vulnerability is caused by the lack of input validation on 'directive_id' before using remotely supplied strings to construct SQL queries. An unauthenticated remote attacker can leverage this vulnerability to execute arbitrary code in the context of root.