imagecolormatch Out Of Bounds Write on Heap
该报告还没有中文解读。
原文摘录
摘自原文(1904 字符中的一小部分)
The link to the PHP bug: https://bugs.php.net/bug.php?id=77270
原文中的代码
The buffer is then written to in a for loop.
for (x=0; x<im1->sx; x++) {
for( y=0; y<im1->sy; y++ ) {
color = im2->pixels[y][x];
rgb = im1->tpixels[y][x];
bp = buf + (color * 5);
(*(bp++))++;
*(bp++) += gdTrueColorGetRed(rgb);
*(bp++) += gdTrueColorGetGreen(rgb);
*(bp++) += …默认不展示报告全文。以上为简短摘录,完整复现过程请阅读原文。版权归研究员与 Internet Bug Bounty 所有。
时间线
- 报告提交
- 公开披露
阅读 HackerOne 原文 ↗作者 @simonscannell · 版权归作者与 Internet Bug Bounty 所有