Vulnerabilities > CVE-2014-3804 - Code Injection vulnerability in Alienvault Open Source Security Information Management
Attack vector
UNKNOWN Attack complexity
UNKNOWN Privileges required
UNKNOWN Confidentiality impact
UNKNOWN Integrity impact
UNKNOWN Availability impact
UNKNOWN Summary
The av-centerd SOAP service in AlienVault OSSIM before 4.7.0 allows remote attackers to execute arbitrary commands via a crafted (1) update_system_info_debian_package, (2) ossec_task, (3) set_ossim_setup admin_ip, (4) sync_rserver, or (5) set_ossim_setup framework_ip request, a different vulnerability than CVE-2014-3805.
Vulnerable Configurations
Common Weakness Enumeration (CWE)
Common Attack Pattern Enumeration and Classification (CAPEC)
- Leverage Executable Code in Non-Executable Files An attack of this type exploits a system's trust in configuration and resource files, when the executable loads the resource (such as an image file or configuration file) the attacker has modified the file to either execute malicious code directly or manipulate the target process (e.g. application server) to execute based on the malicious configuration parameters. Since systems are increasingly interrelated mashing up resources from local and remote sources the possibility of this attack occurring is high. The attack can be directed at a client system, such as causing buffer overrun through loading seemingly benign image files, as in Microsoft Security Bulletin MS04-028 where specially crafted JPEG files could cause a buffer overrun once loaded into the browser. Another example targets clients reading pdf files. In this case the attacker simply appends javascript to the end of a legitimate url for a pdf (http://www.gnucitizen.org/blog/danger-danger-danger/) http://path/to/pdf/file.pdf#whatever_name_you_want=javascript:your_code_here The client assumes that they are reading a pdf, but the attacker has modified the resource and loaded executable javascript into the client's browser process. The attack can also target server processes. The attacker edits the resource or configuration file, for example a web.xml file used to configure security permissions for a J2EE app server, adding role name "public" grants all users with the public role the ability to use the administration functionality. The server trusts its configuration file to be correct, but when they are manipulated, the attacker gains full control.
- Manipulating User-Controlled Variables This attack targets user controlled variables (DEBUG=1, PHP Globals, and So Forth). An attacker can override environment variables leveraging user-supplied, untrusted query variables directly used on the application server without any data sanitization. In extreme cases, the attacker can change variables controlling the business logic of the application. For instance, in languages like PHP, a number of poorly set default configurations may allow the user to override variables.
D2sec
name | AlienVault OSSIM av-centerd Util.pm RCE |
url | http://www.d2sec.com/exploits/alienvault_ossim_av-centerd_util.pm_rce.html |
Exploit-Db
description Alienvault OSSIM av-centerd Util.pm sync_rserver - Command Execution (Metasploit). CVE-2014-3804. Remote exploit for Linux platform. Tags: Metasploit Framework file exploits/linux/remote/42708.rb id EDB-ID:42708 last seen 2017-09-13 modified 2017-09-13 platform linux port 40007 published 2017-09-13 reporter Exploit-DB source https://www.exploit-db.com/download/42708/ title Alienvault OSSIM av-centerd Util.pm sync_rserver - Command Execution (Metasploit) type remote description AlienVault OSSIM av-centerd Command Injection. CVE-2014-3804. Remote exploit for linux platform id EDB-ID:33865 last seen 2016-02-03 modified 2014-06-24 published 2014-06-24 reporter metasploit source https://www.exploit-db.com/download/33865/ title AlienVault OSSIM av-centerd Command Injection
Metasploit
description | This module exploits a code execution flaw in AlienVault 4.6.1 and prior. The vulnerability exists in the av-centerd SOAP web service, where the update_system_info_debian_package method uses perl backticks in an insecure way, allowing command injection. This module has been tested successfully on AlienVault 4.6.0. |
id | MSF:EXPLOIT/LINUX/IDS/ALIENVAULT_CENTERD_SOAP_EXEC |
last seen | 2020-04-17 |
modified | 2017-07-24 |
published | 2014-06-16 |
references | |
reporter | Rapid7 |
source | https://github.com/rapid7/metasploit-framework/blob/master//modules/exploits/linux/ids/alienvault_centerd_soap_exec.rb |
title | AlienVault OSSIM av-centerd Command Injection |
Packetstorm
data source https://packetstormsecurity.com/files/download/127160/alienvault_centerd_soap_exec.rb.txt id PACKETSTORM:127160 last seen 2016-12-05 published 2014-06-19 reporter juan vazquez source https://packetstormsecurity.com/files/127160/AlienVault-OSSIM-av-centerd-Command-Injection.html title AlienVault OSSIM av-centerd Command Injection data source https://packetstormsecurity.com/files/download/144181/avossimrserver-exec.rb.txt id PACKETSTORM:144181 last seen 2017-09-15 published 2017-09-15 reporter James Fitts source https://packetstormsecurity.com/files/144181/Alienvault-OSSIM-av-centerd-Util.pm-sync_rserver-Command-Execution.html title Alienvault OSSIM av-centerd Util.pm sync_rserver Command Execution
References
- http://forums.alienvault.com/discussion/2690
- http://forums.alienvault.com/discussion/2690
- http://zerodayinitiative.com/advisories/ZDI-14-196/
- http://zerodayinitiative.com/advisories/ZDI-14-196/
- http://zerodayinitiative.com/advisories/ZDI-14-197/
- http://zerodayinitiative.com/advisories/ZDI-14-197/
- http://zerodayinitiative.com/advisories/ZDI-14-200/
- http://zerodayinitiative.com/advisories/ZDI-14-200/
- http://zerodayinitiative.com/advisories/ZDI-14-201/
- http://zerodayinitiative.com/advisories/ZDI-14-201/
- http://zerodayinitiative.com/advisories/ZDI-14-202/
- http://zerodayinitiative.com/advisories/ZDI-14-202/
- https://www.exploit-db.com/exploits/42708/
- https://www.exploit-db.com/exploits/42708/