Incomplete fix for CVE-2022-35406: meta-redirect content-type check bypassable via parameter injection
该报告还没有中文解读。
原文摘录
摘自原文(3218 字符中的一小部分)
The fix for CVE-2022-35406 (#1541301) stops Burp from following a <meta http-equiv="refresh"> redirect when the response Content-Type/Content-Disposition would prevent HTML rendering. The check substring-matches html in the raw Content-Type instead of parsing the media type. A text/plain response …
原文中的代码
#!/usr/bin/env python3
from http.server import BaseHTTPRequestHandler, HTTPServer
META = ('<html><head><meta http-equiv="refresh" '
'content="0;url=http://127.0.0.1:9000/stolen"></head><body>x</body></html>')
CASES = {
"/ct_plain": "text/plain", # control: …默认不展示报告全文。以上为简短摘录,完整复现过程请阅读原文。版权归研究员与 PortSwigger Web Security 所有。
时间线
- 报告提交
- 公开披露
阅读 HackerOne 原文 ↗作者 @hacker-kartel · 版权归作者与 PortSwigger Web Security 所有