Submeter #855123: Tomato by Shibby Tomato Firmware Tomato v1.28 RT-N5x MIPSR2 build 124 Mini Stack out-of-bounds writeinformação

TítuloTomato by Shibby Tomato Firmware Tomato v1.28 RT-N5x MIPSR2 build 124 Mini Stack out-of-bounds write
Descriçãosetup_conntrack reads ct_tcp_timeout from NVRAM. If the NVRAM value is absent or does not parse as 10 unsigned integers, the function falls back to reading TCP conntrack timeout values from procfs and formats them into a fixed 72-byte stack buffer. char buf[72]; v11 = read_conntrack_timeout("tcp", "established"); v12 = read_conntrack_timeout("tcp", "syn_sent"); v13 = read_conntrack_timeout("tcp", "syn_recv"); v14 = read_conntrack_timeout("tcp", "fin_wait"); v15 = read_conntrack_timeout("tcp", "time_wait"); v16 = read_conntrack_timeout("tcp", "close"); v17 = read_conntrack_timeout("tcp", "close_wait"); v18 = read_conntrack_timeout("tcp", "last_ack"); sprintf(buf, "0 %u %u %u %u %u %u %u %u 0", v11, v12, v13, v14, v15, v16, v17, v18); nvram_set("ct_tcp_timeout", buf); In the worst case, the formatted output is approximately 92 bytes, exceeding the 72-byte destination buffer.
Fonte⚠️ https://gitee.com/Fengyi-Wang/CVE/issues/IJTQ5S
Utilizador
 Cormac315 (UID 97273)
Submissão10/06/2026 16h18 (há 1 mês)
Moderação17/07/2026 16h14 (1 month later)
EstadoAceite
Entrada VulDB379799 [Shibby Tomato 1.28 RT-N5x MIPSR2 Build 124 /sbin/rc setup_conntrack ct_tcp_timeout Excesso de tampão]
Pontos20

Want to stay up to date on a daily basis?

Enable the mail alert feature now!