Lucene search
+L

Oracle E-Business Suite (EBS) Detection (HTTP)

🗓️ 27 Apr 2017 00:00:00Reported by Copyright (C) 2017 Greenbone AGType 
openvas
 openvas
🔗 plugins.openvas.org👁 19 Views

Oracle E-Business Suite (EBS) Detection (HTTP) Summary: HTTP based detection of Oracle E-Business Suite (EBS). For more information, visit https://www.oracle.com/applications/ebusiness

Refs
Code
# SPDX-FileCopyrightText: 2017 Greenbone AG
# Some text descriptions might be excerpted from (a) referenced
# source(s), and are Copyright (C) by the respective right holder(s).
#
# SPDX-License-Identifier: GPL-2.0-only

if(description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.811015");
  script_version("2024-05-17T05:05:27+0000");
  script_tag(name:"last_modification", value:"2024-05-17 05:05:27 +0000 (Fri, 17 May 2024)");
  script_tag(name:"creation_date", value:"2017-04-27 10:34:57 +0530 (Thu, 27 Apr 2017)");
  script_tag(name:"cvss_base", value:"0.0");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:N/I:N/A:N");

  script_tag(name:"qod_type", value:"remote_banner");

  script_name("Oracle E-Business Suite (EBS) Detection (HTTP)");

  script_category(ACT_GATHER_INFO);

  script_copyright("Copyright (C) 2017 Greenbone AG");
  script_family("Product detection");
  script_dependencies("find_service.nasl", "httpver.nasl", "global_settings.nasl");
  script_require_ports("Services/www", 443);
  script_exclude_keys("Settings/disable_cgi_scanning");

  script_tag(name:"summary", value:"HTTP based detection of Oracle E-Business Suite (EBS).");

  script_xref(name:"URL", value:"https://www.oracle.com/applications/ebusiness/");

  exit(0);
}

include("cpe.inc");
include("http_func.inc");
include("http_keepalive.inc");
include("port_service_func.inc");
include("host_details.inc");

port = http_get_port(default: 443);

url = "/OA_HTML/AppsLocalLogin.jsp";

# Response might include a dynamic redirect URL which might not be valid anymore so we don't use
# http_get_cache()
req = http_get(port: port, item: url);
res = http_keepalive_send_recv(port: port, data: req);

if ('title="Oracle Logo"' >!< res || "message=FND_SSO_USER_NAME>User Name" >!< res) {
  if (res =~ "^HTTP/1\.[01] 30[0-9]") {
    loc = http_extract_location_from_redirect(port: port, data: res, current_dir: "/");
    if (!loc || loc !~ "^/OA_HTML/RF\.jsp")
      exit(0);

    url = loc;
    # nb: Same reason like above why http_get_cache() is not used here
    req = http_get(port: port, item: url);
    res = http_keepalive_send_recv(port: port, data: req);
    if ("<title>Login</title>" >!< res || 'content="Oracle UIX"' >!< res) {
      exit(0);
    }
  } else {
    exit(0);
  }
}

version = "unknown";
install = "/";

set_kb_item(name: "oracle/ebs/detected", value: TRUE);
set_kb_item(name: "oracle/ebs/http/detected", value: TRUE);

conclUrl = http_report_vuln_url(port: port, url: url, url_only: TRUE);

# nb: This is not always there / is responding with a 200 status code but an empty body for
# currently unknown reasons.
url = "/OA_HTML/FrmReportData";
res2 = http_get_cache(port: port, item: url);

# /OA_HTML/cabo/jsLibs/Common12_2_11_0_0.js
vers = eregmatch(pattern: '/OA_HTML/cabo/jsLibs/Common([0-9]+_[0-9]+_[0-9]+)[^"]+', string: res2);
if (!isnull(vers[1])) {
  version = str_replace(string: vers[1], find: "_", replace: ".");
  conclUrl += '\n' + http_report_vuln_url(port: port, url: url, url_only: TRUE);
}

if (version == "unknown") {

  # e.g.:
  # src="/OA_HTML/cabo/oajsLibs/oafcoreR12RUP6.js">
  # src="/OA_HTML/cabo/oajsLibs/oafcoreR121.js">
  #
  # nb:
  # - Not fully clear if this is the "full" release so we're adding it only as an "extra" and not
  #   using the version for now
  # - This seems to only exists on the initial "redirected" file "/OA_HTML/RF.jsp"
  vers = eregmatch(pattern: "/OA_HTML/cabo/oajsLibs/oafcore([A-Z0-9]+)\.js", string: res);
  if (!isnull(vers[1]))
    extra = "  Possible version extracted: " + vers[1];
}

cpe = build_cpe(value: version, exp: "^([0-9.]+)", base: "cpe:/a:oracle:e-business_suite:");
if (!cpe)
  cpe = "cpe:/a:oracle:e-business_suite";

register_product(cpe: cpe, location: install, port: port, service: "www");

log_message(data: build_detection_report(app: "Oracle E-Business Suite (EBS)", version: version, extra: extra,
                                         install: install, cpe: cpe, concluded: vers[0], concludedUrl: conclUrl),
            port: port);

exit(0);

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

17 May 2024 00:00Current
7High risk
Vulners AI Score7
19