On Wednesday, July 28, 2020, researchers at Claroty released information on a number of critical remote code execution vulnerabilities across products of three industrial control system (ICS) vendors’remote access technologies: HMS, Secomea, and Moxa. Rapid7 has aggregated these vulnerabilities into a single AttackerKB meta-topic reference to help defenders keep up-to-date with the latest developments.
The following CVEs have been assigned to these weaknesses:
- Secomea GateManager:
- Moxa EDR-G902/3 industrial VPN servers:
- HMS Networks eCatcher VPN clients:
And, the following vendor patches are available:
- HMS eWon Patches: https://ewon.biz/technical-support/pages/all-downloads
- Secomea: https://kb.secomea.com/helpdesk/KB/Category/402879-software–firmware
- Moxa: https://www.moxa.com/en/support/product-support/software-and-documentation
Rapid7 strongly recommends that organizations using these technologies immediately assess their internet-facing ICS remote configurations to ensure only protocols and services that need to be exposed to the internet are configured and that these specific devices and services are patched as soon as possible. A number of these patches have been available since early June and early July.
The U.S. ICS CERT/CISA have issued advisories for these vulnerabilities, noting that many of them are trivial to exploit.
In this post, we’re focusing mainly on the remote code execution risks, though in this age of rampant phishing attacks, the user-interaction-required weaknesses in HMS eWon VPNs should not be taken lightly by organizations using that technology.
Secomea GateManager is used widely in ICS deployments and the weakness in HTTP request header handling can lead to unauthenticated remote code execution, providing an attacker full access to secured networks and complete visibility into all VPN traffic.
Moxa EDR-G902/3 industrial VPN servers have an HTTP request processing weakness that can be exploited to trigger an unauthenticated stack-based overflow on the web server with the potential for remote code execution.
Rapid7 Labs is working on extending our fingerprinting capabilities of these technologies, but have discovered nearly 900 Secomea GateManager and Moxa HTTP endpoints (combined view below) and a myriad of Secomea versions, which the gateways provide directly in the HTML login page:
While this number pales in comparison to exposure counts of many other, recent remote code execution disclosures, these devices protect industrial control systems and networks, meaning successful attackers may be able to do real, physical-world harm once they’ve successfully compromised one or more of these VPN systems.
We call out HTTP specifically since the vulnerabilities discovered by Claroty are within that component. However, significant attention has been drawn to these ICS systems which may lead to other avenues of exploitation. For example, there are nearly 1,900 Moxa VPN gateways exposing their Telnet administration port to the internet, ¾ of which provide version, MAC address and other configuration information, with 1% not requiring passwords to completely access or reconfigure the systems. Upon examining some of the Moxa HTTP web responses, many do not seem to require authentication to change critical configuration settings. Furthermore, there are thousands more Moxa systems providing detailed configuration over a custom UDP protocol.
Given the media and technologist attention being paid to these disclosures, both attacker and “researcher” attention will be focused on these new and existing weaknesses and organizations should be prepared for critical attacks if these systems are not secured.
Given the “cloud” nature of the Secomea systems, Rapid7 Labs is keeping an eye on Project Heisenberg for any unusual HTTP activity on known, popular access and administrative ports for these systems.
If you like the site, please consider joining the telegram channel or supporting us on Patreon using the button below.