The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2022-1161

CVE-2022-1161: CompactLogix Privilege Escalation Flaw

CVE-2022-1161 is a privilege escalation vulnerability in Rockwell Automation CompactLogix firmware allowing attackers to modify user program code. This article covers the technical details, affected systems, and mitigation strategies.

Published: February 17, 2026

CVE-2022-1161 Overview

CVE-2022-1161 is a critical code injection vulnerability affecting Rockwell Automation's industrial control systems, including ControlLogix, CompactLogix, and GuardLogix programmable logic controllers (PLCs). This vulnerability allows an attacker with the ability to modify a user program to change the executed code on affected control systems while leaving the human-readable source code untouched. Studio 5000 Logix Designer writes user-readable program code to a separate memory location than the executed compiled code, enabling attackers to manipulate the running program without detection through standard code review processes.

Critical Impact

Attackers can covertly modify PLC logic execution while the displayed source code appears unchanged, potentially causing physical damage to industrial processes, safety system bypasses, or production disruptions without triggering standard code integrity checks.

Affected Products

  • Rockwell Automation ControlLogix 5550, 5560, 5570, 5580 Series Controllers
  • Rockwell Automation CompactLogix 1768, 1769, 5370, 5380, 5480 Series Controllers
  • Rockwell Automation GuardLogix 5560, 5570, 5580 and Compact GuardLogix 5370, 5380 Safety Controllers
  • Rockwell Automation FlexLogix 1794-L34 Controllers
  • Rockwell Automation DriveLogix 5730 Controllers
  • Rockwell Automation SoftLogix 5800 Emulation Software

Discovery Timeline

  • April 11, 2022 - CVE-2022-1161 published to NVD
  • November 21, 2024 - Last updated in NVD database

Technical Details for CVE-2022-1161

Vulnerability Analysis

This vulnerability exploits a fundamental architectural design flaw in how Rockwell Automation's Logix controllers handle program storage and execution. The Studio 5000 Logix Designer development environment stores two separate representations of user programs: the human-readable source code (ladder logic, structured text, or function block diagrams) and the compiled binary bytecode that the PLC actually executes.

The critical security gap occurs because these two code representations are stored in different memory locations and can be modified independently. An attacker who gains access to the PLC's memory can alter the compiled executable code while leaving the source code representation completely unchanged. This means that when an engineer connects to the controller and views the program through Studio 5000, they see the original, legitimate code—while the actual running program has been maliciously modified.

This attack technique is particularly dangerous in industrial control system (ICS) environments because it undermines the fundamental assumption that code review and comparison tools can detect unauthorized changes. Traditional integrity verification methods that compare uploaded code against the controller's stored program would fail to detect this manipulation.

Root Cause

The root cause of CVE-2022-1161 is an inclusion of functionality from an untrusted control sphere (CWE-829). The Logix controller platform trusts and executes compiled bytecode without adequately verifying its correspondence to the stored source code representation. The architecture lacks cryptographic binding or integrity verification between the human-readable program and its compiled counterpart, allowing independent modification of either component.

Attack Vector

The attack can be executed over the network by an adversary who has gained access to the industrial control network where affected Rockwell Automation controllers reside. The attacker requires the ability to communicate with the PLC using Rockwell's proprietary EtherNet/IP protocol and must have sufficient access to modify program memory. Once network access is achieved, the attacker can:

  1. Connect to the target PLC using EtherNet/IP protocol
  2. Locate the compiled bytecode section in controller memory
  3. Modify the executable code to alter process logic, disable safety functions, or introduce malicious behavior
  4. Leave the source code section unchanged to evade detection
  5. The modified logic executes while the displayed program appears legitimate

This stealthy approach allows the malicious code to persist through normal engineering activities since code uploads and comparisons only verify the unchanged source representation.

Detection Methods for CVE-2022-1161

Indicators of Compromise

  • Unexpected process behavior or output values that do not correspond to the visible program logic
  • Discrepancies between expected and actual controller memory checksums when using firmware-level verification tools
  • Anomalous EtherNet/IP traffic patterns indicating unauthorized program memory access or modification
  • Controller fault logs showing unexpected execution paths or instruction sequences

Detection Strategies

  • Implement offline code verification by comparing controller memory dumps against known-good baselines at the bytecode level, not just source code level
  • Deploy network intrusion detection systems (IDS) with signatures for Rockwell Automation protocol anomalies and unauthorized programming commands
  • Enable and monitor controller audit logs for any program modification events or unauthorized access attempts
  • Utilize Rockwell Automation's verification tools specifically designed to detect compiled code tampering

Monitoring Recommendations

  • Establish continuous monitoring of EtherNet/IP traffic to and from Logix controllers for unauthorized programming sessions
  • Implement change management processes that include firmware-level integrity verification after any maintenance activities
  • Deploy security information and event management (SIEM) solutions to correlate ICS network events with potential attack indicators
  • Regularly perform forensic analysis of controller memory to detect bytecode modifications

How to Mitigate CVE-2022-1161

Immediate Actions Required

  • Segment industrial control networks from business networks and implement strict access controls to limit who can communicate with PLCs
  • Disable unused communication protocols and services on affected controllers
  • Implement application whitelisting on engineering workstations to prevent unauthorized programming tools from connecting to controllers
  • Review and restrict user accounts with permissions to modify PLC programs

Patch Information

Rockwell Automation has released security advisories addressing this vulnerability. Organizations should consult the CISA ICS Advisory ICSA-22-090-05 for detailed remediation guidance and firmware updates. Contact Rockwell Automation support for specific firmware versions that address this vulnerability and follow vendor guidance for safe upgrade procedures in production environments.

Workarounds

  • Enable the Controller Change Detection feature in Studio 5000 Logix Designer to receive alerts when controller programs are modified
  • Implement physical key switch controls on controllers where available to restrict mode changes
  • Use CIP Security features on supported controllers to authenticate and encrypt communications
  • Establish network segmentation using industrial firewalls and demilitarized zones (DMZ) to control access to PLC networks
bash
# Network segmentation verification example
# Verify that affected Rockwell controllers are not directly accessible from untrusted networks
# Check firewall rules blocking EtherNet/IP (TCP/UDP 44818) from unauthorized sources
iptables -L -n | grep 44818

# Verify only authorized engineering stations can reach PLC network
nmap -sU -sT -p 44818 <controller_ip_range> --reason

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypePrivilege Escalation

  • Vendor/TechRockwellautomation

  • SeverityCRITICAL

  • CVSS Score9.8

  • EPSS Probability0.12%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-829
  • Technical References
  • CISA ICS Advisory ICSA-22-090-05
  • Related CVEs
  • CVE-2025-7328: Rockwell Automation NATR Auth Bypass Flaw

  • CVE-2024-7988: ThinManager ThinServer RCE Vulnerability

  • CVE-2024-3493: Rockwell ControlLogix 5580 DoS Vulnerability

  • CVE-2024-21916: ControlLogix 5570 Controller DoS Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English