Read beyond bounds in ap_strcmp_match() [zhbug_httpd_47.7]
该报告还没有中文解读。
原文摘录
摘自原文(7430 字符中的一小部分)
Greetings. I have found a read-beyond-bounds attack against httpd that allows an attacker to search httpd's memory for strings matching an attacker-specified pattern [1]. The attack arises from an overflow in ap_strcmp_match() (server/util.c). [2] The vulnerability can be reached via an LUA program …
原文中的代码
187: AP_DECLARE(int) ap_strcmp_match(const char *str, const char *expected)
188: {
189: int x, y;
190:
191: for (x = 0, y = 0; expected[y]; ++y, ++x) {
192: if (expected[y] == '*') {
193: while (expected[++y] == '*');
194: if (!expected[y])
195: …默认不展示报告全文。以上为简短摘录,完整复现过程请阅读原文。版权归研究员与 Internet Bug Bounty 所有。
时间线
- 报告提交
- 公开披露
阅读 HackerOne 原文 ↗作者 @tdp3kel9g · 版权归作者与 Internet Bug Bounty 所有