EZSocket: Use of Externally-Controlled Input to Select Classes or Code
CVE-2023-6943 is a critical-severity use of externally-controlled input to select classes or code vulnerability in EZSocket from Mitsubishi Electric, with a CVSS 3.1 base score of 9.8 out of 10. It can be exploited remotely over the network by an unauthenticated attacker, without any action from a user. Affected EZSocket versions: 3.0 to 5.92. The record does not name a fixed version, so check the vendor advisory. There is no confirmed exploitation so far. EPSS estimates a 2.13% chance of exploitation within 30 days, higher than 82% of scored CVEs.
Critical severity: a successful attack would have severe impact.
What to do
- Check which version of EZSocket you run against the affected versions below, and install the vendor's latest release.
- Read the advisory on mitsubishielectric.com for workarounds and exact fixed builds.
- Until you can update, restrict network access to the affected service so it is not reachable from untrusted networks.
Affected products and versions
| Vendor | Product | Affected versions | Fixed in |
|---|---|---|---|
| Mitsubishi Electric | EZSocket | 3.0 to 5.92 | Not stated |
| Mitsubishi Electric | GT Designer3 Version1(GOT1000) | 1.325P and prior | Not stated |
| Mitsubishi Electric | GT Designer3 Version1(GOT2000) | 1.320J and prior | Not stated |
| Mitsubishi Electric | GX Works2 | 1.11M to 1.626C | Not stated |
| Mitsubishi Electric | GX Works3 | 1.106L and prior | Not stated |
| Mitsubishi Electric | MELSOFT Navigator | 1.04E to 2.102G | Not stated |
| Mitsubishi Electric | MT Works2 | 1.190Y and prior | Not stated |
| Mitsubishi Electric | MX Component | 4.00A to 5.007H | Not stated |
| Mitsubishi Electric | MX OPC Server DA/UA | all versions | Not stated |
| Mitsubishi Electric | Fr Configurator2 | Not specified in the record | Not stated |
| Mitsubishi Electric | Got1000 | Not specified in the record | Not stated |
| Mitsubishi Electric | Got2000 | Not specified in the record | Not stated |
| Mitsubishi Electric | Mc Works64 | Not specified in the record | Not stated |
Version data comes from the organisation that assigned the CVE. Confirm against the vendor advisory before deciding you are unaffected.
How the severity score breaks down
- Attack vector
- NetworkCan be exploited remotely over a network, including the internet.
- Attack complexity
- LowNo special conditions are needed; the attack works reliably.
- Privileges required
- NoneNo account or login is needed.
- User interaction
- NoneNo action by a victim is required.
- Scope
- UnchangedImpact stays within the vulnerable component.
- Confidentiality
- HighAll data handled by the component can be read.
- Integrity
- HighData or code can be modified at will.
- Availability
- HighThe component can be taken down completely.
Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. Scored by NVD.
| Scoring system | Score | Severity | Scored by |
|---|---|---|---|
| CVSS 3.1 | 9.8 | Critical | CNA (yd.MitsubishiElectric.co.jp) |
| CVSS 3.1 | 9.8 | Critical | NVD |
Official description
Use of Externally-Controlled Input to Select Classes or Code ('Unsafe Reflection') vulnerability in Mitsubishi Electric Corporation EZSocket versions 3.0 to 5.92, GT Designer3 Version1(GOT1000) versions 1.325P and prior, GT Designer3 Version1(GOT2000) versions 1.320J and prior, GX Works2 versions 1.11M to 1.626C, GX Works3 versions 1.106L and prior, MELSOFT Navigator versions 1.04E to 2.102G, MT Works2 versions 1.190Y and prior, MX Component versions 4.00A to 5.007H and MX OPC Server DA/UA all versions allows a remote unauthenticated attacker to execute a malicious code by RPC with a path to a malicious library while connected to the products.
Source: the CVE record as published by its numbering authority, via NVD and CVE.org.
The underlying weakness: Use of Externally-Controlled Input to Select Classes or Code
The product uses external input with reflection to select which classes or code to use, but it does not sufficiently prevent the input from selecting improper classes or code.
How developers prevent this class of flaw
- Refactor your code to avoid using reflection.
- Do not use user-controlled inputs to select and load classes or code.
- Apply strict input validation by using allowlists or indirect selection to ensure that the user is only selecting allowable classes or code.
More Use of Externally-Controlled Input to Select Classes or Code vulnerabilities (CWE-470)
Timeline
- CVE record published.
- CISA published its SSVC assessment (exploitation: none, automatable: yes, technical impact: total).
- Record last changed materially (score, affected products, status or references).
References
Third-party and government advisories
- jvn.jp/vu/JVNVU95103362Third Party Advisory
- cisa.gov/news-events/ics-advisories/icsa-24-030-02Third Party Advisory, US Government Resource
Other vulnerabilities in EZSocket
- 7.8 High severity
- 7.5 High severity
- 7.8 High severity
Recent Use of Externally-Controlled Input to Select Classes or Code vulnerabilities
- 9.8 Critical severity
- 8.8 High severity
- 8.8 High severity
- 8.8 High severity
- 7.3 High severity
- 9.8 Critical severity
Spotted an error? Tell us.