CVE-2022-1292
HIGHSiemens Brownfield Connectivity Gateway < 2.15 - OS Command Injection
Title source: ruleExploitation Summary
EIP tracks 6 public exploits for CVE-2022-1292. PoCs published by alcaparra, und3sc0n0c1d0, greek0x0.
AI-analyzed exploit summary This PoC demonstrates a command injection vulnerability in the c_rehash script due to improper sanitization of shell metacharacters in filenames. An attacker can execute arbitrary commands by crafting a malicious filename in the /etc/ssl/certs/ directory, which is processed by the script.
Description
The c_rehash script does not properly sanitise shell metacharacters to prevent command injection. This script is distributed by some operating systems in a manner where it is automatically executed. On such operating systems, an attacker could execute arbitrary commands with the privileges of the script. Use of the c_rehash script is considered obsolete and should be replaced by the OpenSSL rehash command line tool. Fixed in OpenSSL 3.0.3 (Affected 3.0.0,3.0.1,3.0.2). Fixed in OpenSSL 1.1.1o (Affected 1.1.1-1.1.1n). Fixed in OpenSSL 1.0.2ze (Affected 1.0.2-1.0.2zd).
Exploits (6)
This PoC demonstrates a command injection vulnerability in the c_rehash script due to improper sanitization of shell metacharacters in filenames. An attacker can execute arbitrary commands by crafting a malicious filename in the /etc/ssl/certs/ directory, which is processed by the script.
This PoC exploits CVE-2022-1292, a command injection vulnerability in the c_rehash script. It includes functionality to check for vulnerability, execute arbitrary commands, and establish a reverse shell via crafted certificate filenames.
This repository provides a proof-of-concept for CVE-2022-1292, a command injection vulnerability in the c_rehash script due to improper sanitization of shell metacharacters in filenames. The PoC demonstrates how an attacker can execute arbitrary commands by crafting a malicious filename in the /etc/ssl/certs/ directory.
This PoC demonstrates a command injection vulnerability in the c_rehash script due to improper sanitization of shell metacharacters. It creates a maliciously named certificate file to trigger arbitrary command execution when the script processes it.
This repository contains a simple bash script to check for the presence of CVE-2022-1292, a vulnerability in OpenSSL's c_rehash script. The script verifies if the system is vulnerable by checking for a specific command pattern in the c_rehash script.
This repository provides a detailed technical analysis of CVE-2022-1292, focusing on the CVSS scoring and attack vector. It argues that the attack vector should be 'Local' rather than 'Network' and outlines realistic exploitation scenarios.
References (15)
Scores
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H