提交 #1074221: TRENDnet TEW-821DAP 1.12B01 Use of Uninitialized Resource (CWE-908) / Information Disclosure信息

标题TRENDnet TEW-821DAP 1.12B01 Use of Uninitialized Resource (CWE-908) / Information Disclosure
描述An information disclosure vulnerability was discovered in TRENDnet TEW-821DAP firmware v1.12B01. In the wlan_profile handler (0x443554 in /www/cgi/ssi) of the pre-authentication EAP JSON-RPC API, the bssid field is filled by a runtime interface query whose return value is not checked; when the query fails, a stack buffer that was never initialized or zeroed is passed directly to json_object_new_string and serialized into the JSON response. Repeated unauthenticated requests to /eap/profile.cgi return about 32 bytes of CGI process stack residue with a stable prefix, a 4-byte region that changes on every request, and a fixed suffix consistent with pointer fragments. A control experiment setting qcawifi.wifi0_vap0.bssid via UCI does not change the output, proving the field is not sourced from configuration. Reproduction: curl -X POST http://<target>/eap/profile.cgi -H 'Content-Type: application/json' -d '{"jsonrpc":"2.0","method":"wlan_profile","params":{"session_id":"0","profile_id":"wifi0_vap0"},"id":1}' issued several times and comparing the config.bssid bytes. Honest scope note: on a physical device with the radio up the query most likely succeeds; the leak window is interface-down or driver-error states and was triggered deterministically in the rehosted environment. The same firmware image line is shared by TEW-755AP and TEW-825DAP. The product line is end-of-life. Proposed CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N (4.3). Discovered by yegeg via differential dynamic probing and static root-cause localization.
来源⚠️ https://github.com/yegeg/TEW-821DAP-cves/tree/main/02-eap-wlan-profile-uninit-bssid
用户
 yegege (UID 102736)
提交2026-11-04 08時49分 (29 日前)
管理2026-12-03 00時45分 (29 days later)
状态已接受
VulDB条目448234 [TRENDnet TEW-821DAP 1.12B01 EAP JSON-RPC API /www/cgi/ssi wlan_profile bssid 信息公开]
积分20

Might our Artificial Intelligence support you?

Check our Alexa App!