Exploit database

Vulnerability

CVE-2022-1292

The c_rehash script allows command injection

Vulnerability details

Score
9.8
Severity
critical

CVSS 3.1 · CISA-ADP

Vector string

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

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).

CVE Program

Exploit source choices

7 sources
und3sc0n0c1d0/cve-2022-1292
GH-efc6f2ff46cd9b63f9f840bc8c47e0dbGitHubUnofficial GitHub sourcePreferred

Automation to validate the impact of the vulnerability CVE-2022-1292 on a specific system.

2022-09-132 files · 7 stars
greek0x0/cve-2022-1292
GH-bfc69924e1eab4c1338154e46f87b388GitHubUnofficial GitHub source

OpenSSL

2022-09-012 files · 6 stars
rama291041610/cve-2022-1292
GH-0a1d85a58f7b2f364b5ea00b4389c01aGitHubUnofficial GitHub source

CVE-2022-1292 OpenSSL c_rehash Vulnerability

2022-05-305 files · 5 stars
li8u99/cve-2022-1292
GH-154282fa69d08ecea512b303ed728037GitHubUnofficial GitHub source

CVE-2022-1292

2022-05-242 files · 4 stars
backloop-biz/cve_checks
GH-0102dd97d7151b7ec33fe3a2a66d0c33GitHubUnofficial GitHub source

Scripts to check vulnerable software on Linux OS

2022-01-277 files · 0 stars
bblue530/patchhound
GH-05d1e5b92e8b698b39595adc8c5fd385GitHubUnofficial GitHub source

PatchHound is an open source SBOM vulnerability scanner with report generator, automated alerts and continuous monitoring for new threats for secure software supply chains.

2025-06-20155 files · 0 stars