title: 'CVE-2022-2487 Exploit Attempt: Wavlink WN535K2/WN535K3 - OS Command Injection'
id: 'ad494ac9-c78f-5daa-ae71-60e7a4f380ec'
status: 'experimental'
description: 'A web request matching the public nuclei template for CVE-2022-2487 (Wavlink WN535K2/WN535K3 - OS Command Injection). The payload travels in the request body, which access logs do not keep, so the rule matches the method and path only. A hit means someone sent this request: an exploit attempt or a scanner. It does not mean the attempt worked. Derived from the template by fixed rules, not written by hand; read it before you rely on it.'
references:
    - 'https://github.com/projectdiscovery/nuclei-templates/blob/f3230325748bc22e9a3319dc01a1692687170d99/http/cves/2022/CVE-2022-2487.yaml'
    - 'https://nvd.nist.gov/vuln/detail/CVE-2022-2487'
author: 'thrunt.me, derived from projectdiscovery/nuclei-templates (MIT)'
date: '2026-11-12'
modified: '2026-11-12'
tags:
    - 'attack.initial-access'
    - 'attack.t1190'
    - 'cve.2022-2487'
    - 'detection.emerging-threats'
logsource:
    category: 'webserver'
detection:
    selection:
        cs-method: 'POST'
        cs-uri-stem|contains: '/cgi-bin/nightled.cgi'
    condition: 'selection'
falsepositives:
    - 'Vulnerability scanners and penetration tests that send the same template request.'
    - 'Ordinary use of this endpoint, if your application serves it. Compare the source and the response code.'
level: 'low'
