Advantech WebAccess < 8.1-2015.12.30 Multiple Vulnerabilities - Nessus

High   Plugin ID: 89111

This page contains detailed information about the Advantech WebAccess < 8.1-2015.12.30 Multiple Vulnerabilities Nessus plugin including available exploits and PoCs found on GitHub, in Metasploit or Exploit-DB for verifying of this vulnerability.

Plugin Overview


ID: 89111
Name: Advantech WebAccess < 8.1-2015.12.30 Multiple Vulnerabilities
Filename: scada_advantech_webaccess_8_1_2015_12_30.nbin
Vulnerability Published: 2016-01-14
This Plugin Published: 2016-03-03
Last Modification Time: 2022-05-03
Plugin Version: 1.81
Plugin Type: remote
Plugin Family: SCADA
Dependencies: scada_advantech_webaccess_detect.nbin
Required KB Items [?]: www/scada_advantech_webaccess

Vulnerability Information


Severity: High
Vulnerability Published: 2016-01-14
Patch Published: 2015-12-21
CVE [?]: CVE-2015-3943, CVE-2015-3946, CVE-2015-3947, CVE-2015-3948, CVE-2015-6467, CVE-2016-0851, CVE-2016-0852, CVE-2016-0853, CVE-2016-0854, CVE-2016-0855, CVE-2016-0856, CVE-2016-0857, CVE-2016-0858, CVE-2016-0859, CVE-2016-0860
CPE [?]: cpe:/a:advantech:webaccess

Synopsis

The remote host has a web application running that is affected by multiple vulnerabilities.

Description

The Advantech WebAccess application running on the remote host is prior to version 8.1-2015.12.30. It is, therefore, affected by multiple vulnerabilities :

- An information disclosure vulnerability exists due to the storage of email project accounts in plaintext. A remote attacker can exploit this to disclose sensitive information about email project accounts. (CVE-2015-3943)

- A cross-site request forgery vulnerability exists due to a failure to require multiple steps, explicit confirmation, or a unique token when performing sensitive actions. A remote attacker can exploit this, by convincing a user to follow a specially crafted link, to hijack the authentication of users. (CVE-2015-3946)

- A SQL injection vulnerability exists due to improper sanitization of user-supplied input before using it in SQL queries. A remote, authenticated attacker can exploit this to inject or manipulate SQL queries to the back-end database, resulting in the manipulation or disclosure of arbitrary data. (CVE-2015-3947)

- A cross-site scripting vulnerability exists due to improper validation of input before returning it to users. A remote, authenticated attacker can exploit this, via a specially crafted request, to execute arbitrary script code in a user's browser session. (CVE-2015-3948)

- A remote code execution vulnerability exists in the browser plugin due to improper sanitization of input to file names and paths. A remote attacker can exploit this to execute arbitrary code. (CVE-2015-6467)

- A remote code execution vulnerability exists due to a format string flaw in BwOpcSvc.dll that is triggered as format string specifiers (e.g. %s and %x) are not properly provided when handling IOCTL 0x13881. A remote attacker can exploit this, via a specially crafted request to the webvrpcs service, to execute arbitrary code. (CVE-2016-0851)

- An unspecified flaw exists due to improper access control. A remote attacker can exploit this to gain access to arbitrary files and folders. (CVE-2016-0852)

- An information disclosure vulnerability exists due to an unspecified input validation flaw. A remote attacker can exploit this to disclose sensitive information. (CVE-2016-0853)

- Multiple remote code execution vulnerabilities exist due to improper validation of file types and extensions by the UploadAjaxAction, SaveGeneralFile, and FileUpload scripts. A remote attacker can exploit these issues to upload arbitrary files and execute them with SYSTEM privileges. (CVE-2016-0854) - Multiple path traversal and file overwrite vulnerabilities exist in the Dashboard Viewer due to improper sanitization of user-supplied input in the renameFolder, addFolder, removeFolder, removeFile, and openWidget scripts. A remote attacker can exploit these issues, via a specially crafted request, to rename or overwrite arbitrary files and folders. (CVE-2016-0855)

- Multiple remote code execution vulnerabilities exist due to improper validation of user-supplied input when handling IOCTL calls. A remote attacker can exploit these issues, via a specially crafted request to the webvrpcs or datacore service, to cause a stack-based buffer overflow, resulting in a denial of service condition or the execution of arbitrary code. (CVE-2016-0856)

- Multiple remote code execution vulnerabilities exist due to improper validation of user-supplied input when handling IOCTL calls. A remote attacker can exploit these issues, via a specially crafted request to the webvrpcs or datacore service, to cause a heap-based buffer overflow, resulting in a denial of service condition or the execution of arbitrary code. (CVE-2016-0857)

- A remote code execution vulnerability exists due to improper validation of user-supplied input when handling IOCTL 0x7920. A remote attacker can exploit this, via a specially crafted request to the datacore service, to cause a stack-based buffer overflow, resulting in a denial of service condition or the execution of arbitrary code. (CVE-2016-0858)

- A remote code execution vulnerability exists due to improper validation of user-supplied input when handling IOCTL 0x791E. A remote attacker can exploit this, via a specially crafted request to the datacore service, to cause an integer overflow condition, resulting in a denial of service condition or the execution of arbitrary code. (CVE-2016-0859)

- Multiple remote code execution vulnerabilities exist due to improper validation of user-supplied input when handling IOCTL 0x11172 and 0x11173. A remote attacker can exploit these issues, via a specially crafted request to the webvrpcs service, to cause a buffer overflow, resulting in a denial of service condition or the execution of arbitrary code. (CVE-2016-0860)

Solution

Upgrade to Advantech WebAccess version 8.1-2015.12.30 or later.

Public Exploits


Target Network Port(s): 80, 443
Target Asset(s): Services/www
Exploit Available: True (Metasploit Framework, Exploit-DB, GitHub, Core Impact)
Exploit Ease: Exploits are available

Here's the list of publicly known exploits and PoCs for verifying the Advantech WebAccess < 8.1-2015.12.30 Multiple Vulnerabilities vulnerability:

  1. Metasploit: exploit/windows/scada/advantech_webaccess_dashboard_file_upload
    [Advantech WebAccess Dashboard Viewer uploadImageCommon Arbitrary File Upload]
  2. Exploit-DB: exploits/windows/remote/39735.rb
    [EDB-39735: Advantech Webaccess Dashboard Viewer - Arbitrary File Upload (Metasploit)]
  3. Exploit-DB: exploits/windows/remote/44376.py
    [EDB-44376: Advantech WebAccess < 8.1 - webvrpcs DrawSrv.dll Path BwBuildPath Stack-Based Buffer Overflow]
  4. GitHub: https://github.com/thezdi/PoC/tree/master/CVE-2016-0856
    [CVE-2016-0856]

Before running any exploit against any system, make sure you are authorized by the owner of the target system(s) to perform such activity. In any other case, this would be considered as an illegal activity.

WARNING: Beware of using unverified exploits from sources such as GitHub or Exploit-DB. These exploits and PoCs could contain malware. For more information, see how to use exploits safely.

Risk Information


CVSS Score Source [?]: CVE-2016-0860
CVSS V2 Vector: AV:N/AC:L/Au:N/C:C/I:C/A:C/E:F/RL:OF/RC:C
CVSS Base Score:10.0 (High)
Impact Subscore:10.0
Exploitability Subscore:10.0
CVSS Temporal Score:8.3 (High)
CVSS Environmental Score:NA (None)
Modified Impact Subscore:NA
Overall CVSS Score:8.3 (High)
CVSS V3 Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:F/RL:O/RC:C
CVSS Base Score:7.5 (High)
Impact Subscore:3.6
Exploitability Subscore:3.9
CVSS Temporal Score:7.0 (High)
CVSS Environmental Score:NA (None)
Modified Impact Subscore:NA
Overall CVSS Score:7.0 (High)

Go back to menu.

Plugin Source


The scada_advantech_webaccess_8_1_2015_12_30.nbin Nessus plugin is distributed in a propriatory binary format and its source code is protected. This script is Copyright (C) 2016-2022 and is owned by Tenable, Inc. or an Affiliate thereof.

The latest version of this script can be found in these locations depending on your platform:

  • Linux / Unix:
    /opt/nessus/lib/nessus/plugins/scada_advantech_webaccess_8_1_2015_12_30.nbin
  • Windows:
    C:\ProgramData\Tenable\Nessus\nessus\plugins\scada_advantech_webaccess_8_1_2015_12_30.nbin
  • Mac OS X:
    /Library/Nessus/run/lib/nessus/plugins/scada_advantech_webaccess_8_1_2015_12_30.nbin

Go back to menu.

How to Run


Here is how to run the Advantech WebAccess < 8.1-2015.12.30 Multiple Vulnerabilities as a standalone plugin via the Nessus web user interface (https://localhost:8834/):

  1. Click to start a New Scan.
  2. Select Advanced Scan.
  3. Navigate to the Plugins tab.
  4. On the top right corner click to Disable All plugins.
  5. On the left side table select SCADA plugin family.
  6. On the right side table select Advantech WebAccess < 8.1-2015.12.30 Multiple Vulnerabilities plugin ID 89111.
  7. Specify the target on the Settings tab and click to Save the scan.
  8. Run the scan.

Here are a few examples of how to run the plugin in the command line. Note that the examples below demonstrate the usage on the Linux / Unix platform.

Basic usage:

/opt/nessus/bin/nasl scada_advantech_webaccess_8_1_2015_12_30.nbin -t <IP/HOST>

Run the plugin with audit trail message on the console:

/opt/nessus/bin/nasl -a scada_advantech_webaccess_8_1_2015_12_30.nbin -t <IP/HOST>

Run the plugin with trace script execution written to the console (useful for debugging):

/opt/nessus/bin/nasl -T - scada_advantech_webaccess_8_1_2015_12_30.nbin -t <IP/HOST>

Run the plugin with using a state file for the target and updating it (useful for running multiple plugins on the target):

/opt/nessus/bin/nasl -K /tmp/state scada_advantech_webaccess_8_1_2015_12_30.nbin -t <IP/HOST>

Go back to menu.

References


BID | SecurityFocus Bugtraq ID: ICSA | ICS Advisory: See also: Similar and related Nessus plugins:
  • 81700 - Advantech ADAMView Multiple Buffer Overflow Vulnerabilities
  • 60084 - Advantech Studio ISSymbol ActiveX Control Multiple Buffer Overflow Vulnerabilities
  • 73642 - Advantech WebAccess Stored Cross-Site Scripting
  • 73643 - Advantech WebAccess < 7.2-2014.06.06 Multiple Vulnerabilities
  • 103048 - Advantech WebAccess < 8.2_20170817 Multiple Vulnerabilities
  • 117360 - Advantech WebAccess webvrpcs.exe Path Traversal RCE

Version


This page has been produced using Nessus Professional 10.1.2 (#68) LINUX, Plugin set 202205072148.
Plugin file scada_advantech_webaccess_8_1_2015_12_30.nbin version 1.81. For more plugins, visit the Nessus Plugin Library.

Go back to menu.