Root login via hard-coded shadow credential
Published Aug 16, 2024 · Updated Mar 17, 2025
Use of hard-coded credentials in H3C Magic B1ST 100R012 allows remote attackers to log in to the router as root over the network. The firmware stores a fixed root-account credential in /etc/shadow, causing the same embedded credential to authenticate with unrestricted privileges. Network reachability to the device is the only reported gate; successful authentication grants control of the embedded system and router configuration.
Summary
What happened
Use of hard-coded credentials in H3C Magic B1ST 100R012 allows remote attackers to log in to the router as root over the network. The firmware stores a fixed root-account credential in /etc/shadow, causing the same embedded credential to authenticate with unrestricted privileges. Network reachability to the device is the only reported gate; successful authentication grants control of the embedded system and router configuration.
The record
- CVE
- CVE-2024-42638
- Published
- Aug 16, 2024
- Updated
- Mar 17, 2025
- Vendor
- Unknown vendor
- Product
- Unknown product
- Classifications
- CWE-798, T1078.001
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Aug 16, 2024CVE publishedPublication date reported by the CVE source.
- Mar 17, 2025Record 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?
What conditions does exploitation require?
What is affected?
Affected products and versions are unavailable in this record.
Published CVSS scores
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.
Public exploit references
No public exploit references are available in this record.
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