Vulnerabilities > CVE-2018-11409 - Information Exposure vulnerability in Splunk

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
splunk
CWE-200
nessus
exploit available

Summary

Splunk through 7.0.1 allows information disclosure by appending __raw/services/server/info/server-info?output_mode=json to a query, as demonstrated by discovering a license key.

Vulnerable Configurations

Part Description Count
Application
Splunk
251

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

descriptionSplunk < 7.0.1 - Information Disclosure. CVE-2018-11409. Webapps exploit for Linux platform
fileexploits/linux/webapps/44865.txt
idEDB-ID:44865
last seen2018-06-09
modified2018-06-08
platformlinux
port
published2018-06-08
reporterExploit-DB
sourcehttps://www.exploit-db.com/download/44865/
titleSplunk < 7.0.1 - Information Disclosure
typewebapps

Nessus

  • NASL familyCGI abuses
    NASL idSPLUNK_CVE_2018-11409_DIRECT.NASL
    descriptionThe Splunk installation running on the remote web server is affected by an information disclosure vulnerability at a Splunk REST endpoint. An unauthenticated, remote attacker can exploit this, via a specially crafted request, to disclose potentially sensitive information
    last seen2020-06-01
    modified2020-06-02
    plugin id121164
    published2019-01-14
    reporterThis script is Copyright (C) 2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/121164
    titleSplunk Information Disclosure Vulnerability (SP-CAAAP5E)
    code
    #
    # (C) Tenable Network Security, Inc.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(121164);
      script_version("1.4");
      script_cvs_date("Date: 2019/10/18 17:08:13");
    
      script_cve_id("CVE-2018-11409");
      script_xref(name:"EDB-ID", value:"44865");
    
      script_name(english:"Splunk Information Disclosure Vulnerability (SP-CAAAP5E)");
      script_summary(english:"Attempts to exploit an information disclosure vulnerability.");
    
      script_set_attribute(attribute:"synopsis", value:
    "An application running on the remote web server is affected by an information disclosure vulnerability.");
      script_set_attribute(attribute:"description", value:
    "The Splunk installation running on the remote web server is affected by an information disclosure vulnerability at a
    Splunk REST endpoint. An unauthenticated, remote attacker can exploit this, via a specially crafted request, to disclose
    potentially sensitive information");
      # https://www.splunk.com/view/SP-CAAAP5E
      script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?eaef4f0a");
      # https://www.exploit-db.com/exploits/44865
      script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?98482484");
      script_set_attribute(attribute:"solution", value:
    "Consult your vendor for a patch or a workaround.");
      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:C");
      script_set_cvss3_base_vector("CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N");
      script_set_cvss3_temporal_vector("CVSS:3.0/E:P/RL:O/RC:C");
      script_set_attribute(attribute:"cvss_score_source", value:"CVE-2018-11409");
      script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available");
      script_set_attribute(attribute:"exploit_available", value:"true");
    
      script_set_attribute(attribute:"vuln_publication_date", value:"2018/06/08");
      script_set_attribute(attribute:"patch_publication_date", value:"2018/06/18");
      script_set_attribute(attribute:"plugin_publication_date", value:"2019/01/14");
    
      script_set_attribute(attribute:"plugin_type", value:"remote");
      script_set_attribute(attribute:"cpe", value:"cpe:/a:splunk:splunk");
      script_end_attributes();
    
      script_category(ACT_ATTACK);
      script_family(english:"CGI abuses");
    
      script_copyright(english:"This script is Copyright (C) 2019 and is owned by Tenable, Inc. or an Affiliate thereof.");
      script_dependencies("splunkd_detect.nasl", "splunk_web_detect.nasl");
      script_require_ports("Services/www", 8089, 8000);
      script_require_keys("installed_sw/Splunk");
    
      exit(0);
    }
    
    include('global_settings.inc');
    include('webapp_func.inc');
    include('http.inc');
    include('debug.inc');
    
    app = 'Splunk';
    port = get_http_port(default:8000, embedded:TRUE);
    get_install_from_kb(appname:app, port:port, exit_on_fail:TRUE);
    
    req = '/en-US/splunkd/__raw/services/server/info/server-info?output_mode=json';
    res = http_send_recv3(method:'GET', item:req, port:port);
    dbg::log(msg:'Request:\n' + http_last_sent_request() + '\n');
    dbg::log(msg:'Response:\nSTATUS:\n' + res[0] + '\nHEADERS:\n' + res[1] + '\nBODY:\n' + res[2] + '\n');
    
    matches = pregmatch(pattern: '"os_name":"(.*?)"', string:res[2]);
    if (!isnull(matches)) os_name = matches[1];
    else os_name = '';
    
    matches = pregmatch(pattern: '"os_version":"(.*?)"', string:res[2]);
    if (!isnull(matches)) os_version = matches[1];
    else os_version = '';
    
    matches = pregmatch(pattern: '"product_type":"(.*?)"', string:res[2]);
    if (!isnull(matches)) product_type = matches[1];
    else product_type = '';
    
    matches = pregmatch(pattern: '"serverName":"(.*?)"', string:res[2]);
    if (!isnull(matches)) server_name = matches[1];
    else server_name = '';
    
    matches = pregmatch(pattern: '"version":"(.*?)"', string:res[2]);
    if (!isnull(matches)) product_version = matches[1];
    else product_version = '';
    
    if (!(os_name | os_version | product_type | server_name | product_version))
      audit(AUDIT_LISTEN_NOT_VULN,'Splunk' , port);
    
    report = 'Nessus was able to exploit the issue by sending the following request:\n' + req;
    report += '\n\nThe following information was retrieved:\n';
    if (os_name) report += 'OS name: ' + os_name + '\n';
    if (os_version) report += 'OS version: ' + os_version + '\n';
    if (product_type) report += 'Product type: ' + product_type + '\n';
    if (product_version) report += 'Product version: ' + product_version + '\n';
    if (server_name) report += 'Server name: ' + server_name + '\n';
    
    security_report_v4(port:port, extra:report, severity:SECURITY_WARNING);
    
  • NASL familyCGI abuses
    NASL idSPLUNK_INFORMATION_EXPOSURE_660.NASL
    descriptionAccording to its self-reported version number, the version of Splunk running on the remote web server is Splunk Enterprise 6.x prior to 6.6.0. Therefore it is affected by an information disclosure vulnerability at a Splunk REST endpoint. An unauthenticated, remote attacker can exploit this via the submission a specially crafted request, to disclose potentially sensitive information about the operating system, hardware and Splunk license.
    last seen2020-06-01
    modified2020-06-02
    plugin id121163
    published2019-01-14
    reporterThis script is Copyright (C) 2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/121163
    titleSplunk Information Exposure (SP-CAAAP5E

Packetstorm

data sourcehttps://packetstormsecurity.com/files/download/148111/splunk701-disclose.txt
idPACKETSTORM:148111
last seen2018-06-14
published2018-06-11
reporterKoF2002
sourcehttps://packetstormsecurity.com/files/148111/Splunk-6.2.3-7.0.1-Information-Disclosure.html
titleSplunk 6.2.3 / 7.0.1 Information Disclosure