CyberSecBulletin
CVE-2022-25161NVD status: Modified

Improper Input Validation vulnerability in Mitsubishi Electric MELSEC iQ-F series…

CVE-2022-25161 is a high-severity improper input validation vulnerability in Mitsubishi Electric MELSEC iQ-F series FX5U-xMy/z(x=32,64,80, y=T,R, z=ES,DS,ESS,DSS); Mitsubishi Electric MELSEC iQ-F series FX5UC-xMy/z(x=32,64,96, y=T,R, z=D,DSS); Mitsubishi Electric MELSEC iQ-F series FX5UC-32MT/DS-TS; Mitsubishi Electric MELSEC iQ-F series FX5UC-32MT/DSS-TS; Mitsubishi Electric MELSEC iQ-F series FX5UC-32MR/DS-TS; Mitsubishi Electric MELSEC iQ-F series FX5UJ-xMy/z(x=24,40,60, y=T,R, z=ES,ESS); Mitsubishi Electric MELSEC iQ-F series FX5UJ-xMy/ES-A(x=24,40,60, y=T,R); Mitsubishi Electric MELSEC iQ-F series FX5S-xMy/z(x=30,40,60,80, y=T,R, z=ES,ESS), with a CVSS 3.1 base score of 8.6 out of 10. It can be exploited remotely over the network by an unauthenticated attacker, without any action from a user. There is no confirmed exploitation so far. EPSS estimates a 4.29% chance of exploitation within 30 days, which is in the top 8.72% of all scored CVEs.

Next patch cycle

High severity with no evidence of exploitation so far.

What to do

  1. Update Melsec Iq-fx5u-32mt/es Firmware to 1.270 or a later version.
  2. Update Melsec Iq-fx5u-32mt/ds Firmware to 1.270 or a later version.
  3. Update Melsec Iq-fx5u-32mt/ess Firmware to 1.270 or a later version.
  4. Read the advisory on mitsubishielectric.com for workarounds and exact fixed builds.
  5. Until you can update, restrict network access to the affected service so it is not reachable from untrusted networks.

Affected products and versions

VendorProductAffected versionsFixed in
Mitsubishi Electric MELSEC iQ-F series FX5U-xMy/z(x=32,64,80, y=T,R, z=ES,DS,ESS,DSS); Mitsubishi Electric MELSEC iQ-F series FX5UC-xMy/z(x=32,64,96, y=T,R, z=D,DSS); Mitsubishi Electric MELSEC iQ-F series FX5UC-32MT/DS-TS; Mitsubishi Electric MELSEC iQ-F series FX5UC-32MT/DSS-TS; Mitsubishi Electric MELSEC iQ-F series FX5UC-32MR/DS-TS; Mitsubishi Electric MELSEC iQ-F series FX5UJ-xMy/z(x=24,40,60, y=T,R, z=ES,ESS); Mitsubishi Electric MELSEC iQ-F series FX5UJ-xMy/ES-A(x=24,40,60, y=T,R); Mitsubishi Electric MELSEC iQ-F series FX5S-xMy/z(x=30,40,60,80, y=T,R, z=ES,ESS)Mitsubishi Electric MELSEC iQ-F series FX5U-xMy/z(x=32,64,80, y=T,R, z=ES,DS,ESS,DSS); Mitsubishi Electric MELSEC iQ-F series FX5UC-xMy/z(x=32,64,96, y=T,R, z=D,DSS); Mitsubishi Electric MELSEC iQ-F series FX5UC-32MT/DS-TS; Mitsubishi Electric MELSEC iQ-F series FX5UC-32MT/DSS-TS; Mitsubishi Electric MELSEC iQ-F series FX5UC-32MR/DS-TS; Mitsubishi Electric MELSEC iQ-F series FX5UJ-xMy/z(x=24,40,60, y=T,R, z=ES,ESS); Mitsubishi Electric MELSEC iQ-F series FX5UJ-xMy/ES-A(x=24,40,60, y=T,R); Mitsubishi Electric MELSEC iQ-F series FX5S-xMy/z(x=30,40,60,80, y=T,R, z=ES,ESS)Not specified in the recordNot stated
Mitsubishi ElectricMelsec Iq-fx5u-32mt/es Firmwarebefore 1.2701.270
Mitsubishi ElectricMelsec Iq-fx5u-32mt/ds Firmwarebefore 1.2701.270
Mitsubishi ElectricMelsec Iq-fx5u-32mt/ess Firmwarebefore 1.2701.270
Mitsubishi ElectricMelsec Iq-fx5u-32mt/dss Firmwarebefore 1.2701.270
Mitsubishi ElectricMelsec Iq-fx5u-32mr/es Firmwarebefore 1.2701.270
Mitsubishi ElectricMelsec Iq-fx5u-32mr/ds Firmwarebefore 1.2701.270
Mitsubishi ElectricMelsec Iq-fx5u-32mr/ess Firmwarebefore 1.2701.270
Mitsubishi ElectricMelsec Iq-fx5u-32mr/dss Firmwarebefore 1.2701.270
Mitsubishi ElectricMelsec Iq-fx5u-64mt/es Firmwarebefore 1.2701.270
Mitsubishi ElectricMelsec Iq-fx5u-64mt/ds Firmwarebefore 1.2701.270
Mitsubishi ElectricMelsec Iq-fx5u-64mt/ess Firmwarebefore 1.2701.270
Mitsubishi ElectricMelsec Iq-fx5u-64mt/dss Firmwarebefore 1.2701.270
Mitsubishi ElectricMelsec Iq-fx5u-64mr/es Firmwarebefore 1.2701.270
Mitsubishi ElectricMelsec Iq-fx5u-64mr/ds Firmwarebefore 1.2701.270
Mitsubishi ElectricMelsec Iq-fx5u-64mr/ess Firmwarebefore 1.2701.270
Mitsubishi ElectricMelsec Iq-fx5u-64mr/dss Firmwarebefore 1.2701.270
Mitsubishi ElectricMelsec Iq-fx5u-80mt/es Firmwarebefore 1.2701.270
Mitsubishi ElectricMelsec Iq-fx5u-80mt/ds Firmwarebefore 1.2701.270
Mitsubishi ElectricMelsec Iq-fx5u-80mt/ess Firmwarebefore 1.2701.270
Mitsubishi ElectricMelsec Iq-fx5u-80mt/dss Firmwarebefore 1.2701.270
Mitsubishi ElectricMelsec Iq-fx5u-80mr/es Firmwarebefore 1.2701.270
Mitsubishi ElectricMelsec Iq-fx5u-80mr/ds Firmwarebefore 1.2701.270
Mitsubishi ElectricMelsec Iq-fx5u-80mr/ess Firmwarebefore 1.2701.270
Mitsubishi ElectricMelsec Iq-fx5u-80mr/dss Firmwarebefore 1.2701.270

Version data comes from the organisation that assigned the CVE; 35 further products are omitted here. 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
ChangedThe attack can reach beyond the vulnerable component into other systems.
Confidentiality
NoneNo data is disclosed.
Integrity
NoneNothing can be modified.
Availability
HighThe component can be taken down completely.

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H. Scored by NVD.

Scoring systemScoreSeverityScored by
CVSS 3.18.6HighNVD
CVSS 2.07.8HighNVD

Official description

Improper Input Validation vulnerability in Mitsubishi Electric 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 prior to 1.270, Mitsubishi Electric Mitsubishi Electric 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 prior to 1.073, MELSEC iQ-F series FX5UC-xMy/z(x=32,64,96, y=T,R, z=D,DSS) with serial number 17X**** or later and versions prior to 1.270, Mitsubishi Electric MELSEC iQ-F series FX5UC-xMy/z(x=32,64,96, y=T,R, z=D,DSS) with serial number 179**** and prior and versions prior to 1.073, Mitsubishi Electric MELSEC iQ-F series FX5UC-32MT/DS-TS versions prior to 1.270, Mitsubishi Electric MELSEC iQ-F series FX5UC-32MT/DSS-TS versions prior to 1.270, Mitsubishi Electric MELSEC iQ-F series FX5UC-32MR/DS-TS versions prior to 1.270, Mitsubishi Electric MELSEC iQ-F series FX5UJ-xMy/z(x=24,40,60, y=T,R, z=ES,ESS) versions prior to 1.030, Mitsubishi Electric MELSEC iQ-F series FX5UJ-xMy/ES-A(x=24,40,60, y=T,R) versions prior to 1.031 and Mitsubishi Electric MELSEC iQ-F series FX5S-xMy/z(x=30,40,60,80, y=T,R, z=ES,ESS) version 1.000 allows a remote unauthenticated attacker to cause a DoS condition for the product's program execution or communication by sending specially crafted packets. System reset of the product is required for recovery.

Source: the CVE record as published by its numbering authority, via NVD and CVE.org.

The underlying weakness: Improper Input Validation

The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.

How developers prevent this class of flaw

  • Consider using language-theoretic security (LangSec) techniques that characterize inputs using a formal language and build recognizers for that language. This effectively requires parsing to be a distinct layer that effectively enforces a boundary between raw input and internal data representations, instead of allowing parser code to be scattered throughout the program, where it could be subject to errors or inconsistencies that create weaknesses.
  • Use an input validation framework such as Struts or the OWASP ESAPI Validation API. Note that using a framework does not automatically address all input validation problems; be mindful of weaknesses that could arise from misusing the framework itself (CWE-1173).
  • Understand all the potential areas where untrusted inputs can enter the product, including but not limited to: parameters or arguments, cookies, anything read from the network, environment variables, reverse DNS lookups, query results, request headers, URL components, e-mail, files, filenames, databases, and any external systems that provide data to the application. Remember that such inputs may be obtained indirectly through API calls.

More Improper Input Validation vulnerabilities (CWE-20)

Timeline

  1. CVE record published.
  2. Record last changed materially (score, affected products, status or references).

References

Third-party and government advisories

Recent Improper Input Validation vulnerabilities

Spotted an error? Tell us.