CyberSecBulletin
CVE-2022-45788NVD status: Modified

EcoStruxure Control Expert: Improper Check for Unusual or Exceptional Conditions

CVE-2022-45788 is a critical-severity improper check for unusual or exceptional conditions vulnerability in EcoStruxure Control Expert from Schneider 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 EcoStruxure Control Expert versions: All Versions. The record does not name a fixed version, so check the vendor advisory. There is no confirmed exploitation so far. EPSS estimates a 1.19% chance of exploitation within 30 days, higher than 68% of scored CVEs.

Patch this week

Critical severity: a successful attack would have severe impact.

What to do

  1. Check which version of EcoStruxure Control Expert you run against the affected versions below, and install the vendor's latest release.
  2. Read the advisory on download.schneider-electric.com for workarounds and exact fixed builds.
  3. 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
Schneider ElectricEcoStruxure Control ExpertAll VersionsNot stated
Schneider ElectricEcoStruxure Process ExpertAll VersionsNot stated
Schneider ElectricModicon M340 CPU (part numbers BMXP34*)All VersionsNot stated
Schneider ElectricModicon M580 CPU (part numbers BMEP* and BMEH*)All VersionsNot stated
Schneider ElectricModicon M580 CPU Safety (part numbers BMEP58*S and BMEH58*S)All VersionsNot stated
Schneider ElectricModicon Momentum Unity M1E Processor (171CBU*)All VersionsNot stated
Schneider ElectricModicon MC80 (BMKC80)All VersionsNot stated
Schneider ElectricLegacy Modicon Quantum (140CPU65*) and Premium CPUs (TSXP57*)All VersionsNot stated
Schneider ElectricModicon M340 Bmxp341000 FirmwareNot specified in the recordNot stated
Schneider ElectricModicon M340 Bmxp342000 FirmwareNot specified in the recordNot stated
Schneider ElectricModicon M340 Bmxp342010 FirmwareNot specified in the recordNot stated
Schneider ElectricModicon M340 Bmxp3420102 FirmwareNot specified in the recordNot stated
Schneider ElectricModicon M340 Bmxp342020 FirmwareNot specified in the recordNot stated
Schneider ElectricModicon M340 Bmxp342020h FirmwareNot specified in the recordNot stated
Schneider ElectricModicon M340 Bmxp342030 FirmwareNot specified in the recordNot stated
Schneider ElectricModicon M340 Bmxp3420302 FirmwareNot specified in the recordNot stated
Schneider ElectricModicon M340 Bmxp3420302h FirmwareNot specified in the recordNot stated
Schneider ElectricModicon M340 Bmxp342030h FirmwareNot specified in the recordNot stated
Schneider ElectricModicon M580 Bmeh582040 FirmwareNot specified in the recordNot stated
Schneider ElectricModicon M580 Bmeh582040c FirmwareNot specified in the recordNot stated
Schneider ElectricModicon M580 Bmeh582040s FirmwareNot specified in the recordNot stated
Schneider ElectricModicon M580 Bmeh584040 FirmwareNot specified in the recordNot stated
Schneider ElectricModicon M580 Bmeh584040c FirmwareNot specified in the recordNot stated
Schneider ElectricModicon M580 Bmeh584040s FirmwareNot specified in the recordNot stated
Schneider ElectricModicon M580 Bmeh586040 FirmwareNot specified in the recordNot stated

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
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 systemScoreSeverityScored by
CVSS 3.17.5HighCNA (se.com)
CVSS 3.19.8CriticalNVD

Official description

A CWE-754: Improper Check for Unusual or Exceptional Conditions vulnerability exists that could cause arbitrary code execution, denial of service and loss of confidentiality & integrity when a malicious project file is loaded onto the controller. Affected Products: EcoStruxure Control Expert (All Versions), EcoStruxure Process Expert (All Versions), Modicon M340 CPU - part numbers BMXP34* (All Versions), Modicon M580 CPU - part numbers BMEP* and BMEH* (All Versions), Modicon M580 CPU Safety - part numbers BMEP58*S and BMEH58*S (All Versions), Modicon Momentum Unity M1E Processor - 171CBU* (All Versions), Modicon MC80 - BMKC80 (All Versions), Legacy Modicon Quantum - 140CPU65* and Premium CPUs - TSXP57* (All Versions)

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

The underlying weakness: Improper Check for Unusual or Exceptional Conditions

The product does not check or incorrectly checks for unusual or exceptional conditions that are not expected to occur frequently during day to day operation of the product.

How developers prevent this class of flaw

  • Use a language that does not allow this weakness to occur or provides constructs that make this weakness easier to avoid. Choose languages with features such as exception handling that force the programmer to anticipate unusual conditions that may generate exceptions. Custom exceptions may need to be developed to handle unusual business-logic conditions. Be careful not to pass sensitive exceptions back to the user (CWE-209, CWE-248).
  • Check the results of all functions that return a value and verify that the value is expected.
  • If using exception handling, catch and throw specific exceptions instead of overly-general exceptions (CWE-396, CWE-397). Catch and handle exceptions as locally as possible so that exceptions do not propagate too far up the call stack (CWE-705). Avoid unchecked or uncaught exceptions where feasible (CWE-248).

More Improper Check for Unusual or Exceptional Conditions vulnerabilities (CWE-754)

Timeline

  1. CVE record published.
  2. CISA published its SSVC assessment (exploitation: none, automatable: no, technical impact: total).
  3. Record last changed materially (score, affected products, status or references).

References

Other vulnerabilities in EcoStruxure Control Expert

All EcoStruxure Control Expert vulnerabilities

Recent Improper Check for Unusual or Exceptional Conditions vulnerabilities

Spotted an error? Tell us.