CVE-2014-0773 Advantech WebAccess Command Injection
An attacker can bypass validation in the BWOCXRUN control to execute arbitrary commands via UNC paths, requiring user interaction.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2014-0773?
CVE-2014-0773 is a high-severity command injection vulnerability in Advantech WebAccess, published on 12 Apr 2014. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
The BWOCXRUN.BwocxrunCtrl.1 control contains a method named “CreateProcess.” This method contains validation to ensure an attacker cannot run arbitrary command lines. After validation, the values supplied in the HTML are passed to the Windows CreateProcessA API.
The validation can be bypassed allowing for running arbitrary command lines. The command line can specify running remote files (example: UNC command line).
A function exists at offset 100019B0 of bwocxrun.ocx. Inside this function, there are 3 calls to strstr to check the contents of the user specified command line. If “\setup.exe,” “\bwvbprt.exe,” or “\bwvbprtl.exe” are contained in the command line (strstr returns nonzero value), the command line passes validation and is then passed to CreateProcessA.
Weakness: CWE-77
Which versions are affected by CVE-2014-0773?
It affects 1 product.
Products include Advantech Advantech Webaccess.
How do I fix CVE-2014-0773?
No fix has been published for CVE-2014-0773 yet. Limit exposure of the affected software until one is available.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is CVE-2014-0773 being exploited?
There is no known exploitation of CVE-2014-0773 in the wild and no public exploit code.
Other vulnerabilities in Advantech WebAccess
- CVE-2011-4524 Buffer overflow in Advantech/BroadWin WebAccess before 7.0 allows remote attackers to execute arbitrary code via a long string value in unspecified parameters.
- CVE-2011-4525 Code injection in n/a
- CVE-2011-4526 Memory corruption in n/a
- CVE-2012-0238 Stack-based buffer overflow in opcImg.asp in Advantech/BroadWin WebAccess before 7.0 allows remote attackers to execute arbitrary code via unspecified vectors.
- CVE-2012-0240 Auth bypass in n/a
Sources
Also known as GHSA-wc8h-x86j-g2mp.