Vulnerabilities > CVE-2014-5377 - Information Exposure vulnerability in Manageengine Device Expert

047910
CVSS 5.0 - MEDIUM
Attack vector
NETWORK
Attack complexity
LOW
Privileges required
NONE
Confidentiality impact
PARTIAL
Integrity impact
NONE
Availability impact
NONE
network
low complexity
manageengine
CWE-200
nessus
exploit available
metasploit

Summary

ReadUsersFromMasterServlet in ManageEngine DeviceExpert before 5.9 build 5981 allows remote attackers to obtain user account credentials via a direct request.

Vulnerable Configurations

Part Description Count
Application
Manageengine
1

Common Weakness Enumeration (CWE)

Common Attack Pattern Enumeration and Classification (CAPEC)

  • Subverting Environment Variable Values
    The attacker directly or indirectly modifies environment variables used by or controlling the target software. The attacker's goal is to cause the target software to deviate from its expected operation in a manner that benefits the attacker.
  • Footprinting
    An attacker engages in probing and exploration activity to identify constituents and properties of the target. Footprinting is a general term to describe a variety of information gathering techniques, often used by attackers in preparation for some attack. It consists of using tools to learn as much as possible about the composition, configuration, and security mechanisms of the targeted application, system or network. Information that might be collected during a footprinting effort could include open ports, applications and their versions, network topology, and similar information. While footprinting is not intended to be damaging (although certain activities, such as network scans, can sometimes cause disruptions to vulnerable applications inadvertently) it may often pave the way for more damaging attacks.
  • Exploiting Trust in Client (aka Make the Client Invisible)
    An attack of this type exploits a programs' vulnerabilities in client/server communication channel authentication and data integrity. It leverages the implicit trust a server places in the client, or more importantly, that which the server believes is the client. An attacker executes this type of attack by placing themselves in the communication channel between client and server such that communication directly to the server is possible where the server believes it is communicating only with a valid client. There are numerous variations of this type of attack.
  • Browser Fingerprinting
    An attacker carefully crafts small snippets of Java Script to efficiently detect the type of browser the potential victim is using. Many web-based attacks need prior knowledge of the web browser including the version of browser to ensure successful exploitation of a vulnerability. Having this knowledge allows an attacker to target the victim with attacks that specifically exploit known or zero day weaknesses in the type and version of the browser used by the victim. Automating this process via Java Script as a part of the same delivery system used to exploit the browser is considered more efficient as the attacker can supply a browser fingerprinting method and integrate it with exploit code, all contained in Java Script and in response to the same web page request by the browser.
  • Session Credential Falsification through Prediction
    This attack targets predictable session ID in order to gain privileges. The attacker can predict the session ID used during a transaction to perform spoofing and session hijacking.

Exploit-Db

descriptionManageEngine DeviceExpert 5.9 - User Credential Disclosure. CVE-2014-5377. Webapps exploits for multiple platform
fileexploits/multiple/webapps/34449.txt
idEDB-ID:34449
last seen2016-02-03
modified2014-08-28
platformmultiple
port
published2014-08-28
reporterPedro Ribeiro
sourcehttps://www.exploit-db.com/download/34449/
titleManageEngine DeviceExpert 5.9 - User Credential Disclosure
typewebapps

Metasploit

descriptionThis module extracts usernames and salted MD5 password hashes from ManageEngine DeviceExpert version 5.9 build 5980 and prior. This module has been tested successfully on DeviceExpert version 5.9.7 build 5970.
idMSF:AUXILIARY/SCANNER/HTTP/MANAGEENGINE_DEVICEEXPERT_USER_CREDS
last seen2020-06-05
modified2019-03-05
published2014-09-18
referenceshttps://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2014-5377
reporterRapid7
sourcehttps://github.com/rapid7/metasploit-framework/blob/master//modules/auxiliary/scanner/http/manageengine_deviceexpert_user_creds.rb
titleManageEngine DeviceExpert User Credentials

Nessus

NASL familyCGI abuses
NASL idMANAGEENGINE_DEVICEEXPERT_CVE-2014-5377.NASL
descriptionManageEngine DeviceExpert exposes user names and password hashes via a specially crafted GET request for
last seen2020-03-18
modified2014-09-04
plugin id77530
published2014-09-04
reporterThis script is Copyright (C) 2014-2020 Tenable Network Security, Inc.
sourcehttps://www.tenable.com/plugins/nessus/77530
titleManageEngine DeviceExpert Unauthorized Information Disclosure
code
#
# (C) Tenable Network Security, Inc.
#

include("compat.inc");

if (description)
{
  script_id(77530);
  script_version("1.9");
  script_set_attribute(attribute:"plugin_modification_date", value:"2020/02/26");

  script_cve_id("CVE-2014-5377");
  script_bugtraq_id(69443);
  script_xref(name:"EDB-ID", value:"34449");

  script_name(english:"ManageEngine DeviceExpert Unauthorized Information Disclosure");
  script_summary(english:"Tries to exploit the issue.");

  script_set_attribute(attribute:"synopsis", value:
"The remote web server contains a web application affected by an
information disclosure vulnerability.");
  script_set_attribute(attribute:"description", value:
"ManageEngine DeviceExpert exposes user names and password hashes via
a specially crafted GET request for 'ReadUsersFromMasterServlet'.");

  # https://www.manageengine.com/network-configuration-manager/release-notes.html#5981
  script_set_attribute(attribute:"see_also",value:"http://www.nessus.org/u?af669cc9");
  script_set_attribute(attribute:"solution", value:"Upgrade to DeviceExpert 5.9 Build 5981.");
  script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:P/I:N/A:N");
  script_set_cvss_temporal_vector("CVSS2#E:POC/RL:OF/RC:ND");
  script_set_attribute(attribute:"cvss_score_source", value:"CVE-2014-5377");
  script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available");
  script_set_attribute(attribute:"exploit_available", value:"true");
script_set_attribute(attribute:"patch_publication_date", value:"2014/09/01");
  script_set_attribute(attribute:"vuln_publication_date", value:"2014/08/27");
  script_set_attribute(attribute:"plugin_publication_date", value:"2014/09/04");

  script_set_attribute(attribute:"plugin_type", value:"remote");
  script_set_attribute(attribute:"cpe", value:"cpe:/a:zohocorp:manageengine:device_expert");
  script_set_attribute(attribute:"exploited_by_nessus", value:"true");
  script_end_attributes();

  script_category(ACT_GATHER_INFO);
  script_family(english:"CGI abuses");

  script_copyright(english:"This script is Copyright (C) 2014-2020 Tenable Network Security, Inc.");

  script_dependencies("manageengine_deviceexpert_detect.nasl");
  script_require_keys("installed_sw/manageengine_deviceexpert");
  script_require_ports("Services/www", 6060);

  exit(0);
}

include("audit.inc");
include("global_settings.inc");
include("misc_func.inc");
include("http.inc");
include("install_func.inc");

app = "manageengine_deviceexpert";
get_kb_item_or_exit("installed_sw/"+app);

port = get_http_port(default:6060);

install = get_single_install(
  app_name : app,
  port     : port
);

tar = "ReadUsersFromMasterServlet";
dir = install["path"];
url = build_url(port:port, qs:dir);

res = http_send_recv3(
  method       : "GET",
  item         : url+tar,
  port         : port,
  exit_on_fail : TRUE
);

username = pregmatch(pattern:"<username>([^<]+)<\/username>",string:res[2]);
if(
  empty_or_null(res) || empty_or_null(res[2]) ||
  empty_or_null(username)
) audit(AUDIT_WEB_APP_NOT_AFFECTED, "ManageEngine DeviceExpert", url);

username = username[1];
report = NULL;
attach_file = NULL;
output = NULL;
req = http_last_sent_request();
request = NULL;

# If we got here, we got the information we needed
if (report_verbosity > 0)
{
  report =
    '\nNessus was able to verify the issue exists using the following request :' +
    '\n' +
    '\n' + req +
    '\n';
  if(report_verbosity <= 1)
  {
    report +=
      '\n' + "The response contained the following user name : "+
      '\n' +
      '\n' + username +
      '\n';
  }
  else if(report_verbosity > 1)
  {
    output = res[2];
    attach_file = "user_data.txt";
    request = make_list(req);
  }
}

security_report_v4(port:port,
                   extra:report,
                   severity:SECURITY_WARNING,
                   request:request,
                   file:attach_file,
                   output:output);

Packetstorm

data sourcehttps://packetstormsecurity.com/files/download/128019/manageengine-disclose.txt
idPACKETSTORM:128019
last seen2016-12-05
published2014-08-27
reporterPedro Ribeiro
sourcehttps://packetstormsecurity.com/files/128019/ManageEngine-DeviceExpert-5.9-Credential-Disclosure.html
titleManageEngine DeviceExpert 5.9 Credential Disclosure

Seebug

bulletinFamilyexploit
descriptionNo description provided by source.
idSSV:87212
last seen2017-11-19
modified2014-09-04
published2014-09-04
reporterRoot
sourcehttps://www.seebug.org/vuldb/ssvid-87212
titleManageEngine DeviceExpert 5.9 - User Credential Disclosure