Authenticated command execution via unsanitized host_name
Published Jul 10, 2025 · Updated Jul 10, 2025
OS command injection in diag.cgi in NETGEAR D6400 1.0.0.114 allows remote authenticated users to execute arbitrary commands. The httpd handler passes the attacker-controlled host_name value to the operating system without validating or neutralizing command syntax. Valid administrator credentials are required; successful exploitation can start a shell service and execute commands with the router's privileges.
Summary
What happened
OS command injection in diag.cgi in NETGEAR D6400 1.0.0.114 allows remote authenticated users to execute arbitrary commands. The httpd handler passes the attacker-controlled host_name value to the operating system without validating or neutralizing command syntax. Valid administrator credentials are required; successful exploitation can start a shell service and execute commands with the router's privileges.
The record
- CVE
- CVE-2025-7407
- Published
- Jul 10, 2025
- Updated
- Jul 10, 2025
- Vendor
- NETGEAR
- Product
- D6400
- Classifications
- CWE-78, CWE-77, T1059
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- Jul 10, 2025CVE publishedPublication date reported by the CVE source.
- Jul 10, 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?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=1.0.0.114
What conditions does exploitation require?
What is affected?
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.
Weakness, pattern, technique
Public exploit references
- D6400 diag.cgi host_name command-injection PoCfunctional · demonstrated
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