ID

VAR-201501-0414


CVE

CVE-2014-8386


TITLE

Advantech AdamView Vulnerable to stack-based buffer overflow

Trust: 0.8

sources: JVNDB: JVNDB-2014-007741

DESCRIPTION

Multiple stack-based buffer overflows in Advantech AdamView 4.3 and earlier allow remote attackers to execute arbitrary code via a crafted (1) display properties or (2) conditional bitmap parameter in a GNI file. ADAMView is a data capture software. Advantech AdamView has multiple stack buffer overflow vulnerabilities because the application failed to properly border the user-supplied data before copying it into a full-size buffer. Allows an attacker to exploit these vulnerabilities to execute arbitrary code in the context of an application that is affected by an ActiveX control, typically Internet Explorer. Failed exploit attempts likely result in denial-of-service conditions. Advantech AdamView 4.3 is vulnerable; other versions may also be affected. The software provides features such as graphical panel configuration, modularity and priority task design. Core Security - Corelabs Advisory http://corelabs.coresecurity.com/ Advantech AdamView Buffer Overflow 1. *Advisory Information* Title: Advantech AdamView Buffer Overflow Advisory ID: CORE-2014-0008 Advisory URL: http://www.coresecurity.com/advisories/advantech-adamView-buffer-overflow Date published: 2014-11-19 Date of last update: 2014-11-19 Vendors contacted: Advantech Release mode: User release 2. *Vulnerability Information* Class: Buffer overflow [CWE-119] Impact: Code execution Remotely Exploitable: No Locally Exploitable: Yes CVE Name: CVE-2014-8386 3. 4. Advantech AdamView V4.3 . 5. *Vendor Information, Solutions and Workarounds* The vendor informed us that the product is no longer supported and therefore no fix or update is going to be released. Given that this is a client-side vulnerability, affected users should avoid opening untrusted '.gni' 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. 6. *Credits* This vulnerability was discovered and researched by Daniel Kazimirow and Fernando Paez from Core Security Exploit Writers Team. The publication of this advisory was coordinated by Joaqu\xedn Rodr\xedguez Varela from Core Advisories Team. 7. Below are shown the vulnerable fields, the debug information, and the stack state after being overwritten. /----- VULNERABLE FIELDS: [+] display properties (BUG 1) 00475BA0 |. 53 PUSH EBX ; /<%s> 00475BA1 |. 8D4C24 18 LEA ECX,DWORD PTR SS:[ESP+18] ; | 00475BA5 |. 68 F09C4B00 PUSH ADAMView.004B9CF0 ; |Format = "Display Designer: %s" 00475BAA |. 51 PUSH ECX ; |s 00475BAB |. 8BF0 MOV ESI,EAX ; | 00475BAD |. FF15 84FF4900 CALL DWORD PTR DS:[<&USER32.wsprintfA>] ; \wsprintfA DEBUG: EAX 00000000 ECX 00000001 EDX 00000000 EBX 00000003 ESP 0012F924 EBP 00000000 ESI 0012F9B4 EDI 00F39DC8 EIP CCCCCCCC <------------------------------------ C 0 ES 0023 32bit 0(FFFFFFFF) P 0 CS 001B 32bit 0(FFFFFFFF) A 0 SS 0023 32bit 0(FFFFFFFF) Z 0 DS 0023 32bit 0(FFFFFFFF) S 0 FS 003B 32bit 7FFDE000(FFF) T 0 GS 0000 NULL D 0 O 0 LastErr ERROR_SUCCESS (00000000) EFL 00010202 (NO,NB,NE,A,NS,PO,GE,G) ST0 empty ST1 empty ST2 empty ST3 empty ST4 empty ST5 empty ST6 empty ST7 empty 3 2 1 0 E S P U O Z D I FST 4000 Cond 1 0 0 0 Err 0 0 0 0 0 0 0 0 (EQ) FCW 027F Prec NEAR,53 Mask 1 1 1 1 1 1 STACK: 0012F958 CCCCCCCC \xcc\xcc\xcc\xcc 0012F95C CCCCCCCC \xcc\xcc\xcc\xcc 0012F960 CCCCCCCC \xcc\xcc\xcc\xcc 0012F964 CCCCCCCC \xcc\xcc\xcc\xcc 0012F968 CCCCCCCC \xcc\xcc\xcc\xcc 0012F96C CCCCCCCC \xcc\xcc\xcc\xcc 0012F970 CCCCCCCC \xcc\xcc\xcc\xcc 0012F974 CCCCCCCC \xcc\xcc\xcc\xcc 0012F978 CCCCCCCC \xcc\xcc\xcc\xcc 0012F97C CCCCCCCC \xcc\xcc\xcc\xcc Pointer to next SEH record 0012F980 0043304A J0C. SE handler <-------------- SEH CONTROLLED BY US (PPR) 0012F984 FFFFFFFF \xff\xff\xff\xff 0012F988 00485103 QH. Below are shown the vulnerable fields, the debug information, and the stack state after being overwritten. /----- VULNERABLE FIELDS: [+] conditional bitmap > bitmap file map (is a path) (BUG 2) 00406E70 |. 55 |PUSH EBP ; /StringToAdd 00406E71 |. 51 |PUSH ECX ; |ConcatString 00406E72 |. FF15 A8F34900 |CALL DWORD PTR DS:[<&KERNEL32.lstrcatA>>; \lstrcatA DEBUG: EAX 00000000 ECX CCCCCCCC <--------------------- EAX EDX 73EA2608 MFC42.73EA2608 EBX 00F3C92E ASCII "BMP1" ESP 0012F884 EBP 0000099C ESI 0012F9B4 EDI 00F3C818 EIP CCCCCCCC <--------------------- C 0 ES 0023 32bit 0(FFFFFFFF) P 0 CS 001B 32bit 0(FFFFFFFF) A 0 SS 0023 32bit 0(FFFFFFFF) Z 0 DS 0023 32bit 0(FFFFFFFF) S 0 FS 003B 32bit 7FFDF000(FFF) T 0 GS 0000 NULL D 0 O 0 LastErr ERROR_PATH_NOT_FOUND (00000003) EFL 00010202 (NO,NB,NE,A,NS,PO,GE,G) ST0 empty ST1 empty ST2 empty ST3 empty ST4 empty ST5 empty ST6 empty ST7 empty 3 2 1 0 E S P U O Z D I FST 4000 Cond 1 0 0 0 Err 0 0 0 0 0 0 0 0 (EQ) FCW 027F Prec NEAR,53 Mask 1 1 1 1 1 1 STACK: 0012F884 CCCCCCCC 0012F888 CCCCCCCC 0012F88C CCCCCCCC 0012F890 CCCCCCCC 0012F894 CCCCCCCC 0012F898 CCCCCCCC 0012F89C CCCCCCCC 0012F8A0 7ACCCCCC 0012F8A4 CC004342 0012F8A8 CCCCCCCC 0012F8AC CCCCCCCC 0012F8B0 CCCCCCCC 0012F8B4 CCCCCCCC 0012F8B8 CCCCCCCC 0012F8BC CCCCCCCC 0012F8C0 CCCCCCCC 0012F8C4 CCCCCCCC -----/ 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 is still reviewing the vulnerability. 2014-10-27: ICS-CERT informs us that the vendor is no longer supporting ADAMView, and therefore they will not fix it. 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-0008 published. 9. *References* [1] http://www.advantech.com/products/1-39JG4I/ADAMVIEW/mod_328DB466-4B81-4652-B8AF-F5568F24A103.aspx. [2] http://support.microsoft.com/kb/2458544. [3] https://github.com/CoreSecurity/sentinel. 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-8386 // JVNDB: JVNDB-2014-007741 // CNVD: CNVD-2014-08422 // BID: 71191 // IVD: a8aaedc6-2351-11e6-abef-000c29c66e3d // VULHUB: VHN-76331 // PACKETSTORM: 129184

IOT TAXONOMY

category:['ICS']sub_category: -

Trust: 0.8

sources: IVD: a8aaedc6-2351-11e6-abef-000c29c66e3d // CNVD: CNVD-2014-08422

AFFECTED PRODUCTS

vendor:advantechmodel:adamviewscope:lteversion:4.3

Trust: 1.8

vendor:advantechmodel:adamviewscope:eqversion:4.3

Trust: 1.2

vendor:adamviewmodel: - scope:eqversion:*

Trust: 0.2

sources: IVD: a8aaedc6-2351-11e6-abef-000c29c66e3d // CNVD: CNVD-2014-08422 // JVNDB: JVNDB-2014-007741 // CNNVD: CNNVD-201411-405 // NVD: CVE-2014-8386

CVSS

SEVERITY

CVSSV2

CVSSV3

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

Trust: 1.0

NVD: CVE-2014-8386
value: HIGH

Trust: 0.8

CNVD: CNVD-2014-08422
value: HIGH

Trust: 0.6

CNNVD: CNNVD-201411-405
value: HIGH

Trust: 0.6

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

Trust: 0.2

VULHUB: VHN-76331
value: HIGH

Trust: 0.1

nvd@nist.gov: CVE-2014-8386
severity: HIGH
baseScore: 7.5
vectorString: AV:N/AC:L/AU:N/C:P/I:P/A:P
accessVector: NETWORK
accessComplexity: LOW
authentication: NONE
confidentialityImpact: PARTIAL
integrityImpact: PARTIAL
availabilityImpact: PARTIAL
exploitabilityScore: 10.0
impactScore: 6.4
acInsufInfo: NONE
obtainAllPrivilege: NONE
obtainUserPrivilege: NONE
obtainOtherPrivilege: NONE
userInteractionRequired: NONE
version: 2.0

Trust: 1.8

CNVD: CNVD-2014-08422
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: a8aaedc6-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-76331
severity: HIGH
baseScore: 7.5
vectorString: AV:N/AC:L/AU:N/C:P/I:P/A:P
accessVector: NETWORK
accessComplexity: LOW
authentication: NONE
confidentialityImpact: PARTIAL
integrityImpact: PARTIAL
availabilityImpact: PARTIAL
exploitabilityScore: 10.0
impactScore: 6.4
acInsufInfo: NONE
obtainAllPrivilege: NONE
obtainUserPrivilege: NONE
obtainOtherPrivilege: NONE
userInteractionRequired: NONE
version: 2.0

Trust: 0.1

sources: IVD: a8aaedc6-2351-11e6-abef-000c29c66e3d // CNVD: CNVD-2014-08422 // VULHUB: VHN-76331 // JVNDB: JVNDB-2014-007741 // CNNVD: CNNVD-201411-405 // NVD: CVE-2014-8386

PROBLEMTYPE DATA

problemtype:CWE-119

Trust: 1.9

sources: VULHUB: VHN-76331 // JVNDB: JVNDB-2014-007741 // NVD: CVE-2014-8386

THREAT TYPE

remote

Trust: 0.6

sources: CNNVD: CNNVD-201411-405

TYPE

Buffer overflow

Trust: 0.8

sources: IVD: a8aaedc6-2351-11e6-abef-000c29c66e3d // CNNVD: CNNVD-201411-405

CONFIGURATIONS

sources: JVNDB: JVNDB-2014-007741

EXPLOIT AVAILABILITY

sources: VULHUB: VHN-76331

PATCH

title:ADAMViewurl:http://www.advantech.co.jp/products/1-39JG4I/ADAMVIEW/mod_328DB466-4B81-4652-B8AF-F5568F24A103.aspx

Trust: 0.8

title:Advantech AdamView has multiple patches for stack buffer overflow vulnerabilitiesurl:https://www.cnvd.org.cn/patchInfo/show/52044

Trust: 0.6

sources: CNVD: CNVD-2014-08422 // JVNDB: JVNDB-2014-007741

EXTERNAL IDS

db:NVDid:CVE-2014-8386

Trust: 3.7

db:EXPLOIT-DBid:35503

Trust: 1.7

db:BIDid:71191

Trust: 1.6

db:CNNVDid:CNNVD-201411-405

Trust: 0.9

db:CNVDid:CNVD-2014-08422

Trust: 0.8

db:JVNDBid:JVNDB-2014-007741

Trust: 0.8

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

Trust: 0.2

db:PACKETSTORMid:129184

Trust: 0.2

db:PACKETSTORMid:132546

Trust: 0.1

db:VULHUBid:VHN-76331

Trust: 0.1

sources: IVD: a8aaedc6-2351-11e6-abef-000c29c66e3d // CNVD: CNVD-2014-08422 // VULHUB: VHN-76331 // BID: 71191 // JVNDB: JVNDB-2014-007741 // PACKETSTORM: 129184 // CNNVD: CNNVD-201411-405 // NVD: CVE-2014-8386

REFERENCES

url:http://www.coresecurity.com/advisories/advantech-adamview-buffer-overflow

Trust: 2.6

url:http://www.exploit-db.com/exploits/35503

Trust: 1.7

url:http://seclists.org/fulldisclosure/2014/nov/57

Trust: 1.7

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

Trust: 1.2

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

Trust: 0.8

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

Trust: 0.8

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

Trust: 0.3

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

Trust: 0.1

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

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://www.coresecurity.com.

Trust: 0.1

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

Trust: 0.1

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

Trust: 0.1

url:http://www.advantech.com/products/1-39jg4i/adamview/mod_328db466-4b81-4652-b8af-f5568f24a103.aspx.

Trust: 0.1

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

Trust: 0.1

sources: CNVD: CNVD-2014-08422 // VULHUB: VHN-76331 // BID: 71191 // JVNDB: JVNDB-2014-007741 // PACKETSTORM: 129184 // CNNVD: CNNVD-201411-405 // NVD: CVE-2014-8386

CREDITS

CORE Advisories Team

Trust: 0.9

sources: BID: 71191 // CNNVD: CNNVD-201411-405

SOURCES

db:IVDid:a8aaedc6-2351-11e6-abef-000c29c66e3d
db:CNVDid:CNVD-2014-08422
db:VULHUBid:VHN-76331
db:BIDid:71191
db:JVNDBid:JVNDB-2014-007741
db:PACKETSTORMid:129184
db:CNNVDid:CNNVD-201411-405
db:NVDid:CVE-2014-8386

LAST UPDATE DATE

2025-04-12T23:22:20.505000+00:00


SOURCES UPDATE DATE

db:CNVDid:CNVD-2014-08422date:2014-11-21T00:00:00
db:VULHUBid:VHN-76331date:2015-01-21T00:00:00
db:BIDid:71191date:2015-07-15T00:14:00
db:JVNDBid:JVNDB-2014-007741date:2015-01-23T00:00:00
db:CNNVDid:CNNVD-201411-405date:2015-01-21T00:00:00
db:NVDid:CVE-2014-8386date:2025-04-12T10:46:40.837

SOURCES RELEASE DATE

db:IVDid:a8aaedc6-2351-11e6-abef-000c29c66e3ddate:2014-11-21T00:00:00
db:CNVDid:CNVD-2014-08422date:2014-11-21T00:00:00
db:VULHUBid:VHN-76331date:2015-01-20T00:00:00
db:BIDid:71191date:2014-11-19T00:00:00
db:JVNDBid:JVNDB-2014-007741date:2015-01-23T00:00:00
db:PACKETSTORMid:129184date:2014-11-20T16:23:32
db:CNNVDid:CNNVD-201411-405date:2014-11-24T00:00:00
db:NVDid:CVE-2014-8386date:2015-01-20T15:59:00.047