Vulnerabilities > CVE-2017-3283 - Improper Input Validation vulnerability in Oracle Partner Management

047910
CVSS 4.7 - MEDIUM
Attack vector
NETWORK
Attack complexity
LOW
Privileges required
NONE
Confidentiality impact
NONE
Integrity impact
LOW
Availability impact
NONE
network
low complexity
oracle
CWE-20
nessus

Summary

Vulnerability in the Oracle Partner Management component of Oracle E-Business Suite (subcomponent: User Interface). Supported versions that are affected are 12.1.1, 12.1.2, 12.1.3, 12.2.3, 12.2.4, 12.2.5 and 12.2.6. Easily exploitable vulnerability allows unauthenticated attacker with network access via HTTP to compromise Oracle Partner Management. Successful attacks require human interaction from a person other than the attacker and while the vulnerability is in Oracle Partner Management, attacks may significantly impact additional products. Successful attacks of this vulnerability can result in unauthorized update, insert or delete access to some of Oracle Partner Management accessible data. CVSS v3.0 Base Score 4.7 (Integrity impacts).

Common Weakness Enumeration (CWE)

Common Attack Pattern Enumeration and Classification (CAPEC)

  • Buffer Overflow via Environment Variables
    This attack pattern involves causing a buffer overflow through manipulation of environment variables. Once the attacker finds that they can modify an environment variable, they may try to overflow associated buffers. This attack leverages implicit trust often placed in environment variables.
  • Server Side Include (SSI) Injection
    An attacker can use Server Side Include (SSI) Injection to send code to a web application that then gets executed by the web server. Doing so enables the attacker to achieve similar results to Cross Site Scripting, viz., arbitrary code execution and information disclosure, albeit on a more limited scale, since the SSI directives are nowhere near as powerful as a full-fledged scripting language. Nonetheless, the attacker can conveniently gain access to sensitive files, such as password files, and execute shell commands.
  • Cross Zone Scripting
    An attacker is able to cause a victim to load content into their web-browser that bypasses security zone controls and gain access to increased privileges to execute scripting code or other web objects such as unsigned ActiveX controls or applets. This is a privilege elevation attack targeted at zone-based web-browser security. In a zone-based model, pages belong to one of a set of zones corresponding to the level of privilege assigned to that page. Pages in an untrusted zone would have a lesser level of access to the system and/or be restricted in the types of executable content it was allowed to invoke. In a cross-zone scripting attack, a page that should be assigned to a less privileged zone is granted the privileges of a more trusted zone. This can be accomplished by exploiting bugs in the browser, exploiting incorrect configuration in the zone controls, through a cross-site scripting attack that causes the attackers' content to be treated as coming from a more trusted page, or by leveraging some piece of system functionality that is accessible from both the trusted and less trusted zone. This attack differs from "Restful Privilege Escalation" in that the latter correlates to the inadequate securing of RESTful access methods (such as HTTP DELETE) on the server, while cross-zone scripting attacks the concept of security zones as implemented by a browser.
  • Cross Site Scripting through Log Files
    An attacker may leverage a system weakness where logs are susceptible to log injection to insert scripts into the system's logs. If these logs are later viewed by an administrator through a thin administrative interface and the log data is not properly HTML encoded before being written to the page, the attackers' scripts stored in the log will be executed in the administrative interface with potentially serious consequences. This attack pattern is really a combination of two other attack patterns: log injection and stored cross site scripting.
  • Command Line Execution through SQL Injection
    An attacker uses standard SQL injection methods to inject data into the command line for execution. This could be done directly through misuse of directives such as MSSQL_xp_cmdshell or indirectly through injection of data into the database that would be interpreted as shell commands. Sometime later, an unscrupulous backend application (or could be part of the functionality of the same application) fetches the injected data stored in the database and uses this data as command line arguments without performing proper validation. The malicious data escapes that data plane by spawning new commands to be executed on the host.

Nessus

NASL familyMisc.
NASL idORACLE_E-BUSINESS_CPU_JAN_2017.NASL
descriptionThe version of Oracle E-Business installed on the remote host is missing the January 2017 Oracle Critical Patch Update (CPU). It is, therefore, affected by multiple unspecified vulnerabilities in multiple components and subcomponents, the most severe of which can allow an unauthenticated, remote attacker to affect both confidentiality and integrity. The affected components and subcomponents are as follows : - Oracle Advanced Outbound Telephony : User Interface - Oracle Application Object Library : Patching - Oracle Applications DBA : Patching - Oracle Applications Manager : OAM Client - Oracle Common Applications : Resources Module - Oracle Common Applications : Role Summary - Oracle Common Applications : User Interface - Oracle CRM Technical Foundation : User Interface - Oracle Customer Intelligence : User Interface - Oracle Customer Interaction History : User Interface - Oracle Email Center : User Interface - Oracle Fulfillment Manager : User Interface - Oracle Installed Base : User Interface - Oracle Interaction Blending : User Interface - Oracle iStore : Address Book - Oracle iStore : User Interface - Oracle Knowledge Management : User Interface - Oracle Leads Management : User Interface - Oracle Marketing : User Interface - Oracle One-to-One Fulfillment : Internal Operations - Oracle One-to-One Fulfillment : Request Confirmation - Oracle One-to-One Fulfillment : User Interface - Oracle Partner Management : User Interface - Oracle Service Fulfillment Manager : User Interface - Oracle Universal Work Queue : User Interface - Oracle XML Gateway : Oracle Transport Agent
last seen2020-06-01
modified2020-06-02
plugin id96608
published2017-01-18
reporterThis script is Copyright (C) 2017-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
sourcehttps://www.tenable.com/plugins/nessus/96608
titleOracle E-Business Multiple Vulnerabilities (January 2017 CPU)
code
#
# (C) Tenable Network Security, Inc.
#

include("compat.inc");

if (description)
{
  script_id(96608);
  script_version("1.9");
  script_cvs_date("Date: 2019/11/14");

  script_cve_id(
    "CVE-2016-8325",
    "CVE-2017-3246",
    "CVE-2017-3274",
    "CVE-2017-3275",
    "CVE-2017-3277",
    "CVE-2017-3278",
    "CVE-2017-3279",
    "CVE-2017-3280",
    "CVE-2017-3281",
    "CVE-2017-3282",
    "CVE-2017-3283",
    "CVE-2017-3284",
    "CVE-2017-3285",
    "CVE-2017-3286",
    "CVE-2017-3287",
    "CVE-2017-3303",
    "CVE-2017-3326",
    "CVE-2017-3327",
    "CVE-2017-3328",
    "CVE-2017-3333",
    "CVE-2017-3334",
    "CVE-2017-3335",
    "CVE-2017-3336",
    "CVE-2017-3338",
    "CVE-2017-3339",
    "CVE-2017-3340",
    "CVE-2017-3341",
    "CVE-2017-3343",
    "CVE-2017-3344",
    "CVE-2017-3346",
    "CVE-2017-3348",
    "CVE-2017-3349",
    "CVE-2017-3350",
    "CVE-2017-3351",
    "CVE-2017-3352",
    "CVE-2017-3353",
    "CVE-2017-3354",
    "CVE-2017-3357",
    "CVE-2017-3358",
    "CVE-2017-3359",
    "CVE-2017-3360",
    "CVE-2017-3361",
    "CVE-2017-3362",
    "CVE-2017-3363",
    "CVE-2017-3364",
    "CVE-2017-3365",
    "CVE-2017-3366",
    "CVE-2017-3367",
    "CVE-2017-3368",
    "CVE-2017-3369",
    "CVE-2017-3370",
    "CVE-2017-3371",
    "CVE-2017-3372",
    "CVE-2017-3373",
    "CVE-2017-3374",
    "CVE-2017-3375",
    "CVE-2017-3376",
    "CVE-2017-3377",
    "CVE-2017-3378",
    "CVE-2017-3379",
    "CVE-2017-3380",
    "CVE-2017-3381",
    "CVE-2017-3382",
    "CVE-2017-3383",
    "CVE-2017-3384",
    "CVE-2017-3385",
    "CVE-2017-3386",
    "CVE-2017-3387",
    "CVE-2017-3388",
    "CVE-2017-3389",
    "CVE-2017-3390",
    "CVE-2017-3391",
    "CVE-2017-3392",
    "CVE-2017-3394",
    "CVE-2017-3395",
    "CVE-2017-3396",
    "CVE-2017-3397",
    "CVE-2017-3398",
    "CVE-2017-3399",
    "CVE-2017-3400",
    "CVE-2017-3401",
    "CVE-2017-3402",
    "CVE-2017-3403",
    "CVE-2017-3404",
    "CVE-2017-3405",
    "CVE-2017-3406",
    "CVE-2017-3407",
    "CVE-2017-3408",
    "CVE-2017-3409",
    "CVE-2017-3410",
    "CVE-2017-3411",
    "CVE-2017-3412",
    "CVE-2017-3413",
    "CVE-2017-3414",
    "CVE-2017-3415",
    "CVE-2017-3416",
    "CVE-2017-3417",
    "CVE-2017-3418",
    "CVE-2017-3419",
    "CVE-2017-3420",
    "CVE-2017-3421",
    "CVE-2017-3422",
    "CVE-2017-3423",
    "CVE-2017-3424",
    "CVE-2017-3425",
    "CVE-2017-3426",
    "CVE-2017-3427",
    "CVE-2017-3428",
    "CVE-2017-3429",
    "CVE-2017-3430",
    "CVE-2017-3431",
    "CVE-2017-3433",
    "CVE-2017-3435",
    "CVE-2017-3436",
    "CVE-2017-3437",
    "CVE-2017-3438",
    "CVE-2017-3439",
    "CVE-2017-3440",
    "CVE-2017-3441",
    "CVE-2017-3442",
    "CVE-2017-3443"
  );
  script_bugtraq_id(
    95463,
    95464,
    95465,
    95467,
    95468,
    95485,
    95487,
    95490,
    95492,
    95497,
    95500,
    95511,
    95523,
    95526,
    95531,
    95561,
    95564,
    95569,
    95573,
    95577,
    95582,
    95586,
    95587,
    95591,
    95593,
    95594,
    95595,
    95597,
    95598,
    95600,
    95602,
    95604,
    95605,
    95610,
    95611,
    95612,
    95613,
    95614,
    95615,
    95616,
    95617,
    95618
  );

  script_name(english:"Oracle E-Business Multiple Vulnerabilities (January 2017 CPU)");
  script_summary(english:"Checks for the January 2017 CPU.");

  script_set_attribute(attribute:"synopsis", value:
"A web application installed on the remote host is affected by multiple
vulnerabilities.");
  script_set_attribute(attribute:"description", value:
"The version of Oracle E-Business installed on the remote host is
missing the January 2017 Oracle Critical Patch Update (CPU). It is,
therefore, affected by multiple unspecified vulnerabilities in
multiple components and subcomponents, the most severe of which can
allow an unauthenticated, remote attacker to affect both
confidentiality and integrity. The affected components and
subcomponents are as follows :

  - Oracle Advanced Outbound Telephony : User Interface
  - Oracle Application Object Library : Patching
  - Oracle Applications DBA : Patching
  - Oracle Applications Manager : OAM Client
  - Oracle Common Applications : Resources Module
  - Oracle Common Applications : Role Summary
  - Oracle Common Applications : User Interface
  - Oracle CRM Technical Foundation : User Interface
  - Oracle Customer Intelligence : User Interface
  - Oracle Customer Interaction History : User Interface
  - Oracle Email Center : User Interface
  - Oracle Fulfillment Manager : User Interface
  - Oracle Installed Base : User Interface
  - Oracle Interaction Blending : User Interface
  - Oracle iStore : Address Book
  - Oracle iStore : User Interface
  - Oracle Knowledge Management : User Interface
  - Oracle Leads Management : User Interface
  - Oracle Marketing : User Interface
  - Oracle One-to-One Fulfillment : Internal Operations
  - Oracle One-to-One Fulfillment : Request Confirmation
  - Oracle One-to-One Fulfillment : User Interface
  - Oracle Partner Management : User Interface
  - Oracle Service Fulfillment Manager : User Interface
  - Oracle Universal Work Queue : User Interface
  - Oracle XML Gateway : Oracle Transport Agent");
  # https://www.oracle.com/technetwork/security-advisory/cpujan2017-2881727.html#AppendixEBS
  script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?2f2c97c2");
  script_set_attribute(attribute:"solution", value:
"Apply the appropriate patch according to the January 2017 Oracle
Critical Patch Update advisory.");
  script_set_cvss_base_vector("CVSS2#AV:N/AC:M/Au:N/C:P/I:P/A:P");
  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:R/S:C/C:H/I:L/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-2017-3346");

  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:"2017/01/18");
  script_set_attribute(attribute:"patch_publication_date", value:"2017/01/18");
  script_set_attribute(attribute:"plugin_publication_date", value:"2017/01/18");

  script_set_attribute(attribute:"plugin_type", value:"local");
  script_set_attribute(attribute:"cpe", value:"cpe:/a:oracle:e-business_suite");
  script_end_attributes();

  script_category(ACT_GATHER_INFO);
  script_family(english:"Misc.");

  script_copyright(english:"This script is Copyright (C) 2017-2019 and is owned by Tenable, Inc. or an Affiliate thereof.");

  script_dependencies("oracle_e-business_query_patch_info.nbin");
  script_require_keys("Oracle/E-Business/Version", "Oracle/E-Business/patches/installed");

  exit(0);
}

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

version = get_kb_item_or_exit("Oracle/E-Business/Version");
patches = get_kb_item_or_exit("Oracle/E-Business/patches/installed");

# Batch checks
if (patches) patches = split(patches, sep:',', keep:FALSE);
else patches = make_list();

p12_1 = '25032333';
p12_2 = '25032335';

# Check if the installed version is an affected version
affected_versions = make_array(
  '12.1.1', make_list(p12_1),
  '12.1.2', make_list(p12_1),
  '12.1.3', make_list(p12_1),

  '12.2.3', make_list(p12_2),
  '12.2.4', make_list(p12_2),
  '12.2.5', make_list(p12_2),
  '12.2.6', make_list(p12_2)
);

patched = FALSE;
affectedver = FALSE;

if (affected_versions[version])
{
  affectedver = TRUE;
  patchids = affected_versions[version];
  foreach required_patch (patchids)
  {
    foreach applied_patch (patches)
    {
      if(required_patch == applied_patch)
      {
        patched = applied_patch;
        break;
      }
    }
    if(patched) break;
  }
  if(!patched) patchreport = join(patchids,sep:" or ");
}

if (!patched && affectedver)
{
  if(report_verbosity > 0)
  {
    report =
      '\n  Installed version : '+version+
      '\n  Fixed version     : '+version+' Patch '+patchreport+
      '\n';
    security_warning(port:0,extra:report);
  }
  else security_warning(0);
  exit(0);
}
else if (!affectedver) audit(AUDIT_INST_VER_NOT_VULN, 'Oracle E-Business', version);
else exit(0, 'The Oracle E-Business server ' + version + ' is not affected because patch ' + patched + ' has been applied.');