{"answers":{"affected":"It affects 2 products.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-2487 exists.","fix":"No fix has been published for CVE-2022-2487 yet. Limit exposure of the affected software until one is available.","what":"CVE-2022-2487 is a high-severity command injection vulnerability in WAVLINK WN535K2, published on 20 Jul 2022. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2022-2487 and fix it if it is affected.\n\nWhat it is: CVE-2022-2487 is a high-severity command injection vulnerability in WAVLINK WN535K2, published on 20 Jul 2022. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-2487 exists.\n\nAffected product: WAVLINK WN535K2. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2022-2487/ (Markdown: https://insights.sbomify.com/CVE-2022-2487/index.md)","id":"CVE-2022-2487","markdown":"https://insights.sbomify.com/CVE-2022-2487/index.md","name":"CVE-2022-2487","record":{"aliases":["GHSA-gv4v-6v97-75hc"],"analysis":{"component_type":"network_device","fix_type":"no_fix_stated","impacts":["code_execution"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"WAVLINK wireless router","requires_auth":"low_privilege","summary":"Attackers can execute arbitrary OS commands via the start_hour argument in nightled.cgi on WAVLINK WN535K2/K3 routers.","user_interaction":"not_required","vuln_class":"command_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"VulDB","cpe":[{"product":"wl-wn535k2_firmware","vendor":"wavlink"},{"product":"wl-wn535k3_firmware","vendor":"wavlink"}],"cvss":{"score":8,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"description":"A vulnerability has been found in WAVLINK WN535K2 and WN535K3 and classified as critical. This vulnerability affects unknown code of the file /cgi-bin/nightled.cgi. The manipulation of the argument start_hour leads to os command injection. The exploit has been disclosed to the public and may be used.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":1,"refs":[{"date":null,"kind":"nuclei","ref":"http/cves/2022/CVE-2022-2487.yaml","stars":null,"title":"Wavlink WN535K2/WN535K3 - OS Command Injection"}],"tier":"weaponised"},"has_fix":null,"headline":"WAVLINK WN535K2/WN535K3 nightled.cgi os command injection","id":"CVE-2022-2487","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"command_injection","year":"2022"},"n_packages":0,"n_references":2,"next":{"headline":"WAVLINK WN535K2/WN535K3 touchlist_sync.cgi os command injection","id":"CVE-2022-2488"},"packages":[],"prev":{"headline":"WAVLINK WN535K2/WN535K3 os command injection","id":"CVE-2022-2486"},"products":["WN535K2","WN535K3"],"published":"2022-07-20","related":[{"cvss_score":8,"headline":"WAVLINK WN535K2/WN535K3 os command injection","id":"CVE-2022-2486","kev_date_added":null,"published":"2022-07-20"},{"cvss_score":8,"headline":"WAVLINK WN535K2/WN535K3 touchlist_sync.cgi os command injection","id":"CVE-2022-2488","kev_date_added":null,"published":"2022-07-20"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"attribution","licence":"MIT","name":"Nuclei templates"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-04-15","vendors":["WAVLINK"]},"summary":"Attackers can execute arbitrary OS commands via the start_hour argument in nightled.cgi on WAVLINK WN535K2/K3 routers.","url":"https://insights.sbomify.com/CVE-2022-2487/"}