Facebook Google Plus Twitter LinkedIn YouTube RSS Menu Search Resource - BlogResource - WebinarResource - ReportResource - Eventicons_066 icons_067icons_068icons_069icons_070

[R1] Advantech WebAccess Multiple Vulnerabilities

High

Synopsis

While developing a plugin for CVE-2016-0855, Tenable discovered an additional vulnerability in Advantech WebAccess. The issue is due to the /WaExlViewer application not properly managing authentication, allowing a remote attacker to bypass intended restrictions (CVE-2017-5152). With this access, an attacker can perform a variety of actions including, but not limited to:

  • When combining with another SQL injection vulnerability via /WaExlViewer/updateTemplate.aspx (CVE-2017-5154), a remote, unauthenticated attacker can retrieve the password for the WebAccess admin account.
  • Uploading template files with certain extensions (e.g., xls, xlsx, jpg, and png) will be stored in [target]/broadweb/WaExlViewer/templates. At the very least, this can be used to exhaust disk space on the target system. Note: the systems allows jpg, but discriminates against jpeg (haters!).
  • Update and delete existing template files, in the formats listed above. A crafted XSL / XLSX with malicious macros could be used in a phishing campaign.

Operations in the /WaExlViewer application appear to access and manipulate tables in the MS Access database located in [installdir]\config\bwCfg.mdb (e.g., C:\WebAccess\Node\config\bwCfg.mdb). Based on limited testing due to time constraints, we know it interacts with the bwCfg.mdb database. It may include retrieval, update, and deletion of the records in some table(s).

To take advantage of this flaw, an attacker would send a POST request to /WaExlViewer/openRpt.aspx with the parameters "projName=<some_name>&nodeName=<some_name>&waPath=C:\WebAccess\Node", that will cause the application to set specific session variables.

Solution

Advantech has released version 8.2 of WebAccess to address these issues.

Disclosure Timeline

2016-02-16 - Issue discovered
2016-02-22 - Follow-up testing to better determine impact
2016-03-08 - SQLi found, additional testing completed
2016-03-14 - Submitted to ZDI for consideration, case bmartin0010 opened
2016-03-31 - ZDI makes an offer of $1500, Tenable accepts.
2016-04-12 - Vulnerability reported to vendor by ZDI
2016-11-01 - Advantech releases 8.2 fixing issues and issues press release. No advisory or changelog.
2017-01-12 - ZDI releases advisory (ZDI-17-043)
2017-01-12 - ICS-CERT releases advisory (ICSA-17-012-01)

All information within TRA advisories is provided “as is”, without warranty of any kind, including the implied warranties of merchantability and fitness for a particular purpose, and with no guarantee of completeness, accuracy, or timeliness. Individuals and organizations are responsible for assessing the impact of any actual or potential security vulnerability.

Tenable takes product security very seriously. If you believe you have found a vulnerability in one of our products, we ask that you please work with us to quickly resolve it in order to protect customers. Tenable believes in responding quickly to such reports, maintaining communication with researchers, and providing a solution in short order.

For more details on submitting vulnerability information, please see our Vulnerability Reporting Guidelines page.

If you have questions or corrections about this advisory, please email [email protected]

Try for Free Buy Now

Try Tenable.io

FREE FOR 60 DAYS

Enjoy full access to a modern, cloud-based vulnerability management platform that enables you to see and track all of your assets with unmatched accuracy. Sign up now.

Buy Tenable.io

Enjoy full access to a modern, cloud-based vulnerability management platform that enables you to see and track all of your assets with unmatched accuracy. Purchase your annual subscription today.

65 assets

$2,190.00

Buy Now

Try for Free Buy Now

Try Nessus Professional Free

FREE FOR 7 DAYS

Nessus® is the most comprehensive vulnerability scanner on the market today. Nessus Professional will help automate the vulnerability scanning process, save time in your compliance cycles and allow you to engage your IT team.

Buy Nessus Professional

Nessus® is the most comprehensive vulnerability scanner on the market today. Nessus Professional will help automate the vulnerability scanning process, save time in your compliance cycles and allow you to engage your IT team.

Buy a multi-year license and save

Try for Free Buy Now

Try Tenable.io Web Application Scanning

FREE FOR 60 DAYS

Enjoy full access to our latest web application scanning offering designed for modern applications as part of the Tenable.io platform. Safely scan your entire online portfolio for vulnerabilities with a high degree of accuracy without heavy manual effort or disruption to critical web applications. Sign up now.

Buy Tenable.io Web Application Scanning

Enjoy full access to a modern, cloud-based vulnerability management platform that enables you to see and track all of your assets with unmatched accuracy. Purchase your annual subscription today.

5 FQDNs

$3,578.00

Buy Now

Try for Free Contact Sales

Try Tenable.io Container Security

FREE FOR 60 DAYS

Enjoy full access to the only container security offering integrated into a vulnerability management platform. Monitor container images for vulnerabilities, malware and policy violations. Integrate with continuous integration and continuous deployment (CI/CD) systems to support DevOps practices, strengthen security and support enterprise policy compliance.

Buy Tenable.io Container Security

Tenable.io Container Security seamlessly and securely enables DevOps processes by providing visibility into the security of container images – including vulnerabilities, malware and policy violations – through integration with the build process.

Learn More about Industrial Security

Get a Demo of Tenable.sc

Please fill out the form below with your contact information and a sales representative will contact you shortly to schedule a demo. You may also include a short comment (limited to 255 characters). Please note that fields with asterisks (*) are mandatory.