Authenticated command execution via unvalidated firmware parameters
Published Aug 7, 2023 · Updated Oct 11, 2024
Command injection in NETGEAR WG302v2 5.2.9 and WAG302v2 5.1.19 allows remote authenticated users to execute arbitrary OS commands. The upgrade_handler function formats unvalidated firmwareRestore and firmwareServerip values into a string executed by system(), so shell metacharacters inject commands. Administrative access to the web firmware-upgrade interface is required, and successful exploitation compromises the access point's confidentiality, integrity, and availability.
Summary
What happened
Command injection in NETGEAR WG302v2 5.2.9 and WAG302v2 5.1.19 allows remote authenticated users to execute arbitrary OS commands. The upgrade_handler function formats unvalidated firmwareRestore and firmwareServerip values into a string executed by system(), so shell metacharacters inject commands. Administrative access to the web firmware-upgrade interface is required, and successful exploitation compromises the access point's confidentiality, integrity, and availability.
The record
- CVE
- CVE-2023-38921
- Published
- Aug 7, 2023
- Updated
- Oct 11, 2024
- Vendor
- NETGEAR
- Product
- NETGEAR ProSafe 802.11g Wireless Access Point WG302v2
- Classifications
- CWE-77, T1059.004
- Attack vector
- network
- Privileges
- admin
Timeline
How it unfolded
- Aug 7, 2023CVE publishedPublication date reported by the CVE source.
- Oct 11, 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.
- Affected versionversion=v5.2.9
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
- FirmRec upgrade_handler command-injection PoCproof of concept · 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