CVE-2025-2728 H3C Magic NX30 Pro/Magic NX400 getNetworkConf command injection
A local network attacker can execute arbitrary commands on H3C Magic NX30 Pro and NX400 routers via the getNetworkConf API endpoint.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2025-2728?
CVE-2025-2728 is a high-severity command injection vulnerability in H3C Magic NX30 Pro, published on 25 Mar 2025. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
A vulnerability has been found in H3C Magic NX30 Pro and Magic NX400 up to V100R014 and classified as critical. This vulnerability affects unknown code of the file /api/wizard/getNetworkConf. The manipulation leads to command injection. The attack needs to be approached within the local network. It is recommended to upgrade the affected component.
Which versions are affected by CVE-2025-2728?
How do I fix CVE-2025-2728?
No fix has been published for CVE-2025-2728 yet. Limit exposure of the affected software until one is available.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is CVE-2025-2728 being exploited?
There is no known exploitation of CVE-2025-2728 in the wild and no public exploit code.
Sources
Also known as GHSA-5rmc-9cm9-28cr.