POJIA破甲
地图 / DOM Based XSS via postMessage at https://inventory.upserve.com/login/

DOM Based XSS via postMessage at https://inventory.upserve.com/login/

跨站脚本 / DOM 型 XSS / #603764

厂商
Upserve
严重程度
中危 · CVSS 7.1
赏金
$2,500
弱点
DOM 型 XSS
研究员
@gamer7112
披露日期
2019-06-25
资产
inventory.upserve.com
CVE
—

该报告还没有中文解读。

原文摘录

摘自原文(1040 字符中的一小部分)
Description DOM based XSS is possible at https://inventory.upserve.com/login/ due to insecure origin checking when receiving a postMessage.
原文中的代码
window.addEventListener("message", function(e) {
  if (~e.origin.indexOf("https://hq.upserve.com")) {
    if (e.data && typeof e.data == "object") {
      try {
        if (e.data["exec"]) {
          eval(e.data["exec"]);
        }
      } catch (err) {
        console.log(err);
      }
    } else …

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

时间线

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

同类报告

Cross-site Scripting (XSS) on HackerOne careers pageHackerOne · 2019-02-17 · $500XSS via Direct Message deeplinksX / xAI · 2019-05-09DOM Based XSS in www.hackerone.com via PostMessageHackerOne · 2019-02-21 · $500Stored XSS on TikTok AdsTikTok · 2022-08-19H1514 DOMXSS on Embedded SDK via Shopify.API.setWindowLocation abusing cookie StuffingShopify · 2019-04-17XSS on Desktop ClientKeybase · —