Vulnerabilities > CVE-2012-0261 - Code Injection vulnerability in OP5 Monitor and System-Portal

047910
CVSS 10.0 - CRITICAL
Attack vector
NETWORK
Attack complexity
LOW
Privileges required
NONE
Confidentiality impact
COMPLETE
Integrity impact
COMPLETE
Availability impact
COMPLETE
network
low complexity
op5
CWE-94
critical
nessus
exploit available
metasploit

Summary

license.php in system-portal before 1.6.2 in op5 Monitor and op5 Appliance before 5.5.3 allows remote attackers to execute arbitrary commands via shell metacharacters in the timestamp parameter for an install action.

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

idEDB-ID:41686
last seen2018-11-30
modified2015-01-25
published2015-01-25
reporterExploit-DB
sourcehttps://www.exploit-db.com/download/41686
titleOP5 5.3.5/5.4.0/5.4.2/5.5.0/5.5.1 - 'license.php' Remote Command Execution (Metasploit)

Metasploit

descriptionThis module exploits an arbitrary root command execution vulnerability in the OP5 Monitor license.php. Ekelow has confirmed that OP5 Monitor versions 5.3.5, 5.4.0, 5.4.2, 5.5.0, 5.5.1 are vulnerable.
idMSF:EXPLOIT/MULTI/HTTP/OP5_LICENSE
last seen2020-05-26
modified2017-07-24
published2012-01-07
references
reporterRapid7
sourcehttps://github.com/rapid7/metasploit-framework/blob/master//modules/exploits/multi/http/op5_license.rb
titleOP5 license.php Remote Command Execution

Nessus

NASL familyCGI abuses
NASL idOP5_PORTAL_COMMAND_EXECUTION.NASL
descriptionThe version of op5 Config hosted on the remote web server is earlier than 1.6.2. As such, it contains a flaw in the
last seen2020-06-01
modified2020-06-02
plugin id57576
published2012-01-17
reporterThis script is Copyright (C) 2012-2018 and is owned by Tenable, Inc. or an Affiliate thereof.
sourcehttps://www.tenable.com/plugins/nessus/57576
titleop5 Portal Arbitrary Command Execution

Packetstorm

data sourcehttps://packetstormsecurity.com/files/download/108541/op5_license.rb.txt
idPACKETSTORM:108541
last seen2016-12-05
published2012-01-11
reporterPeter Osterberg
sourcehttps://packetstormsecurity.com/files/108541/OP5-license.php-Remote-Command-Execution.html
titleOP5 license.php Remote Command Execution