Vulnerability   
Search   
    Search 324607 CVE descriptions
and 145615 test descriptions,
access 10,000+ cross references.
Tests   CVE   All  

Test ID:1.3.6.1.4.1.25623.1.0.148307
Category:General
Title:OpenSSL: The c_rehash script allows command injection (CVE-2022-2068) - Windows
Summary:OpenSSL is prone to a command injection vulnerability.
Description:Summary:
OpenSSL is prone to a command injection vulnerability.

Vulnerability Insight:
In addition to the c_rehash shell command injection identified
in CVE-2022-1292, further circumstances where the c_rehash script does not properly sanitise
shell metacharacters to prevent command injection were found by code review.

When the CVE-2022-1292 was fixed it was not discovered that there are other places in the script
where the file names of certificates being hashed were possibly passed to a command executed
through the shell.

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.

Affected Software/OS:
OpenSSL version 1.0.2, 1.1.1 and 3.0.

Solution:
Update to version 1.0.2zf, 1.1.1p, 3.0.4 or later.

CVSS Score:
10.0

CVSS Vector:
AV:N/AC:L/Au:N/C:C/I:C/A:C

Cross-Ref: Common Vulnerability Exposure (CVE) ID: CVE-2022-2068
https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=2c9c35870601b4a44d86ddbf512b38df38285cfa
https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=7a9c027159fe9e1bbc2cd38a8a2914bff0d5abd9
https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=9639817dac8bbbaa64d09efad7464ccc405527c7
https://www.openssl.org/news/secadv/20220621.txt
Debian Security Information: DSA-5169 (Google Search)
https://www.debian.org/security/2022/dsa-5169
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/6WZZBKUHQFGSKGNXXKICSRPL7AMVW5M5/
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/VCMNWKERPBKOEBNL7CLTTX3ZZCZLH7XA/
CopyrightCopyright (C) 2022 Greenbone Networks GmbH

This is only one of 145615 vulnerability tests in our test suite. Find out more about running a complete security audit.

To run a free test of this vulnerability against your system, register below.




© 1998-2025 E-Soft Inc. All rights reserved.