Authenticated command execution via unsanitized upgrade key
Published Jul 20, 2022 · Updated Apr 15, 2025
OS command injection in Wavlink WN535K2 and WN535K3 allows remote authenticated users to execute arbitrary commands via mesh.cgi. The /cgi-bin/mesh.cgi?page=upgrade handler passes the key parameter to an operating-system command without neutralizing shell metacharacters. Access to an adjacent network and low privileges is required; injected commands execute with the CGI process privileges.
Summary
What happened
OS command injection in Wavlink WN535K2 and WN535K3 allows remote authenticated users to execute arbitrary commands via mesh.cgi. The /cgi-bin/mesh.cgi?page=upgrade handler passes the key parameter to an operating-system command without neutralizing shell metacharacters. Access to an adjacent network and low privileges is required; injected commands execute with the CGI process privileges.
The record
- CVE
- CVE-2022-2486
- Published
- Jul 20, 2022
- Updated
- Apr 15, 2025
- Vendor
- Wavlink
- Product
- HALO Base WN535K2
- Classifications
- CWE-78, T1059
- Attack vector
- adjacent
- Privileges
- authenticated
Timeline
How it unfolded
- Jul 20, 2022CVE publishedPublication date reported by the CVE source.
- Apr 15, 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=n/a
What conditions does exploitation require?
What is affected?
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
- Wavlink mesh.cgi command execution proof of conceptproof 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