Vulnerabilities > CVE-2017-14016 - Improper Restriction of Operations within the Bounds of a Memory Buffer vulnerability in Advantech Webaccess

047910
CVSS 6.3 - MEDIUM
Attack vector
NETWORK
Attack complexity
LOW
Privileges required
NONE
Confidentiality impact
LOW
Integrity impact
LOW
Availability impact
LOW
network
low complexity
advantech
CWE-119
exploit available
metasploit

Summary

A Stack-based Buffer Overflow issue was discovered in Advantech WebAccess versions prior to V8.2_20170817. The application lacks proper validation of the length of user-supplied data prior to copying it to a stack-based buffer, which could allow an attacker to execute arbitrary code under the context of the process.

Vulnerable Configurations

Part Description Count
Application
Advantech
155

Common Attack Pattern Enumeration and Classification (CAPEC)

  • Buffer Overflow via Environment Variables
    This attack pattern involves causing a buffer overflow through manipulation of environment variables. Once the attacker finds that they can modify an environment variable, they may try to overflow associated buffers. This attack leverages implicit trust often placed in environment variables.
  • Overflow Buffers
    Buffer Overflow attacks target improper or missing bounds checking on buffer operations, typically triggered by input injected by an attacker. As a consequence, an attacker is able to write past the boundaries of allocated buffer regions in memory, causing a program crash or potentially redirection of execution as per the attackers' choice.
  • Client-side Injection-induced Buffer Overflow
    This type of attack exploits a buffer overflow vulnerability in targeted client software through injection of malicious content from a custom-built hostile service.
  • Filter Failure through Buffer Overflow
    In this attack, the idea is to cause an active filter to fail by causing an oversized transaction. An attacker may try to feed overly long input strings to the program in an attempt to overwhelm the filter (by causing a buffer overflow) and hoping that the filter does not fail securely (i.e. the user input is let into the system unfiltered).
  • MIME Conversion
    An attacker exploits a weakness in the MIME conversion routine to cause a buffer overflow and gain control over the mail server machine. The MIME system is designed to allow various different information formats to be interpreted and sent via e-mail. Attack points exist when data are converted to MIME compatible format and back.

Exploit-Db

descriptionAdvantech WebAccess 8.2-2017.03.31 - Webvrpcs Service Opcode 80061 Stack Buffer Overflow (Metasploit). CVE-2017-14016. Webapps exploit for Windows platform. ...
fileexploits/windows/webapps/43340.rb
idEDB-ID:43340
last seen2017-12-14
modified2017-12-14
platformwindows
port4592
published2017-12-14
reporterExploit-DB
sourcehttps://www.exploit-db.com/download/43340/
titleAdvantech WebAccess 8.2-2017.03.31 - Webvrpcs Service Opcode 80061 Stack Buffer Overflow (Metasploit)
typewebapps

Metasploit

descriptionThis module exploits a stack buffer overflow in Advantech WebAccess 8.2. By sending a specially crafted DCERPC request, an attacker could overflow the buffer and execute arbitrary code.
idMSF:EXPLOIT/WINDOWS/SCADA/ADVANTECH_WEBACCESS_WEBVRPCS_BOF
last seen2020-06-01
modified2019-08-15
published2017-12-07
references
reporterRapid7
sourcehttps://github.com/rapid7/metasploit-framework/blob/master//modules/exploits/windows/scada/advantech_webaccess_webvrpcs_bof.rb
titleAdvantech WebAccess Webvrpcs Service Opcode 80061 Stack Buffer Overflow

Packetstorm

data sourcehttps://packetstormsecurity.com/files/download/145401/advantech_webaccess_webvrpcs_bof.rb.txt
idPACKETSTORM:145401
last seen2017-12-13
published2017-12-13
reportermr_me
sourcehttps://packetstormsecurity.com/files/145401/Advantech-WebAccess-8.2-Stack-Buffer-Overflow.html
titleAdvantech WebAccess 8.2 Stack Buffer Overflow