CyberSecBulletin
CVE-2022-1161NVD status: Modified

1768 CompactLogix controllers: Inclusion of Functionality from Untrusted Control Sphere

CVE-2022-1161 is a critical-severity inclusion of functionality from untrusted control sphere vulnerability in 1768 CompactLogix controllers from Rockwell Automation, 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 1768 CompactLogix controllers versions: All all. The record does not name a fixed version, so check the vendor advisory. There is no confirmed exploitation so far. EPSS estimates a 5.21% chance of exploitation within 30 days, which is in the top 7.37% of all scored CVEs.

Patch this week

Critical severity: a successful attack would have severe impact.

What to do

  1. Check which version of 1768 CompactLogix controllers you run against the affected versions below, and install the vendor's latest release.
  2. 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
Rockwell Automation1768 CompactLogix controllersAll allNot stated
Rockwell Automation1769 CompactLogix controllersallNot stated
Rockwell AutomationCompactLogix 5370 controllersallNot stated
Rockwell AutomationCompactLogix 5380 controllersallNot stated
Rockwell AutomationCompactLogix 5480 controllersallNot stated
Rockwell AutomationCompact GuardLogix 5370 controllersallNot stated
Rockwell AutomationCompact GuardLogix 5380 controllersallNot stated
Rockwell AutomationControlLogix 5550 controllersallNot stated
Rockwell AutomationControlLogix 5560 controllersallNot stated
Rockwell AutomationControlLogix 5570 controllersallNot stated
Rockwell AutomationControlLogix 5580 controllersallNot stated
Rockwell AutomationGuardLogix 5560 controllersallNot stated
Rockwell AutomationGuardLogix 5570 controllersallNot stated
Rockwell AutomationGuardLogix 5580 controllersallNot stated
Rockwell AutomationFlexLogix 1794-L34 controllersallNot stated
Rockwell AutomationDriveLogix 5730 controllersallNot stated
Rockwell AutomationSoftLogix 5800 controllersallNot stated
Rockwell AutomationCompactlogix 1768-l43 FirmwareNot specified in the recordNot stated
Rockwell AutomationCompactlogix 1768-l45 FirmwareNot specified in the recordNot stated
Rockwell AutomationCompactlogix 1769-l31 FirmwareNot specified in the recordNot stated
Rockwell AutomationCompactlogix 1769-l32c FirmwareNot specified in the recordNot stated
Rockwell AutomationCompactlogix 1769-l32e FirmwareNot specified in the recordNot stated
Rockwell AutomationCompactlogix 1769-l35cr FirmwareNot specified in the recordNot stated
Rockwell AutomationCompactlogix 1769-l35e FirmwareNot specified in the recordNot stated
Rockwell AutomationCompactlogix 5370 L3 FirmwareNot specified in the recordNot stated

Version data comes from the organisation that assigned the CVE; 16 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.110.0CriticalCNA (hq.dhs.gov)
CVSS 3.19.8CriticalNVD
CVSS 2.07.5HighNVD

Official description

An attacker with the ability to modify a user program may change user program code on some ControlLogix, CompactLogix, and GuardLogix Control systems. Studio 5000 Logix Designer writes user-readable program code to a separate location than the executed compiled code, allowing an attacker to change one and not the other.

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

The underlying weakness: Inclusion of Functionality from Untrusted Control Sphere

The product imports, requires, or includes executable functionality (such as a library) from a source that is outside of the intended control sphere.

How developers prevent this class of flaw

  • Use a vetted library or framework that does not allow this weakness to occur or provides constructs that make this weakness easier to avoid.
  • When the set of acceptable objects, such as filenames or URLs, is limited or known, create a mapping from a set of fixed input values (such as numeric IDs) to the actual filenames or URLs, and reject all other inputs. For example, ID 1 could map to inbox.txt and ID 2 could map to profile.txt. Features such as the ESAPI AccessReferenceMap provide this capability.
  • For any security checks that are performed on the client side, ensure that these checks are duplicated on the server side, in order to avoid CWE-602. Attackers can bypass the client-side checks by modifying values after the checks have been performed, or by changing the client to remove the client-side checks entirely. Then, these modified values would be submitted to the server.

More Inclusion of Functionality from Untrusted Control Sphere vulnerabilities (CWE-829)

Timeline

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

References

Third-party and government advisories

Recent Inclusion of Functionality from Untrusted Control Sphere vulnerabilities

Spotted an error? Tell us.