POJIA破甲
地图 / Response splitting vulnerability in WEBrick

Response splitting vulnerability in WEBrick

跨站脚本 / XSS(通用) / #153794

厂商
Ruby
严重程度
低危
赏金
—
弱点
XSS(通用)
研究员
@tenderlove
披露日期
2018-04-29
资产
—
CVE
CVE-2017-17742

该报告还没有中文解读。

原文摘录

摘自原文(1072 字符中的一小部分)
WEBrick seems to be vulnerable to a [response splitting attack](https://www.owasp.org/index.php/HTTP_Response_Splitting). The reproduction script is very similar to the code shown on the owasp page:
原文中的代码
require 'webrick'

class MyServlet < ::WEBrick::HTTPServlet::AbstractServlet
  def service req, res
    res.cookies << WEBrick::Cookie.new('author', req.query['author'])
    res.body = 'hello world'
  end
end

server = ::WEBrick::HTTPServer.new Port: 8080
server.mount "/", MyServlet
trap('INT') { …

默认不展示报告全文。以上为简短摘录,完整复现过程请阅读原文。版权归研究员与 Ruby 所有。

时间线

  • 报告提交
  • 公开披露
阅读 HackerOne 原文 ↗作者 @tenderlove · 版权归作者与 Ruby 所有

同类报告

[Grab Android/iOS] Insecure deeplink leads to sensitive information disclosureGrab · 2019-03-15XSS vulnerable parameter in a location hashSlack · 2019-10-16[accounts.reddit.com] Redirect parameter allows for XSSReddit · 2023-05-18 · $5,000yelp.com XSS ATO (via login keylogger, link Google account)Yelp · 2023-08-15XSS At "pages.et.uber.com"Uber · 2016-08-19XSS at jamfpro.shopifycloud.comShopify · 2023-02-02 · $9,400