CVE-2022-40267
Severity: MEDIUM
Description: Predictable Seed in Pseudo-Random Number Generator (PRNG) vulnerability in Mitsubishi Electric Corporation MELSEC iQ-F Series FX5U-xMy/z (x=32,64,80, y=T,R, z=ES,DS,ESS,DSS) with serial number 17X**** or later, and versions 1.280 and prior, Mitsubishi Electric Corporation MELSEC iQ-F Series FX5U-xMy/z (x=32,64,80, y=T,R, z=ES,DS,ESS,DSS) with serial number 179**** and prior, and versions 1.074 and prior, Mitsubishi Electric Corporation MELSEC iQ-F Series FX5UC-xMy/z (x=32,64,96, y=T, z=D,DSS)) with serial number 17X**** or later, and versions 1.280 and prior, Mitsubishi Electric Corporation MELSEC iQ-F Series FX5UC-xMy/z (x=32,64,96, y=T, z=D,DSS)) with serial number 179**** and prior, and versions 1.074 and prior, Mitsubishi Electric Corporation MELSEC iQ-F Series FX5UC-32MT/DS-TS versions 1.280 and prior, Mitsubishi Electric Corporation MELSEC iQ-F Series FX5UC-32MT/DSS-TS versions 1.280 and prior, Mitsubishi Electric Corporation MELSEC iQ-F Series FX5UJ-xMy/z (x=24,40,60, y=T,R, z=ES,ESS) versions 1.042 and prior, Mitsubishi Electric Corporation MELSEC iQ-F Series FX5UJ-xMy/ES-A (x=24,40,60, y=T,R) versions 1.043 and prior, Mitsubishi Electric Corporation MELSEC iQ-F Series FX5S-xMy/z (x=30,40,60,80, y=T,R, z=ES,ESS) versions 1.003 and prior, Mitsubishi Electric Corporation MELSEC iQ-F Series FX5UC-32MR/DS-TS versions 1.280 and prior, Mitsubishi Electric Corporation MELSEC iQ-R Series R00/01/02CPU versions 33 and prior, Mitsubishi Electric Corporation MELSEC iQ-R Series R04/08/16/32/120(EN)CPU versions 66 and prior allows a remote unauthenticated attacker to access the Web server function by guessing the random numbers used for authentication from several used random numbers.
CVSS Score: 5.9
EPSS Data
- EPSS: 0.021770000
- Percentile: 0.846430000
- Date: 2026-06-03
ExploitDB
No data available.
HackerOne Data
- Rank: 9656
- Reports submitted count: 0
- Unknown: 0
- None: 0
- Low: 0
- Medium: 0
- High: 0
- Critical: 0
Nuclei Templates
No data available.
Affected Products:
- Mitsubishi Electric Corporation MELSEC iQ-F Series FX5U-32MT/ES
- Versions: serial number 17X**** or later, and versions 1.280 and prior, serial number 179**** and prior, and versions 1.074 and prior
- Mitsubishi Electric Corporation MELSEC iQ-F Series FX5U-64MT/ES
- Versions: serial number 17X**** or later, and versions 1.280 and prior, serial number 179**** and prior, and versions 1.074 and prior
- Mitsubishi Electric Corporation MELSEC iQ-F Seres FX5U-80MT/ES
- Versions: serial number 17X**** or later, and versions 1.280 and prior, serial number 179**** and prior, and versions 1.074 and prior
- Mitsubishi Electric Corporation MELSEC iQ-F Series FX5U-32MR/ES
- Versions: serial number 17X**** or later, and versions 1.280 and prior, serial number 179**** and prior, and versions 1.074 and prior
- Mitsubishi Electric Corporation MELSEC iQ-F Series FX5U-64MR/ES
- Versions: serial number 17X**** or later, and versions 1.280 and prior, serial number 179**** and prior, and versions 1.074 and prior
- Mitsubishi Electric Corporation MELSEC iQ-F Series FX5U-80MR/ES
- Versions: serial number 17X**** or later, and versions 1.280 and prior, serial number 179**** and prior, and versions 1.074 and prior
- Mitsubishi Electric Corporation MELSEC iQ-F Series FX5U-32MT/DS
- Versions: serial number 17X**** or later, and versions 1.280 and prior, serial number 179**** and prior, and versions 1.074 and prior
- Mitsubishi Electric Corporation MELSEC iQ-F Series FX5U-64MT/DS
- Versions: serial number 17X**** or later, and versions 1.280 and prior, serial number 179**** and prior, and versions 1.074 and prior
- Mitsubishi Electric Corporation MELSEC iQ-F Series FX5U-80MT/DS
- Versions: serial number 17X**** or later, and versions 1.280 and prior, serial number 179**** and prior, and versions 1.074 and prior
- Mitsubishi Electric Corporation MELSEC iQ-F Series FX5U-32MR/DS
- Versions: serial number 17X**** or later, and versions 1.280 and prior, serial number 179**** and prior, and versions 1.074 and prior
- Mitsubishi Electric Corporation MELSEC iQ-F Series FX5U-64MR/DS
- Versions: serial number 17X**** or later, and versions 1.280 and prior, serial number 179**** and prior, and versions 1.074 and prior
- Mitsubishi Electric Corporation MELSEC iQ-F Series FX5U-80MR/DS
- Versions: serial number 17X**** or later, and versions 1.280 and prior, serial number 179**** and prior, and versions 1.074 and prior
- Mitsubishi Electric Corporation MELSEC iQ-F Series FX5U-32MT/ESS
- Versions: serial number 17X**** or later, and versions 1.280 and prior, serial number 179**** and prior, and versions 1.074 and prior
- Mitsubishi Electric Corporation MELSEC iQ-F Series FX5U-64MT/ESS
- Versions: serial number 17X**** or later, and versions 1.280 and prior, serial number 179**** and prior, and versions 1.074 and prior
- Mitsubishi Electric Corporation MELSEC iQ-F Series FX5U-80MT/ESS
- Versions: serial number 17X**** or later, and versions 1.280 and prior, serial number 179**** and prior, and versions 1.074 and prior
- Mitsubishi Electric Corporation MELSEC iQ-F Series FX5U-32MT/DSS
- Versions: serial number 17X**** or later, and versions 1.280 and prior, serial number 179**** and prior, and versions 1.074 and prior
- Mitsubishi Electric Corporation MELSEC iQ-F Series FX5U-64MT/DSS
- Versions: serial number 17X**** or later, and versions 1.280 and prior, serial number 179**** and prior, and versions 1.074 and prior
- Mitsubishi Electric Corporation MELSEC iQ-F Series FX5U-80MT/DSS
- Versions: serial number 17X**** or later, and versions 1.280 and prior, serial number 179**** and prior, and versions 1.074 and prior
- Mitsubishi Electric Corporation MELSEC iQ-F Series FX5UC-32MT/D
- Versions: serial number 17X**** or later, and versions 1.280 and prior, serial number 179**** and prior, and versions 1.074 and prior
- Mitsubishi Electric Corporation MELSEC iQ-F Series FX5UC-64MT/D
- Versions: serial number 17X**** or later, and versions 1.280 and prior, serial number 179**** and prior, and versions 1.074 and prior
- Mitsubishi Electric Corporation MELSEC iQ-F Series FX5UC-96MT/D
- Versions: serial number 17X**** or later, and versions 1.280 and prior, serial number 179**** and prior, and versions 1.074 and prior
- Mitsubishi Electric Corporation MELSEC iQ-F Series FX5UC-32MT/DSS
- Versions: serial number 17X**** or later, and versions 1.280 and prior, serial number 179**** and prior, and versions 1.074 and prior
- Mitsubishi Electric Corporation MELSEC iQ-F Series FX5UC-64MT/DSS
- Versions: serial number 17X**** or later, and versions 1.280 and prior, serial number 179**** and prior, and versions 1.074 and prior
- Mitsubishi Electric Corporation MELSEC iQ-F Series FX5UC-96MT/DSS
- Versions: serial number 17X**** or later, and versions 1.280 and prior, serial number 179**** and prior, and versions 1.074 and prior
- Mitsubishi Electric Corporation MELSEC iQ-F Series FX5UC-32MT/DS-TS
- Versions: versions 1.280 and prior
- Mitsubishi Electric Corporation MELSEC iQ-F Series FX5UC-32MT/DSS-TS
- Versions: versions 1.280 and prior
- Mitsubishi Electric Corporation MELSEC iQ-F Series FX5UC-32MR/DS-TS
- Versions: versions 1.280 and prior
- Mitsubishi Electric Corporation MELSEC iQ-R Series R00CPU
- Versions: versions 33 and prior
- Mitsubishi Electric Corporation MELSEC iQ-R Series R01CPU
- Versions: versions 33 and prior
- Mitsubishi Electric Corporation MELSEC iQ-R Series R02CPU
- Versions: versions 33 and prior
- Mitsubishi Electric Corporation MELSEC iQ-R Series R04CPU
- Versions: versions 66 and prior
- Mitsubishi Electric Corporation MELSEC iQ-R Series R08CPU
- Versions: versions 66 and prior
- Mitsubishi Electric Corporation MELSEC iQ-R Series R16CPU
- Versions: versions 66 and prior
- Mitsubishi Electric Corporation MELSEC iQ-R Series R32CPU
- Versions: versions 66 and prior
- Mitsubishi Electric Corporation MELSEC iQ-R Series R120CPU
- Versions: versions 66 and prior
- Mitsubishi Electric Corporation MELSEC iQ-R Series R04ENCPU
- Versions: versions 66 and prior
- Mitsubishi Electric Corporation MELSEC iQ-R Series R08ENCPU
- Versions: versions 66 and prior
- Mitsubishi Electric Corporation MELSEC iQ-R Series R16ENCPU
- Versions: versions 66 and prior
- Mitsubishi Electric Corporation MELSEC iQ-R Series R32ENCPU
- Versions: versions 66 and prior
- Mitsubishi Electric Corporation MELSEC iQ-R Series R120ENCPU
- Versions: versions 66 and prior
- Mitsubishi Electric Corporation MELSEC iQ-F Series FX5UJ-24MT/ES
- Versions: 1.042 and prior
- Mitsubishi Electric Corporation MELSEC iQ-F Series FX5UJ-40MT/ES
- Versions: 1.042 and prior
- Mitsubishi Electric Corporation MELSEC iQ-F Series FX5UJ-60MT/ES
- Versions: 1.042 and prior
- Mitsubishi Electric Corporation MELSEC iQ-F Series FX5UJ-24MR/ES
- Versions: 1.042 and prior
- Mitsubishi Electric Corporation MELSEC iQ-F Series FX5UJ-40MR/ES
- Versions: 1.042 and prior
- Mitsubishi Electric Corporation MELSEC iQ-F Series FX5UJ-60MR/ES
- Versions: 1.042 and prior
- Mitsubishi Electric Corporation MELSEC iQ-F Series FX5UJ-24MT/ESS
- Versions: 1.042 and prior
- Mitsubishi Electric Corporation MELSEC iQ-F Series FX5UJ-40MT/ESS
- Versions: 1.042 and prior
- Mitsubishi Electric Corporation MELSEC iQ-F Series FX5UJ-60MT/ESS
- Versions: 1.042 and prior
- Mitsubishi Electric Corporation MELSEC iQ-F Series FX5UJ-24MT/ES-A
- Versions: 1.043 and prior
- Mitsubishi Electric Corporation MELSEC iQ-F Series FX5UJ-40MT/ES-A
- Versions: 1.043 and prior
- Mitsubishi Electric Corporation MELSEC iQ-F Series FX5UJ-60MT/ES-A
- Versions: 1.043 and prior
- Mitsubishi Electric Corporation MELSEC iQ-F Series FX5UJ-24MR/ES-A
- Versions: 1.043 and prior
- Mitsubishi Electric Corporation MELSEC iQ-F Series FX5UJ-40MR/ES-A
- Versions: 1.043 and prior
- Mitsubishi Electric Corporation MELSEC iQ-F Series FX5UJ-60MR/ES-A
- Versions: 1.043 and prior
- Mitsubishi Electric Corporation MELSEC iQ-F Series FX5S-30MT/ES
- Versions: 1.003 and prior
- Mitsubishi Electric Corporation MELSEC iQ-F Series FX5S-40MT/ES
- Versions: 1.003 and prior
- Mitsubishi Electric Corporation MELSEC iQ-F Series FX5S-60MT/ES
- Versions: 1.003 and prior
- Mitsubishi Electric Corporation MELSEC iQ-F Series FX5S-80MT/ES
- Versions: 1.003 and prior
- Mitsubishi Electric Corporation MELSEC iQ-F Series FX5S-30MR/ES
- Versions: 1.003 and prior
- Mitsubishi Electric Corporation MELSEC iQ-F Series FX5S-40MR/ES
- Versions: 1.003 and prior
- Mitsubishi Electric Corporation MELSEC iQ-F Series FX5S-60MR/ES
- Versions: 1.003 and prior
- Mitsubishi Electric Corporation MELSEC iQ-F Series FX5S-80MR/ES
- Versions: 1.003 and prior
- Mitsubishi Electric Corporation MELSEC iQ-F Series FX5S-30MT/ESS
- Versions: 1.003 and prior
- Mitsubishi Electric Corporation MELSEC iQ-F Series FX5S-40MT/ESS
- Versions: 1.003 and prior
- Mitsubishi Electric Corporation MELSEC iQ-F Series FX5S-60MT/ESS
- Versions: 1.003 and prior
- Mitsubishi Electric Corporation MELSEC iQ-F Series FX5S-80MT/ESS
- Versions: 1.003 and prior
References:
Risk Assessment
1. Risk Assessment
The vulnerability CVE-2022-40267 is a predictable seed in the Pseudo-Random Number Generator (PRNG) impacting a wide range of Mitsubishi Electric MELSEC iQ-F and iQ-R series PLCs. The nature of the vulnerability allows a remote, unauthenticated attacker to potentially bypass authentication to the Web server function. This means an attacker doesn't need credentials to gain access to certain functionalities on the PLC. The business impact can range from minor disruption to significant downtime, depending on the specific PLC's role in the industrial process. The likelihood of exploitation is moderate, as the attacker needs to guess the random numbers, but the large number of affected systems and relatively simple attack vector increase the risk. Ease of exploitation is also moderate, requiring some effort in number guessing, but readily achievable with automated tools. The primary impact is on integrity – an attacker can potentially modify PLC settings or processes. Confidentiality impact is lower, as the vulnerability primarily facilitates access rather than data exfiltration. Availability impact is moderate, as a compromised PLC could lead to process disruption or even shutdown. The EPSS score of 0.021770000 indicates a relatively low, but non-negligible, probability of exploitation in the wild.
2. Potential Attack Scenarios
An attacker targeting a manufacturing facility utilizing the affected MELSEC iQ-F series PLCs could exploit this vulnerability to disrupt production. The attack scenario unfolds as follows:
Attack Vector: Network access to the PLC's web server. This could be direct internet exposure, or access via the internal network.
Attack Process: The attacker first identifies a vulnerable PLC by checking the firmware version and serial number. They then attempt to access the web server function without providing credentials. The PLC uses a PRNG for authentication, but because the seed is predictable, the attacker can iteratively guess the random numbers used for authentication. Automated tools can be used to efficiently cycle through possible values. Once a correct number is guessed, the attacker gains access to the web server function.
Potential Outcomes: With access to the web server function, the attacker could modify PLC settings, alter process parameters, or even trigger a shutdown of the controlled system. This could lead to production delays, damaged equipment, or reduced product quality. The attacker could also potentially introduce malicious logic into the PLC program, leading to a more persistent compromise.
3. Mitigation Recommendations
Immediate Action: Upgrade the firmware on all affected MELSEC iQ-F and iQ-R series PLCs to a version prior to 1.280 (for FX5U series) or 1.074 (for FX5U series) or versions 1.280 and prior (for FX5UC series) or 1.042 and prior (for FX5UJ series) or 1.003 and prior (for FX5S series) or 33 and prior (for iQ-R series). Consult the Mitsubishi Electric documentation for specific upgrade instructions for each PLC model.
Long-Term Actions:
* Implement network segmentation to limit access to the PLCs to only necessary personnel and systems.
* Monitor network traffic for suspicious activity, such as repeated authentication attempts.
* Regularly review PLC configurations to identify any unexpected changes.
* Consider implementing multi-factor authentication for PLC access where possible.
Relevant Resources:
* Mitsubishi Electric Security Advisory: https://www.mitsubishielectric.com/en/psirt/vulnerability/pdf/2022-019_en.pdf
* CISA Advisory: https://www.cisa.gov/uscert/ics/advisories/icsa-23-017-02
4. Executive Summary
Mitsubishi Electric PLCs widely used in industrial control systems are vulnerable to a remote authentication bypass (CVE-2022-40267). This vulnerability allows an attacker to gain access to the PLC's web server function without needing valid credentials by guessing the random numbers used for authentication. Successful exploitation could lead to disruption of production, damaged equipment, or reduced product quality. The risk is moderate, but the widespread use of these PLCs makes this a significant concern. Immediate patching to the latest firmware versions is crucial. Prioritizing this vulnerability will help ensure the stability and security of our industrial operations, minimizing potential downtime and financial impact. Prompt action is recommended to mitigate this risk.