Submit #755450: Cesanta Mongoose Embedded Web Server 7.20 Improper Validation of Specified Index, Position, or Offset in Iinfo

TitelCesanta Mongoose Embedded Web Server 7.20 Improper Validation of Specified Index, Position, or Offset in I
BeschreibungThe built-in TCP/IP stack (MIP) in Mongoose accepts TCP RST packets without validating the source IP address or the sequence number thus allowing an attacker to terminate arbitrary TCP sessions. The getpeer() function in /src/net_builtin.c matches incoming TCP segments to existing connections using only the port pair (source port, destination port), ignoring the source IP address entirely. Once a connection is matched, the rx_tcp() function immediately terminates the connection upon seeing the RST flag without checking whether the segment's sequence number falls within the valid receive window. This violates RFC 5961 (Improving TCP's Robustness to Blind In-Window Attacks) and allows any host on the network to terminate arbitrary TCP connections by sending a single forged RST packet with the correct port pair and any source IP or sequence number.
Quelle⚠️ https://github.com/dwBruijn/CVEs/blob/main/Mongoose/tcp_rst.md
Benutzer
 dwbruijn (UID 93926)
Einreichung10.02.2026 18:28 (vor 6 Monaten)
Moderieren22.02.2026 08:57 (12 days later)
StatusAkzeptiert
VulDB Eintrag347334 [Cesanta Mongoose bis 7.20 TCP Sequence Number /src/net_builtin.c getpeer Denial of Service]
Punkte20

Do you need the next level of professionalism?

Upgrade your account now!