CVE-2025-61330 Hardcoded credentials in n/a

Medium 6.5 Published Updated

Attackers can gain root access to H3C Magic devices via Telnet using hard-coded weak passwords, potentially leading to full device compromise.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-61330?

CVE-2025-61330 is a medium-severity vulnerability in n/a, published on 16 Oct 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A hard-coded weak password vulnerability has been discovered in all Magic-branded devices from Chinese network equipment manufacturer H3C. The vulnerability stems from the use of a hard-coded weak password for the root account in the /etc/shadow configuration or even the absence of any password at all. Some of these devices have the Telnet service enabled by default, or users can choose to enable the Telnet service in other device management interfaces (e.g. /debug.asp or /debug_telnet.asp). In addition, these devices have related interfaces called Virtual Servers, which can map the devices to the public network, posing the risk of remote attacks. Therefore, attackers can obtain the highest root privileges of the devices through the Telnet service using the weak password hardcoded in the firmware (or without a password), and remote attacks are possible.

Weakness: CWE-259

Which versions are affected by CVE-2025-61330?

How do I fix CVE-2025-61330?

No fix has been published for CVE-2025-61330 yet. Limit exposure of the affected software until one is available.

Is CVE-2025-61330 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-61330 exists.

Sources

Also known as GHSA-62cf-rj26-wc9v.

Is CVE-2025-61330 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free