POJIA破甲
地图 / Content Security Policy is only active for HTML responses but not for image/svg+xml

Content Security Policy is only active for HTML responses but not for image/svg+xml

跨站脚本 / 存储型 XSS / #1327196

厂商
Ruby on Rails
严重程度
未评级
赏金
—
弱点
存储型 XSS
研究员
@thorsteneckel
披露日期
2023-07-28
资产
https://github.com/rails/rails
CVE
CVE-2022-22577

该报告还没有中文解读。

原文摘录

摘自原文(1303 字符中的一小部分)
- Setup plain Rails application with a simple route and controller - Configure a Content Security Policy (CSP) for downloading/preview endpoints with `default-src 'none'` (via https://edgeguides.rubyonrails.org/security.html#content-security-policy) - Send a malicious SVG* file (e.g. attached …

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

时间线

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

同类报告

Stored XSS in Wiki pagesGitLab · 2019-09-02Stored XSS on imgur profileImgur · 2019-03-02The return of the <Rockstar Games · 2019-09-24 · $1,000XSS in steam react chat clientValve · 2019-01-07 · $7,500Blind XSS on image uploadCS Money · 2020-12-26 · $1,000Stored XSS VulnerabilityWordPress · 2019-07-18