id: CVE-2022-31846

info:
  name: WAVLINK WN535 G3 - Information Disclosure
  author: arafatansari
  severity: high
  description: |
    WAVLINK WN535 G3 M35G3R.V5030.180927 is susceptible to information disclosure in the live_mfg.shtml page. An attacker can obtain sensitive router information via the exec cmd function and possibly obtain additional sensitive information, modify data, and/or execute unauthorized operations.
  impact: |
    An attacker can exploit this vulnerability to gain unauthorized access to sensitive information, such as router configuration settings and user credentials.
  remediation: |
    Apply the latest firmware update provided by the vendor to fix the information disclosure vulnerability.
  reference:
    - https://github.com/pghuanghui/CVE_Request/blob/main/WAVLINK%20WN535%20G3__live_mfg.md
    - https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-30489
    - https://nvd.nist.gov/vuln/detail/CVE-2022-31846
    - https://github.com/ARPSyndicate/cvemon
    - https://github.com/ARPSyndicate/kenzer-templates
  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-31846
    cwe-id: CWE-668
    epss-score: 0.06979
    epss-percentile: 0.93314
    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}}/live_mfg.shtml"

    matchers-condition: and
    matchers:
      - type: word
        words:
          - 'Model='
          - 'DefaultIP='
          - 'LOGO1='
        condition: and

      - type: status
        status:
          - 200
# digest: 4a0a004730450220306f29b3a04a23bbdde8915312d6c80c31c0dace3a3f635135a7c6120fa4156d022100e375c51de410450f630215cb33f105d5fd5359a46ed75be7186f026d8726881b:922c64590222798bb761d5b6d8e72950