Integer overflow in ftp_genlist() resulting in heap overflow
该报告还没有中文解读。
原文摘录
摘自原文(7334 字符中的一小部分)
Description: ------------ The ftp_genlist() function of the ftp extension is prone to an integer overflow, which may result in remote code execution.
原文中的代码
ext/ftp/ftp.c:ftp_genlist(...)
1826 size = 0;
1827 lines = 0;
1828 lastch = 0;
1829 while ((rcvd = my_recv(ftp, data->fd, data->buf, FTP_BUFSIZE))) {
1830 if (rcvd == -1) {
1831 goto bail;
1832 }
1833
1834 …默认不展示报告全文。以上为简短摘录,完整复现过程请阅读原文。版权归研究员与 Internet Bug Bounty 所有。
时间线
- 报告提交
- 公开披露
阅读 HackerOne 原文 ↗作者 @ruben · 版权归作者与 Internet Bug Bounty 所有