Advantech WebAccess bwstwww Stack-based Buffer Overflow Remote Code Execution Vulnerability
Vulnerability Details
This vulnerability allows remote attackers to execute arbitrary code on vulnerable installations of Advantech WebAccess. Authentication is not required to exploit this vulnerability.
The specific flaw exists within the parsing of the command line in the bwstwww utility. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a fixed-length stack-based buffer. An attacker can leverage this functionality to execute code under the context of Administrator.
Additional Details
Advantech has issued an update to correct this vulnerability. More details can be found at:
https://ics-cert.us-cert.gov/advisories/ICSA-18-004-02
Disclosure Timeline
- 2017-08-04 - Vulnerability reported to vendor
- 2018-01-05 - Coordinated public release of advisory
Credit
Steven Seeley (mr_me) of Offensive Security