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
    • 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-1292

CVE-2022-1292: Siemens Brownfield Gateway RCE Vulnerability

CVE-2022-1292 is a remote code execution vulnerability in Siemens Brownfield Connectivity Gateway caused by improper shell metacharacter sanitization in the c_rehash script. This article covers technical details, affected versions, impact, and mitigation strategies.

Published: February 25, 2026

CVE-2022-1292 Overview

CVE-2022-1292 is a command injection vulnerability in the OpenSSL c_rehash script that fails to properly sanitize shell metacharacters. This script, distributed by some operating systems in a manner where it is automatically executed, allows attackers to execute arbitrary commands with the privileges of the script. The vulnerability affects OpenSSL versions 3.0.0-3.0.2, 1.1.1-1.1.1n, and 1.0.2-1.0.2zd.

Critical Impact

Attackers can achieve arbitrary command execution with script privileges on systems where c_rehash is automatically executed, potentially leading to full system compromise.

Affected Products

  • OpenSSL 3.0.0, 3.0.1, 3.0.2 (Fixed in 3.0.3)
  • OpenSSL 1.1.1 through 1.1.1n (Fixed in 1.1.1o)
  • OpenSSL 1.0.2 through 1.0.2zd (Fixed in 1.0.2ze)
  • Debian Linux 9.0, 10.0, 11.0
  • Fedora 35, 36
  • NetApp Active IQ Unified Manager, Clustered Data ONTAP, SnapCenter, and various storage firmware
  • Oracle MySQL Server, MySQL Workbench, Enterprise Manager Ops Center
  • Siemens Brownfield Connectivity Gateway

Discovery Timeline

  • May 3, 2022 - CVE-2022-1292 published to NVD
  • August 13, 2025 - Last updated in NVD database

Technical Details for CVE-2022-1292

Vulnerability Analysis

The c_rehash script is a Perl utility included with OpenSSL that is used to create symbolic links to certificate files based on their hash values. This script processes certificate filenames without adequate sanitization, allowing specially crafted filenames containing shell metacharacters to be interpreted as commands when the script executes shell operations.

On certain operating systems, particularly Linux distributions, the c_rehash script may be invoked automatically by package managers or system processes when SSL certificates are updated. This automatic execution creates a particularly dangerous attack surface because an attacker who can place a maliciously-named certificate file in a directory processed by c_rehash can achieve command execution without direct user interaction.

The impact includes complete confidentiality, integrity, and availability compromise on affected systems. An attacker successfully exploiting this vulnerability can execute arbitrary commands with the same privileges as the script, which may include root or administrative privileges depending on how the script is invoked.

Root Cause

The root cause of CVE-2022-1292 is improper input validation in the c_rehash script (CWE-78: OS Command Injection). The script processes certificate filenames and passes them to shell commands without properly escaping or sanitizing shell metacharacters. Characters such as backticks, semicolons, pipes, and other shell special characters embedded in filenames are interpreted by the shell, allowing arbitrary command execution.

The vulnerable code constructs shell commands using filename data that an attacker can control, violating the principle of separating code from data in command construction.

Attack Vector

The attack requires local access to place a malicious file in a certificate directory processed by the c_rehash script. On systems where the script runs automatically (such as during package updates or certificate refresh operations), the attack becomes more practical:

  1. An attacker creates a certificate file with a specially crafted filename containing shell metacharacters and embedded commands
  2. The file is placed in a directory that will be processed by c_rehash
  3. When c_rehash executes (either manually or automatically), it processes the malicious filename
  4. The shell metacharacters in the filename are interpreted, executing the attacker's embedded commands
  5. Commands execute with the privileges of the c_rehash script process

The local attack vector with user interaction requirement limits the exploitability somewhat, but the widespread use of OpenSSL and automatic execution on some systems increases the practical risk significantly.

Detection Methods for CVE-2022-1292

Indicators of Compromise

  • Unusual certificate files in /etc/ssl/certs/ or other certificate directories with suspicious filenames containing shell metacharacters
  • Unexpected process spawning from Perl interpreters running c_rehash
  • Certificate files with names containing characters like backticks, semicolons, pipes, or $(...) constructs
  • Audit logs showing c_rehash execution followed by unexpected child processes

Detection Strategies

  • Monitor certificate directories for files with anomalous naming patterns that include shell special characters
  • Implement file integrity monitoring on certificate directories to detect unauthorized file additions
  • Deploy behavioral detection rules that alert on shell command execution spawned from c_rehash or Perl processes in certificate management contexts
  • Use SentinelOne's behavioral AI to detect command injection patterns and suspicious process genealogies

Monitoring Recommendations

  • Enable audit logging for file operations in certificate directories (/etc/ssl/certs/, /etc/pki/, etc.)
  • Monitor for Perl script execution with arguments referencing certificate paths followed by unexpected command execution
  • Track the execution of c_rehash and its child processes for anomalous behavior
  • Implement alerting on any shell special character sequences in certificate filenames

How to Mitigate CVE-2022-1292

Immediate Actions Required

  • Upgrade OpenSSL to patched versions: 3.0.3, 1.1.1o, or 1.0.2ze respectively
  • Replace use of the deprecated c_rehash script with the OpenSSL rehash command line tool
  • Audit certificate directories for any files with suspicious filenames containing shell metacharacters
  • Restrict write access to certificate directories to prevent unauthorized file placement

Patch Information

OpenSSL has released patches in versions 3.0.3, 1.1.1o, and 1.0.2ze. The fixes add proper sanitization of shell metacharacters in the c_rehash script. Organizations should update to these versions as soon as possible. For detailed patch information, refer to the OpenSSL Security Advisory May 2022.

Distribution-specific patches are also available:

  • Debian: DSA-5139
  • Fedora: Available through standard package updates
  • NetApp: NTAP-20220602-0009
  • Oracle: CPU July 2022

Workarounds

  • Migrate from the deprecated c_rehash script to the OpenSSL rehash command line tool, which is not affected by this vulnerability
  • Remove or disable automatic execution of c_rehash from system processes and package manager hooks
  • Implement strict file naming validation before allowing files into certificate directories
  • Restrict filesystem permissions on certificate directories to prevent unprivileged users from adding files
bash
# Replace c_rehash with OpenSSL rehash command
# Instead of: c_rehash /etc/ssl/certs
openssl rehash /etc/ssl/certs

# Remove or disable c_rehash from automated processes
chmod 000 /usr/bin/c_rehash  # Disable execution if removal is not possible

# Restrict certificate directory permissions
chmod 755 /etc/ssl/certs
chown root:root /etc/ssl/certs

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechOpenssl

  • SeverityHIGH

  • CVSS Score7.3

  • EPSS Probability38.99%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityHigh
  • AvailabilityHigh
  • CWE References
  • CWE-78
  • Technical References
  • Siemens Security Advisory SSA-953464

  • OpenSSL Commit Diff Analysis 1

  • OpenSSL Commit Diff Analysis 2

  • OpenSSL Commit Diff Analysis 3

  • Debian LTS Announcement May 2022

  • Fedora Package Announcement

  • Fedora Package Announcement

  • SonicWall Vulnerability SNWLID-2022-0011

  • Gentoo GLSA 202210-02

  • NetApp Security Advisory NTAP-20220602-0009

  • NetApp Security Advisory NTAP-20220729-0004

  • Debian Security Announcement DSA-5139

  • Oracle Security Alert CPU July 2022

  • GitLab CVE-2022-1292 Analysis
  • Vendor Resources
  • OpenSSL Security Advisory May 2022
  • Related CVEs
  • CVE-2026-24695: XWEB Pro RCE Vulnerability

  • CVE-2024-9143: OpenSSL Elliptic Curve RCE Vulnerability

  • CVE-2022-2068: OpenSSL c_rehash Command Injection RCE

  • CVE-2022-2274: OpenSSL RSA RCE Vulnerability on AVX512
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