{"id":"MSF-linux--http--alienvault_exec","name":"AlienVault OSSIM/USM Remote Code Execution","description":"This module exploits object injection, authentication bypass and ip spoofing vulnerabilities all together. Unauthenticated users can execute arbitrary commands under the context of the root user. By abusing authentication bypass issue on gauge.php lead adversaries to exploit object injection vulnerability which leads to SQL injection attack that leaks an administrator session token. Attackers can create a rogue action and policy that enables to execute operating system commands by using captured session token. As a final step, SSH login attempt with an invalid credentials can trigger a created rogue policy which triggers an action that executes operating system command with root user privileges. This module was tested against following product and versions: AlienVault USM 5.3.0, 5.2.5, 5.0.0, 4.15.11, 4.5.0 AlienVault OSSIM 5.0.0, 4.6.1","cves":["CVE-2016-8582"],"author":"Peter Lapp, Mehmet Ince","published":"2017-01-31","platform":"Python","type":"remote","language":"Ruby","source":"metasploit","sourceUrl":"https://github.com/rapid7/metasploit-framework/blob/90dfbaa741421d0179f9f371109c215d49400444/modules/exploits/linux/http/alienvault_exec.rb","path":"modules/exploits/linux/http/alienvault_exec.rb","revision":"90dfbaa741421d0179f9f371109c215d49400444","filename":"alienvault_exec.rb","vulnerabilities":[{"id":"CVE-2016-8582","state":"PUBLISHED","title":null,"titleSource":null,"description":"A vulnerability exists in gauge.php of AlienVault OSSIM and USM before 5.3.2 that allows an attacker to execute an arbitrary SQL query and retrieve database information or read local system files via MySQL's LOAD_FILE.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2016-8582","cvss":{"version":"3.0","baseScore":9.8,"severity":"critical","vectorString":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2016-8582"},"updatedAt":"2024-08-06T02:27:40.910Z","retrievedAt":"2026-11-26T14:35:33.005Z","stale":false,"error":null}],"imageUrl":"https://exploitbin.com/social/exploits/MSF-linux--http--alienvault_exec.png?v=2","url":"https://exploitbin.com/exploits/MSF-linux--http--alienvault_exec","downloadUrl":"https://exploitbin.com/api/v1/exploits/MSF-linux--http--alienvault_exec/download","codeUrl":"https://exploitbin.com/api/v1/exploits/MSF-linux--http--alienvault_exec/code","licenseUrl":"https://exploitbin.com/sources#metasploit"}