Vulnerabilities > CVE-2012-0262 - Code Injection vulnerability in OP5 Monitor and System-Op5Config
Attack vector
NETWORK Attack complexity
LOW Privileges required
NONE Confidentiality impact
COMPLETE Integrity impact
COMPLETE Availability impact
COMPLETE Summary
op5config/welcome in system-op5config before 2.0.3 in op5 Monitor and op5 Appliance before 5.5.3 allows remote attackers to execute arbitrary commands via shell metacharacters in the password parameter.
Vulnerable Configurations
Part | Description | Count |
---|---|---|
Application | 6 |
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.
Exploit-Db
id | EDB-ID:41687 |
last seen | 2018-11-30 |
modified | 2015-01-05 |
published | 2015-01-05 |
reporter | Exploit-DB |
source | https://www.exploit-db.com/download/41687 |
title | OP5 5.3.5/5.4.0/5.4.2/5.5.0/5.5.1 - 'welcome' Remote Command Execution (Metasploit) |
Metasploit
description | This module exploits an arbitrary root command execution vulnerability in OP5 Monitor welcome. Ekelow AB has confirmed that OP5 Monitor versions 5.3.5, 5.4.0, 5.4.2, 5.5.0, 5.5.1 are vulnerable. |
id | MSF:EXPLOIT/MULTI/HTTP/OP5_WELCOME |
last seen | 2020-06-07 |
modified | 2017-07-24 |
published | 2012-01-07 |
references | |
reporter | Rapid7 |
source | https://github.com/rapid7/metasploit-framework/blob/master//modules/exploits/multi/http/op5_welcome.rb |
title | OP5 welcome Remote Command Execution |
Nessus
NASL family | CGI abuses |
NASL id | OP5_CONFIG_COMMAND_EXECUTION.NASL |
description | The version of op5 Config hosted on the remote web server is earlier than 2.0.3. As such, it contains a flaw on its welcome page that allows a remote, unauthenticated attacker to run arbitrary commands with root privileges simply by enclosing them in backticks in the password field. |
last seen | 2020-06-01 |
modified | 2020-06-02 |
plugin id | 57578 |
published | 2012-01-17 |
reporter | This script is Copyright (C) 2012-2018 and is owned by Tenable, Inc. or an Affiliate thereof. |
source | https://www.tenable.com/plugins/nessus/57578 |
title | op5 Config Arbitrary Command Execution |
code |
|
Packetstorm
data source | https://packetstormsecurity.com/files/download/108540/op5_welcome.rb.txt |
id | PACKETSTORM:108540 |
last seen | 2016-12-05 |
published | 2012-01-11 |
reporter | Peter Osterberg |
source | https://packetstormsecurity.com/files/108540/OP5-welcome-Remote-Command-Execution.html |
title | OP5 welcome Remote Command Execution |
References
- http://seclists.org/fulldisclosure/2012/Jan/62
- http://secunia.com/advisories/47417
- http://www.ekelow.se/file_uploads/Advisories/ekelow-aid-2012-01.pdf
- http://www.op5.com/news/support-news/fixed-vulnerabilities-op5-monitor-op5-appliance/
- http://www.osvdb.org/78065
- https://bugs.op5.com/view.php?id=5094