ID

VAR-201411-0359


CVE

CVE-2014-8388


TITLE

Advantech WebAccess Stack Buffer Overflow Vulnerability

Trust: 0.8

sources: IVD: b5ed655e-2351-11e6-abef-000c29c66e3d // CNVD: CNVD-2014-08420

DESCRIPTION

Stack-based buffer overflow in Advantech WebAccess, formerly BroadWin WebAccess, before 8.0 allows remote attackers to execute arbitrary code via a crafted ip_address parameter in an HTML document. Advantech WebAccess HMI/SCADA is an HMI/SCADA software. A stack buffer overflow vulnerability exists in Advantech WebAccess because the application failed to properly check the user-supplied data before copying it to a full-size buffer. An attacker could exploit this vulnerability to execute arbitrary code in the context of an application (usually Internet Explorer) that is affected by an ActiveX control. Failed exploit attempts will likely result in denial-of-service conditions. Advantech WebAccess 7.2 is vulnerable; other versions may also be affected. The software supports dynamic graphic display and real-time data control, and provides functions of remote control and management of automation equipment. Core Security - Corelabs Advisory http://corelabs.coresecurity.com/ Advantech WebAccess Stack-based Buffer Overflow 1. *Advisory Information* Title: Advantech WebAccess Stack-based Buffer Overflow Advisory ID: CORE-2014-0010 Advisory URL: http://www.coresecurity.com/advisories/advantech-webAccess-stack-based-buffer-overflow Date published: 2014-11-19 Date of last update: 2014-11-19 Vendors contacted: Advantech Release mode: Coordinated release 2. *Vulnerability Description* Advantech WebAccess [1] is a browser-based software package for human-machine interfaces HMI, and supervisory control and data acquisition SCADA. 4. WebAccess 7.2 . 5. *Vendor Information, Solutions and Workarounds* Given that this is a client-side vulnerability, affected users should avoid opening untrusted '.html' files. Core Security also recommends those affected use third party software such as Sentinel [3] or EMET [2] that could help to prevent the exploitation of affected systems to some extent. Additionally the vendor released WebAccess v8 [4] where it has deleted the vulnerable file 'webeye.ocx' but if version upgrade is being performed, the vulnerable ocx file is not deleted at all, therefore we do not consider this a correct fix. 6. *Credits* This vulnerability was discovered and researched by Ricardo Narvaja from Core Security Consulting Services. The publication of this advisory was coordinated by Joaqu\xedn Rodr\xedguez Varela from Core Advisories Team. 7. This is caused because the application copies to the stack the string without checking its length. /----- document.vdoactx.Connect(ip_address, port_no); -----/ /----- 0001C2AA 8B11 MOV EDX,DWORD PTR DS:[ECX] 0001C2AC 8A45 08 MOV AL,BYTE PTR SS:[EBP+8] 0001C2AF 8802 MOV BYTE PTR DS:[EDX],AL 0001C2B1 FF01 INC DWORD PTR DS:[ECX] 0001C2B3 0FB6C0 MOVZX EAX,AL 0001C2B6 EB 0B JMP SHORT 0001C2C3 -----/ 8. *Report Timeline* . 2014-10-01: Initial notification sent to ICS-CERT informing of the vulnerability and requesting the vendor's contact information. 2014-10-01: ICS-CERT informs that they will ask the vendor if they want to coordinate directly with us or if they prefer to have ICS-CERT mediate. They request the vulnerability report. 2014-10-01: ICS-CERT informs that the vendor answered that they would like the ICS-CERT to mediate the coordination of the advisory. They requested again the vulnerability report. 2014-10-01: We send the vulnerability detail, including technical description and a PoC. 2014-10-09: We request a status update on the reported vulnerability. 2014-10-20: ICS-CERT informs that the vendor has patched WebAccess in version 8.0 and published it. This was done without informing us in order to make a coordianted release. The ICS-CERT asks if we can test the fix. 2014-10-21: We clearly state how we disagree with the uncoordinated published fix. We began testing the fix. 2014-10-21: We inform them that the "webeye.ocx" file (version 1.0.1.35) is still present in the new version. 2014-10-27: ICS-CERT informs us that the vendor has removed the vulnerable OCX file from the new version but it doesn't remove it from previous installations, making the new version still vulnerable. 2014-11-13: We inform them that we will publish this advisory as user release on Wednesday 19th of November. 2014-11-19: Advisory CORE-2014-0010 published. 9. *References* [1] http://webaccess.advantech.com/. [2] http://support.microsoft.com/kb/2458544. [3] https://github.com/CoreSecurity/sentinel. [4] http://webaccess.advantech.com/webaccess_download.php?lang=eng. 10. *About CoreLabs* CoreLabs, the research center of Core Security, is charged with anticipating the future needs and requirements for information security technologies. We conduct our research in several important areas of computer security including system vulnerabilities, cyber attack planning and simulation, source code auditing, and cryptography. Our results include problem formalization, identification of vulnerabilities, novel solutions and prototypes for new technologies. CoreLabs regularly publishes security advisories, technical papers, project information and shared software tools for public use at: http://corelabs.coresecurity.com. 11. *About Core Security* Core Security enables organizations to get ahead of threats with security test and measurement solutions that continuously identify and demonstrate real-world exposures to their most critical assets. Our customers can gain real visibility into their security standing, real validation of their security controls, and real metrics to more effectively secure their organizations. Core Security's software solutions build on over a decade of trusted research and leading-edge threat expertise from the company's Security Consulting Services, CoreLabs and Engineering groups. Core Security can be reached at +1 (617) 399-6980 or on the Web at: http://www.coresecurity.com. 12. *Disclaimer* The contents of this advisory are copyright (c) 2014 Core Security and (c) 2014 CoreLabs, and are licensed under a Creative Commons Attribution Non-Commercial Share-Alike 3.0 (United States) License: http://creativecommons.org/licenses/by-nc-sa/3.0/us/ 13. *PGP/GPG Keys* This advisory has been signed with the GPG key of Core Security advisories team, which is available for download at http://www.coresecurity.com/files/attachments/core_security_advisories.asc

Trust: 2.79

sources: NVD: CVE-2014-8388 // JVNDB: JVNDB-2014-005588 // CNVD: CNVD-2014-08420 // BID: 71193 // IVD: b5ed655e-2351-11e6-abef-000c29c66e3d // VULHUB: VHN-76333 // PACKETSTORM: 129186

IOT TAXONOMY

category:['ICS']sub_category: -

Trust: 0.8

sources: IVD: b5ed655e-2351-11e6-abef-000c29c66e3d // CNVD: CNVD-2014-08420

AFFECTED PRODUCTS

vendor:advantechmodel:webaccessscope:eqversion:7.2

Trust: 1.2

vendor:advantechmodel:webaccessscope:lteversion:7.2

Trust: 1.0

vendor:advantechmodel:webaccessscope:ltversion:8.0

Trust: 0.8

vendor:webaccessmodel: - scope:eqversion:*

Trust: 0.2

sources: IVD: b5ed655e-2351-11e6-abef-000c29c66e3d // CNVD: CNVD-2014-08420 // JVNDB: JVNDB-2014-005588 // CNNVD: CNNVD-201411-391 // NVD: CVE-2014-8388

CVSS

SEVERITY

CVSSV2

CVSSV3

nvd@nist.gov: CVE-2014-8388
value: HIGH

Trust: 1.0

NVD: CVE-2014-8388
value: HIGH

Trust: 0.8

CNVD: CNVD-2014-08420
value: HIGH

Trust: 0.6

CNNVD: CNNVD-201411-391
value: HIGH

Trust: 0.6

IVD: b5ed655e-2351-11e6-abef-000c29c66e3d
value: HIGH

Trust: 0.2

VULHUB: VHN-76333
value: HIGH

Trust: 0.1

nvd@nist.gov: CVE-2014-8388
severity: HIGH
baseScore: 7.2
vectorString: AV:L/AC:L/AU:N/C:C/I:C/A:C
accessVector: LOCAL
accessComplexity: LOW
authentication: NONE
confidentialityImpact: COMPLETE
integrityImpact: COMPLETE
availabilityImpact: COMPLETE
exploitabilityScore: 3.9
impactScore: 10.0
acInsufInfo: NONE
obtainAllPrivilege: NONE
obtainUserPrivilege: NONE
obtainOtherPrivilege: NONE
userInteractionRequired: NONE
version: 2.0

Trust: 1.8

CNVD: CNVD-2014-08420
severity: HIGH
baseScore: 9.0
vectorString: AV:N/AC:L/AU:N/C:P/I:P/A:C
accessVector: NETWORK
accessComplexity: LOW
authentication: NONE
confidentialityImpact: PARTIAL
integrityImpact: PARTIAL
availabilityImpact: COMPLETE
exploitabilityScore: 10.0
impactScore: 8.5
acInsufInfo: NONE
obtainAllPrivilege: NONE
obtainUserPrivilege: NONE
obtainOtherPrivilege: NONE
userInteractionRequired: NONE
version: 2.0

Trust: 0.6

IVD: b5ed655e-2351-11e6-abef-000c29c66e3d
severity: HIGH
baseScore: 9.0
vectorString: AV:N/AC:L/AU:N/C:P/I:P/A:C
accessVector: NETWORK
accessComplexity: LOW
authentication: NONE
confidentialityImpact: PARTIAL
integrityImpact: PARTIAL
availabilityImpact: COMPLETE
exploitabilityScore: 10.0
impactScore: 8.5
acInsufInfo: NONE
obtainAllPrivilege: NONE
obtainUserPrivilege: NONE
obtainOtherPrivilege: NONE
userInteractionRequired: NONE
version: 2.9 [IVD]

Trust: 0.2

VULHUB: VHN-76333
severity: HIGH
baseScore: 7.2
vectorString: AV:L/AC:L/AU:N/C:C/I:C/A:C
accessVector: LOCAL
accessComplexity: LOW
authentication: NONE
confidentialityImpact: COMPLETE
integrityImpact: COMPLETE
availabilityImpact: COMPLETE
exploitabilityScore: 3.9
impactScore: 10.0
acInsufInfo: NONE
obtainAllPrivilege: NONE
obtainUserPrivilege: NONE
obtainOtherPrivilege: NONE
userInteractionRequired: NONE
version: 2.0

Trust: 0.1

sources: IVD: b5ed655e-2351-11e6-abef-000c29c66e3d // CNVD: CNVD-2014-08420 // VULHUB: VHN-76333 // JVNDB: JVNDB-2014-005588 // CNNVD: CNNVD-201411-391 // NVD: CVE-2014-8388

PROBLEMTYPE DATA

problemtype:CWE-119

Trust: 1.9

sources: VULHUB: VHN-76333 // JVNDB: JVNDB-2014-005588 // NVD: CVE-2014-8388

THREAT TYPE

local

Trust: 0.6

sources: CNNVD: CNNVD-201411-391

TYPE

Buffer overflow

Trust: 0.8

sources: IVD: b5ed655e-2351-11e6-abef-000c29c66e3d // CNNVD: CNNVD-201411-391

CONFIGURATIONS

sources: JVNDB: JVNDB-2014-005588

EXPLOIT AVAILABILITY

sources: VULHUB: VHN-76333

PATCH

title:Top Pageurl:http://webaccess.advantech.com/

Trust: 0.8

title:Patch for Advantech WebAccess Stack Buffer Overflow Vulnerabilityurl:https://www.cnvd.org.cn/patchInfo/show/52041

Trust: 0.6

sources: CNVD: CNVD-2014-08420 // JVNDB: JVNDB-2014-005588

EXTERNAL IDS

db:NVDid:CVE-2014-8388

Trust: 3.7

db:ICS CERTid:ICSA-14-324-01

Trust: 2.5

db:BIDid:71193

Trust: 1.0

db:CNNVDid:CNNVD-201411-391

Trust: 0.9

db:CNVDid:CNVD-2014-08420

Trust: 0.8

db:JVNDBid:JVNDB-2014-005588

Trust: 0.8

db:IVDid:B5ED655E-2351-11E6-ABEF-000C29C66E3D

Trust: 0.2

db:PACKETSTORMid:129186

Trust: 0.2

db:VULHUBid:VHN-76333

Trust: 0.1

sources: IVD: b5ed655e-2351-11e6-abef-000c29c66e3d // CNVD: CNVD-2014-08420 // VULHUB: VHN-76333 // BID: 71193 // JVNDB: JVNDB-2014-005588 // PACKETSTORM: 129186 // CNNVD: CNNVD-201411-391 // NVD: CVE-2014-8388

REFERENCES

url:https://ics-cert.us-cert.gov/advisories/icsa-14-324-01

Trust: 2.5

url:http://cve.mitre.org/cgi-bin/cvename.cgi?name=cve-2014-8388

Trust: 0.8

url:https://web.nvd.nist.gov/view/vuln/detail?vulnid=cve-2014-8388

Trust: 0.8

url:http://www.securityfocus.com/bid/71193

Trust: 0.6

url:http://support.microsoft.com/kb/240797

Trust: 0.3

url:https://github.com/coresecurity/sentinel.

Trust: 0.1

url:http://webaccess.advantech.com/webaccess_download.php?lang=eng.

Trust: 0.1

url:http://corelabs.coresecurity.com.

Trust: 0.1

url:http://www.coresecurity.com/files/attachments/core_security_advisories.asc.

Trust: 0.1

url:http://corelabs.coresecurity.com/

Trust: 0.1

url:http://webaccess.advantech.com/.

Trust: 0.1

url:http://www.coresecurity.com.

Trust: 0.1

url:http://support.microsoft.com/kb/2458544.

Trust: 0.1

url:https://nvd.nist.gov/vuln/detail/cve-2014-8388

Trust: 0.1

url:http://creativecommons.org/licenses/by-nc-sa/3.0/us/

Trust: 0.1

url:http://www.coresecurity.com/advisories/advantech-webaccess-stack-based-buffer-overflow

Trust: 0.1

sources: CNVD: CNVD-2014-08420 // VULHUB: VHN-76333 // BID: 71193 // JVNDB: JVNDB-2014-005588 // PACKETSTORM: 129186 // CNNVD: CNNVD-201411-391 // NVD: CVE-2014-8388

CREDITS

Ricardo Narvaja from Core Security Consulting Services

Trust: 0.3

sources: BID: 71193

SOURCES

db:IVDid:b5ed655e-2351-11e6-abef-000c29c66e3d
db:CNVDid:CNVD-2014-08420
db:VULHUBid:VHN-76333
db:BIDid:71193
db:JVNDBid:JVNDB-2014-005588
db:PACKETSTORMid:129186
db:CNNVDid:CNNVD-201411-391
db:NVDid:CVE-2014-8388

LAST UPDATE DATE

2024-08-14T15:13:53.354000+00:00


SOURCES UPDATE DATE

db:CNVDid:CNVD-2014-08420date:2014-11-21T00:00:00
db:VULHUBid:VHN-76333date:2014-11-24T00:00:00
db:BIDid:71193date:2015-07-15T00:14:00
db:JVNDBid:JVNDB-2014-005588date:2014-11-25T00:00:00
db:CNNVDid:CNNVD-201411-391date:2014-11-24T00:00:00
db:NVDid:CVE-2014-8388date:2014-11-24T14:09:54.730

SOURCES RELEASE DATE

db:IVDid:b5ed655e-2351-11e6-abef-000c29c66e3ddate:2014-11-21T00:00:00
db:CNVDid:CNVD-2014-08420date:2014-11-21T00:00:00
db:VULHUBid:VHN-76333date:2014-11-21T00:00:00
db:BIDid:71193date:2014-11-19T00:00:00
db:JVNDBid:JVNDB-2014-005588date:2014-11-25T00:00:00
db:PACKETSTORMid:129186date:2014-11-20T16:34:36
db:CNNVDid:CNNVD-201411-391date:2014-11-24T00:00:00
db:NVDid:CVE-2014-8388date:2014-11-21T02:59:07.270