Opis (engleski)
Mongoose Embedded Web Server / Networking Library before 7.24 contains a WebSocket fragmentation validation vulnerability that allows remote attackers to spoof message metadata by sending a single CONTINUATION frame with FIN=1 as the first data frame instead of a required TEXT/BINARY start frame, violating RFC 6455 sequencing rules. Attackers can craft this malformed frame to make mg_ws_cb() in src/ws.c misinterpret the first byte of payload as saved FIN/opcode flags, causing the application to receive a dispatched MG_EV_WS_MSG event with attacker-controlled flags and data truncated by one byte without closing the connection.
Zahvaćeni proizvodi i verzije
CVSS vektor, objašnjeno
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
- Put napada
- Preko mreže (s interneta)
- Složenost napada
- Niska
- Potrebne ovlasti
- Bez prijave
- Interakcija korisnika
- Nije potrebna
- Opseg
- Samo ranjiva komponenta
- Povjerljivost
- Nizak utjecaj
- Integritet
- Nizak utjecaj
- Dostupnost
- Bez utjecaja
Vrsta slabosti (CWE)
- CWE-841 Improper Enforcement of Behavioral Workflow
Reference
- github.com/cesanta/mongoose/releases/tag/7.24 patch
- github.com/cesanta/mongoose/security/advisories/GHSA-8r69-8vm6-fv67 objava proizvođača
- www.vulncheck.com/advisories/mongoose-before-websocket-frame-validation-bypass-via-ws-c
Izvori: CVE.org (CNA i CISA ADP), CISA KEV, FIRST EPSS. Uvijek provjerite službenu objavu proizvođača.