integer Overflow in MQTT Protocol Handling Allows Bypassing Message Size Limit
该报告还没有中文解读。
原文摘录
摘自原文(8325 字符中的一小部分)
Summary: A logic error involving an integer overflow (specifically, an unsigned integer underflow) exists in the lib/mqtt.c file within the mqtt_publish function. This vulnerability allows an attacker (or a malicious user configuration) to bypass the explicit MAX_MQTT_MESSAGE_SIZE check.
原文中的代码
import socket
import struct
import sys
import time
def run_server():
host = '127.0.0.1'
port = 1883
sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
sock.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1)
sock.bind((host, port))
sock.listen(1) …默认不展示报告全文。以上为简短摘录,完整复现过程请阅读原文。版权归研究员与 curl 所有。
时间线
- 报告提交
- 公开披露
阅读 HackerOne 原文 ↗作者 @gudyuu · 版权归作者与 curl 所有