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]

Risk Information

Tenable Advisory ID: TRA-2017-04
Credit:
Tenable Network Security
CVSSv2 Base / Temporal Score:
7.5 / 6.2
CVSSv2 Vector:
(AV:N/AC:L/Au:N/C:P/I:P/A:P/E:F/RL:OF/RC:C)
Affected Products:
Advantech WebAccess 8.1-2015.12.30, 8.1-2016.05.19
Risk Factor:
High
Additional Keywords:
ZDI-CAN-3679
TippingPoint IPS Digital Vaccine protection filter ID 24489 / 24490

Advisory Timeline

2017-01-19 - [R1] Initial Release

Tenable Vulnerability Management

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.

Your Tenable Vulnerability Management trial also includes Tenable Lumin and Tenable Web App Scanning.

Tenable Vulnerability Management

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.

100 assets

Choose Your Subscription Option:

Buy Now

Tenable Vulnerability Management

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.

Your Tenable Vulnerability Management trial also includes Tenable Lumin and Tenable Web App Scanning.

Tenable Vulnerability Management

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.

100 assets

Choose Your Subscription Option:

Buy Now

Tenable Vulnerability Management

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.

Your Tenable Vulnerability Management trial also includes Tenable Lumin and Tenable Web App Scanning.

Tenable Vulnerability Management

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.

100 assets

Choose Your Subscription Option:

Buy Now

Try Tenable Web App Scanning

Enjoy full access to our latest web application scanning offering designed for modern applications as part of the Tenable One Exposure Management 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.

Your Tenable Web App Scanning trial also includes Tenable Vulnerability Management and Tenable Lumin.

Buy Tenable Web App 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

Buy Now

Try Tenable Lumin

Visualize and explore your exposure management, track risk reduction over time and benchmark against your peers with Tenable Lumin.

Your Tenable Lumin trial also includes Tenable Vulnerability Management and Tenable Web App Scanning.

Buy Tenable Lumin

Contact a Sales Representative to see how Tenable Lumin can help you gain insight across your entire organization and manage cyber risk.

Try Tenable Nessus Professional Free

FREE FOR 7 DAYS

Tenable Nessus is the most comprehensive vulnerability scanner on the market today.

NEW - Tenable Nessus Expert
Now Available

Nessus Expert adds even more features, including external attack surface scanning, and the ability to add domains and scan cloud infrastructure. Click here to Try Nessus Expert.

Fill out the form below to continue with a Nessus Pro Trial.

Buy Tenable Nessus Professional

Tenable Nessus is the most comprehensive vulnerability scanner on the market today. Tenable 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. Add Advanced Support for access to phone, community and chat support 24 hours a day, 365 days a year.

Select Your License

Buy a multi-year license and save.

Add Support and Training

Try Tenable Nessus Expert Free

FREE FOR 7 DAYS

Built for the modern attack surface, Nessus Expert enables you to see more and protect your organization from vulnerabilities from IT to the cloud.

Already have Tenable Nessus Professional?
Upgrade to Nessus Expert free for 7 days.

Buy Tenable Nessus Expert

Built for the modern attack surface, Nessus Expert enables you to see more and protect your organization from vulnerabilities from IT to the cloud.

Select Your License

Buy a multi-year license and save more.

Add Support and Training