Advantech WebAccess Vulnerabilities (UPDATE A)


基本信息

时间: 2012-02-17

风险等级: 未知

ICSA: ICS Advisory (ICSA-12-047-01A)

厂商: 未知

原地址: https://www.us-cert.gov/ics/advisories/ICSA-12-047-01A


OVERVIEW

This advisory follows up on two previous ICS-CERT Alerts:

  • “ICS-ALERT-11-245-01—Multiple ActiveX Vulnerabilities in Advantech BroadWin WebAccess,” published September 2, 2011.a
  • “ICS‑ALERT-11-306-01—Advantech BroadWin WebAccess ActiveX Vulnerability,” published November 2, 2011.b

ICS-CERT received both coordinated and uncoordinated reports of eighteen vulnerabilities in BroadWin WebAccess. These vulnerabilities include:

  • Cross-site scripting (XSS)
  • SQL injection
  • Cross-site report forgery (CSRF)
  • Authentication issues.

--------- Begin Update A Part 1 of 1 --------

These vulnerabilities were reported separately by the nSense Vulnerability Coordination Team, Greg MacManus of iSIGHT Partners, Kuang-Chun Hung of Security Research and Service Institute-Information and Communication Security Technology Center (ICST), Luigi Auriemma, Billy Rios, Terry McCorkle, and Snake (alias).

--------- End Update A Part 1 of 1 ----------

ICS-CERT has coordinated with Advantech, which has released a new version of WebAccess that addresses most of the reported vulnerabilities. 

AFFECTED PRODUCTS

These vulnerabilities affect all versions of Advantech/BroadWin WebAccess prior to applying the patch (V7.0) listed in the mitigations below.

IMPACT

An attacker can bypass authentication, gain administrative privileges, and remotely execute arbitrary code by exploiting these vulnerabilities.

Impact to individual organizations depends on many factors that are unique to each organization. ICS‑CERT recommends that organizations evaluate the impact of this vulnerability based on their environment, architecture, and product implementation.

BACKGROUND

Advantech/BroadWin WebAccess is a web-based human-machine interface product used in energy, manufacturing, and building automation systems. The installation base is across Asia, North America, North Africa, and the Middle East.

WebAccess Client is available for computers running Windows 2000, XP, Vista, and Server 2003. A thin‑client interface is available for Windows CE and Windows Mobile 5.0.

VULNERABILITY CHARACTERIZATION

VULNERABILITY OVERVIEW

1.CROSS-SITE SCRIPTINGc

An attacker may use a malformed URL address in a XSS attack to launch JavaScript code.

CVE-2012-0233d has been assigned to this vulnerability.

2.SQL INJECTIONe

An attacker can use a malformed URL address to execute an SQL injection attack.

CVE-2012-0234f has been assigned to this vulnerability.

3.CROSS-SITE REQUEST FORGERYg

The web application does not sufficiently verify whether a request was intentionally provided by the user who submitted the request.

CVE-2012-0235h has been assigned to this vulnerability.

4.INFORMATION LEAKAGEi

An unauthenticated user can access restricted information using specific URL addresses.

CVE-2012-0236j has been assigned to this vulnerability.

5.UNAUTHORIZED MODIFICATION

This vulnerability can be exploited by using specifically crafted URL addresses, which allows an unauthenticated user to enable or disable date and time syncing.

CVE-2012-0237k has been assigned to this vulnerability.

6.STACK-BASED BUFFER OVERFLOWl

A stack-based buffer overflow vulnerability exists in opcImg.asp that, when exploited, allows an attacker to remotely execute arbitrary code.

CVE-2012-0238m has been assigned to this vulnerability.

7.AUTHENTICATION VULNERABILITYn

An authentication vulnerability exists in uaddUpAdmin.asp in Advantech’s WebAccess 7.0—and possibly earlier versions—that, when exploited, allows an attacker to remotely change an administrator’s password. Exploit code is not required to exploit this vulnerability.

CVE-2012-0239o has been assigned to this vulnerability.

8.AUTHENTICATION VULNERABILITYp

An authentication vulnerability exists in GbScriptAddUp.asp that, when exploited, allows an attacker to remotely execute arbitrary code.

CVE-2012-0240q has been assigned to this vulnerability.

9.ACTIVEX BUFFER OVERFLOWr

A long string input to ActiveX parameters will cause a buffer overflow, which might allow remote attackers to execute arbitrary code and gain full control of the server.

CVE-2011-4526s has been assigned to this vulnerability.

10.BUFFER OVERFLOWt

This vulnerability exists because long string input to parameters will cause a buffer overflow, which could allow execution of arbitrary code.

CVE-2011-4524u has been assigned to this vulnerability.

11.FILE MANIPULATION

An attacker can load any remote web page and write to a local batch file that will allow arbitrary code execution.

CVE-2011-4525v has been assigned to this vulnerability.

12.SQL INJECTIONw

This vulnerability exists because string inputs are not checked, allowing attackers to perform SQL injection attacks.

CVE-2011-4521x has been assigned to this vulnerability.

13.CROSS-SITE SCRIPTINGy

This vulnerability exists because malicious cross-site scripts are allowed by parameters of bwerrdn.asp.

CVE-2011-4522z has been assigned to this vulnerability.

14.CROSS-SITE SCRIPTINGaa

This vulnerability exists because malicious cross-site scripts are allowed by parameters of bwview.asp.

CVE-2011-4523bb has been assigned to this vulnerability.

15.ARBITRARY MEMORY CORRUPTIONcc

This vulnerability exists because functions are allowed to corrupt arbitrary memory zones through fully controllable stream identifiers.

CVE-2012-0241dd has been assigned to this vulnerability.

16.FORMAT STRINGee

A format string vulnerability can be exploited by the using a message string without the required format arguments.

CVE-2012-0242ff has been assigned to this vulnerability.

17.ACTIVEX BUFFER OVERFLOWgg

A component used by WebAccess, bwocxrun.ocx, is vulnerable to a buffer overflow vulnerability due to methods that are capable of creating a arbitrary file in arbitrary location. Exploitation could allow the execution of arbitrary code.

CVE-2012-0243hh has been assigned to this vulnerability.

18.SQL INJECTIONii

This vulnerability exists because string inputs are not checked on input, allowing attackers to perform many different SQL injection attacks.

CVE-2012-0244jj has been assigned to this vulnerability.

VULNERABILITY DETAILS

EXPLOITABILITY

All the vulnerabilities contained in this report are remotely exploitable.

EXISTENCE OF EXPLOIT

Public exploits are known to target these vulnerabilities.

DIFFICULTY

An attacker with low to moderate skill can exploit these vulnerabilities.

MITIGATION

Advantech has created a new version of WebAccess (7.0) that addresses these vulnerabilities.kk This new version can be obtained at: http://webaccess.advantech.com/downloads.php. Advantech recommends that the new version be installed over the existing installation. If the existing version of WebAccess is uninstalled, the computer must be rebooted before reinstalling WebAccess.

Advantech recommends that customers using the WebAccess product refer to security considerations recommended by their installation manual.ll

For further assistance, customers should contact BroadWin support at [email protected].mm

ICST, iSIGHT, and ICS-CERT have validated that the new version mitigates Vulnerabilities 1 and 5-16. For Vulnerabilities 2 and 3, the patched version fixes the issue for unauthenticated users; however, the problem still remains for nonadmin project users. Vulnerability 4 was not patched, because Advantech does not consider it to be a security risk. Neither ICS-CERT nor independent researchers have validated that the new version resolves Vulnerabilities 17 and 18. 

ICS‑CERT encourages asset owners to take additional defensive measures to protect against this and other cybersecurity risks.

  • Minimize network exposure for all control system devices and/or systems. Critical devices and/or systems should not directly face the Internet.
  • Locate control system networks and remote devices behind firewalls, and isolate them from the business network.
  • When remote access is required, use secure methods, such as Virtual Private Networks (VPNs), recognizing that VPN is only as secure as the connected devices.

The Control Systems Security Program (CSSP) also provides a section for control systems security recommended practices on the ICS-CERT web site. Several recommended practices are available for reading and download, including Improving Industrial Control Systems Cybersecurity with Defense-in-Depth Strategies. ICS‑CERT reminds organizations to perform proper impact analysis and risk assessment prior to taking defensive measures.

Organizations observing any suspected malicious activity should follow their established internal procedures and report their findings to ICS‑CERT for tracking and correlation against other incidents.

In addition, ICS‑CERT recommends that users take the following measures to protect themselves from social engineering attacks:

  1. Do not click web links or open unsolicited attachments in e-mail messages
  2. Refer to Recognizing and Avoiding Email Scams oo for more information on avoiding e-mail scams
  3. Refer to Avoiding Social Engineering and Phishing Attackspp for more information on social engineering attacks.
  • a. http://ics-cert.us-cert.gov/alerts/ICS-ALERT-11-245-01, ICS-ALERT-11-245-01, website last accessed February 15, 2012.
  • b. http://ics-cert.us-cert.gov/alerts/ICS-ALERT-11-306-01, ICS-ALERT-11-306-01, website last accessed February 15, 2012.
  • c. http://cwe.mitre.org/data/definitions/79.html, CWE-79: Cross Site Scripting, website last accessed February 15, 2012
  • d. http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2012-0233, NIST uses this advisory to create the CVE website report. This website will be active sometime after publication of this advisory.
  • e. http://cwe.mitre.org/data/definitions/89.html, CWE-89: SQL Injection, website last accessed February 15, 2012
  • f. http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2012-0234, NIST uses this advisory to create the CVE website report. This website will be active sometime after publication of this advisory.
  • g. http://cwe.mitre.org/data/definitions/352.html, CWE-352: Cross-Site Request Forgery, website last accessed February 15, 2012
  • h. http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2012-0235, NIST uses this advisory to create the CVE website report. This website will be active sometime after publication of this advisory.
  • i. http://cwe.mitre.org/data/definitions/200.html, CWE-200: Information Exposure, website last accessed February 15, 2012
  • j. http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2012-0236, NIST uses this advisory to create the CVE website report. This website will be active sometime after publication of this advisory.
  • k. http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2012-0237, NIST uses this advisory to create the CVE website report. This website will be active sometime after publication of this advisory
  • l. http://cwe.mitre.org/data/definitions/119.html, CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer, website last accessed February 15, 2012
  • m. http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2012-0238, NIST uses this advisory to create the CVE website report. This website will be active sometime after publication of this advisory.
  • n. http://cwe.mitre.org/data/definitions/287.html, CWE-287: Improper Authentication, website last accessed February 15, 2012
  • o. http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2012-0239, NIST uses this advisory to create the CVE website report. This website will be active sometime after publication of this advisory.
  • p. http://cwe.mitre.org/data/definitions/287.html, CWE-287: Improper Authentication, website last accessed February 15, 2012.
  • q. http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2012-0240, NIST uses this advisory to create the CVE website report. This website will be active sometime after publication of this advisory.
  • r. http://cwe.mitre.org/data/definitions/119.html, CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer, website last accessed February 15, 2012
  • s. http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2011-4526, NIST uses this advisory to create the CVE website report. This website will be active sometime after publication of this advisory.
  • t. http://cwe.mitre.org/data/definitions/119.html, CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer, website last accessed February 15, 2012.
  • u. http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2011-4524, NIST uses this advisory to create the CVE website report. This website will be active sometime after publication of this advisory.
  • v. http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2011-4525, NIST uses this advisory to create the CVE website report. This website will be active sometime after publication of this advisory.
  • w. http://cwe.mitre.org/data/definitions/89.html, CWE-89: SQL Injection, website last accessed February 15, 2012.
  • x. http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2011-4521, NIST uses this advisory to create the CVE website report. This website will be active sometime after publication of this advisory.
  • y. http://cwe.mitre.org/data/definitions/79.html, CWE-79: Cross Site Scripting
  • z. http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2011-4522, NIST uses this advisory to create the CVE website report. This website will be active sometime after publication of this advisory.
  • aa. http://cwe.mitre.org/data/definitions/79.html, CWE-79: Cross Site Scripting, website last accessed February 15, 2012.
  • bb. http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2011-4523, NIST uses this advisory to create the CVE website report. This website will be active sometime after publication of this advisory.
  • cc. http://cwe.mitre.org/data/definitions/119.html, CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer, website last accessed February 15, 2012.
  • dd. http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2012-0241, NIST uses this advisory to create the CVE website report. This website will be active sometime after publication of this advisory.
  • ee. http://cwe.mitre.org/data/definitions/134.html, CWE-134: Uncontrolled Format String, website last accessed February 15, 2012.
  • ff. http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2012-0242, NIST uses this advisory to create the CVE website report. This website will be active sometime after publication of this advisory.
  • gg. http://cwe.mitre.org/data/definitions/119.html, CWE-119: Improper Restriction of Operations within the Bounds of a Memory Buffer, website last accessed February 15, 2012.
  • hh. http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2012-0243, NIST uses this advisory to create the CVE website report. This website will be active sometime after publication of this advisory.
  • ii. http://cwe.mitre.org/data/definitions/89.html, CWE-89: SQL Injection, website last accessed February 15, 2012.
  • jj. http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2012-0244, NIST uses this advisory to create the CVE website report. This website will be active sometime after publication of this advisory.
  • kk. Advantech WebAccess security update, http://webaccess.advantech.com/security.php, website last accessed February 15, 2012.
  • ll. WebAccess Quick Installation Guide, BroadWin, http://broadwin.com/Manual/InstallGuide/InstallGuide.htm , website last accessed February 15, 2012.
  • mm. WebAccess customer notification, http://www.advantechdirect.com/eMarketingPrograms/WebAccess_Patch/WebAccess_Vulnerability.htm , website last accessed February 15, 2012.
  • oo. Recognizing and Avoiding Email Scams, http://www.us-cert.gov/reading_room/emailscams_0905.pdf, website last accessed February 15, 2012
  • pp. National Cyber Alert System Cyber Security Tip ST04-014, http://www.us-cert.gov/cas/tips/ST04-014.html, website last accessed February 15, 2012