CVE-2021-29707Public exploit

Root escalation via restricted shell bypass

Published Jul 19, 2021 · Updated Sep 16, 2024

Privilege escalation in IBM Hardware Management Console 9.1.910.0 and 9.2.950.0 allows local users to gain root access through a restricted shell. The hmcbash environment leaves sed execution escapes available; sed can run commands, reach an unrestricted bash, and invoke the setuid asmmenu wrapper with an unsanitized environment to execute a root shell. The attack requires a local HMC account, and successful exploitation grants complete control of the console with confidentiality, integrity, and availability impact.

CVSS severity8.4
High
EPSS probability0.30%
Next 30 days · Sep 16, 2026
Known exploitationUnconfirmed
Based on sourced intelligence
Hinoki checkNot available
Coverage for this vulnerability

See if you're affected

Explore vulnerability checks for your environment with Hinoki.

Book a demo

Summary

What happened

Privilege escalation in IBM Hardware Management Console 9.1.910.0 and 9.2.950.0 allows local users to gain root access through a restricted shell. The hmcbash environment leaves sed execution escapes available; sed can run commands, reach an unrestricted bash, and invoke the setuid asmmenu wrapper with an unsanitized environment to execute a root shell. The attack requires a local HMC account, and successful exploitation grants complete control of the console with confidentiality, integrity, and availability impact.

The record

CVE
CVE-2021-29707
Published
Jul 19, 2021
Updated
Sep 16, 2024
Vendor
IBM
Product
IBM Hardware Management Console
Classifications
CWE-269, T1068
Attack vector
local
Privileges
authenticated

Timeline

How it unfolded

  1. Jul 19, 2021CVE publishedPublication date reported by the CVE source.
  2. Sep 16, 2024Record updatedLatest update available in the CVE record.

Exploitability

Present is not the same as exploitable

Compare your product and version with the public record. A matching version still requires validation against your environment.

Is a vulnerable build present?

Compare these published version ranges with your installed build and any vendor patches.

  1. Affected versionversion=9.1.910.0
  2. Affected versionversion=9.2.950.0

What conditions does exploitation require?

Attack vectorlocal
Required privilegesauthenticated

What is affected?

IBM · IBM Hardware Management Consoleversion=9.1.910.0; version=9.2.950.0

Published CVSS scores

7.3IBM X-ForceCVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/RL:O/RC:C/E:U
8.4IBMCVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

CVSS describes severity. EPSS estimates exploitation probability.

Attacks

What attackers are doing with it

Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.

Daily unique IPsNo honeypot observations are available for this CVE in the selected window.

No observations available

Sep 9, 2026Sep 15, 2026
Latest reporting daySep 15, 2026
Latest daily unique IPsUnavailable
Prior 30-day averageUnavailable
SourceShadowserver honeypots (KEV)
Vectorlocal
Privilegesauthenticated
Known exploitationUnconfirmed
Public exploitPublished

Weakness, pattern, technique

CWE-269Improper Privilege Management
T1068Exploitation for Privilege Escalation

Public exploit references

Labels summarize the accepted research assessment. They do not indicate a test against your environment.

Technologies

Your stack

See the directory against your own environment.

Your stack

Check the software in your environment

Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.

Book a demo