Advantech WebAccess SQLi

High Nessus Plugin ID 96876

Synopsis

The remote host is running a web application that is affected by a SQL injection vulnerability.

Description

The Advantech WebAccess web server running on the remote host is affected by a SQL injection (SQLi) vulnerability in the WaExlViewer web application due to a failure to properly sanitize user-supplied input to the updateTemplate.aspx page. An authenticated, remote attacker can exploit this, via a series of crafted HTTP requests, to disclose passwords of administrative accounts used by Advantech WebAccess. Note that an attacker can also exploit this vulnerability without authentication by leveraging an existing authentication bypass vulnerability (CVE-2017-5152).

Nessus has exploited the authentication bypass vulnerability (CVE-2017-5152) in order to exploit the SQLi vulnerability (CVE-2017-5154).

Solution

Upgrade to Advantech WebAccess version 8.2-2016.11.21 or later.

See Also

https://www.tenable.com/security/research/tra-2017-04

https://ics-cert.us-cert.gov/advisories/ICSA-17-012-01

https://www.zerodayinitiative.com/advisories/ZDI-17-043/

Plugin Details

Severity: High

ID: 96876

File Name: scada_advantech_webaccess_cve-2017-5154.nbin

Version: 1.25

Type: remote

Family: SCADA

Published: 2017/01/30

Modified: 2018/12/14

Dependencies: 96875

Risk Information

Risk Factor: High

CVSS v2.0

Base Score: 7.5

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

CVSS v3.0

Base Score: 9.8

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

Vulnerability Information

CPE: cpe:/a:advantech:webaccess

Required KB Items: scada_advantech_webaccess/auth_bypass

Exploited by Nessus: true

Patch Publication Date: 2017/01/12

Vulnerability Publication Date: 2017/01/12

Reference Information

CVE: CVE-2017-5154

BID: 95410

ICSA: 17-012-01

TRA: TRA-2017-04

ZDI: ZDI-17-043