SecurityContext

CVE-2022-1292: OpenSSL - Command Injection

  • Cve: CVE-2022-1292
  • Name: OpenSSL - Command Injection
  • 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).
  • Impact: Attackers can execute arbitrary commands with the privileges of the script, potentially leading to full system compromise.
  • Remediation: Replace c_rehash with the OpenSSL rehash command line tool and update to OpenSSL 3.0.3, 1.1.1o, or 1.0.2ze.
  • Vulnerability type: command_injection
  • Vulnerability impact: remote_code_execution
  • Requirement type: admin_privileges
  • Requirements: The script is automatically executed with elevated privileges
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.3
  • Cvss vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
  • Epss score: 0.82612
  • Epss percentile: 0.99674
  • Assignee: [email protected]
  • Published at: 2022-05-03T16:15:18Z
  • Age in days: 1666
  • Modified at: 2026-11-03T22:17:08Z
  • Patch available: yes
  • Public exploits total: 5
  • References total: 18
  • Products total: 35
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-1292
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd

Cwe

IdName
CWE-78Improper Neutralization of Special Elements used in an OS Command

Hackerone

  • Reports: 3
  • Rank: 3240

Public exploits

Same in every row:

  • Source: poc-in-github
UrlAdded date
https://github.com/und3sc0n0c1d0/CVE-2022-12922022-09-13
https://github.com/greek0x0/CVE-2022-12922022-09-01
https://github.com/rama291041610/CVE-2022-12922022-05-30
https://github.com/alcaparra/CVE-2022-12922022-05-30
https://github.com/li8u99/CVE-2022-12922022-05-24

References

Same in every row:

  • Source: nvd
UrlTags
https://www.openssl.org/news/secadv/20220503.txtVendor Advisory
https://cert-portal.siemens.com/productcert/pdf/ssa-953464.pdfThird Party Advisory
https://lists.debian.org/debian-lts-announce/2022/05/msg00019.htmlMailing List, Third Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VX4KWHPMKYJL6ZLW4M5IU7E5UV5ZWJQU/Mailing List, Third Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZNU5M7BXMML26G3GPYKFGQYPQDRSNKDD/Mailing List, Third Party Advisory
https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2022-0011Third Party Advisory
https://security.gentoo.org/glsa/202210-02Third Party Advisory
https://security.netapp.com/advisory/ntap-20220602-0009/Third Party Advisory
https://security.netapp.com/advisory/ntap-20220729-0004/Third Party Advisory
https://www.debian.org/security/2022/dsa-5139Third Party Advisory

Products

Same in every row:

  • Sources: nvd
ProductAffectedPlatform boundUrl
openssl:openssl>= 3.0.0, < 3.0.3; >= 1.1.1, < 1.1.1o; >= 1.0.2, < 1.0.2zeno/v1/products/openssl/openssl
debian:debian_linux= 11.0, = 10.0, = 9.0no/v1/products/debian/debian_linux
fedoraproject:fedora= 36, = 35no/v1/products/fedoraproject/fedora
netapp:oncommand_insightall versionsno/v1/products/netapp/oncommand_insight
netapp:active_iq_unified_managerall versionsno/v1/products/netapp/active_iq_unified_manager
netapp:oncommand_workflow_automationall versionsno/v1/products/netapp/oncommand_workflow_automation
netapp:snapcenterall versionsno/v1/products/netapp/snapcenter
oracle:mysql_server>= 8.0.0, <= 8.0.29; >= 5.0.0, <= 5.7.38no/v1/products/oracle/mysql_server
netapp:h700s_firmwareall versionsyes/v1/products/netapp/h700s_firmware
netapp:h300s_firmwareall versionsyes/v1/products/netapp/h300s_firmware

Index

  • Repositories: 3
  • Repositories high signal: 3
  • Checked, none or zero: packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 5
  • Public exploit first date: 2022-05-24
  • Authentication required: yes
  • Hackerone reports: 3
  • Exposed hosts: 4739835
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, remote
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since