nuclei-templates/cves/2021/CVE-2021-22873.yaml

41 lines
1.5 KiB
YAML
Raw Normal View History

2021-01-24 11:37:25 +00:00
id: CVE-2021-22873
info:
name: Revive Adserver < 5.1.0 Open Redirect
author: pudsec
severity: medium
2021-01-29 18:05:27 +00:00
description: Revive Adserver before 5.1.0 is vulnerable to open redirects via the dest, oadest, and ct0 parameters of the lg.php and ck.php delivery scripts.
reference:
- https://nvd.nist.gov/vuln/detail/CVE-2021-22873
- https://hackerone.com/reports/1081406
- https://github.com/revive-adserver/revive-adserver/issues/1068
- http://seclists.org/fulldisclosure/2021/Jan/60
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
cvss-score: 6.1
cve-id: CVE-2021-22873
cwe-id: CWE-601
metadata:
shodan-query: http.favicon.hash:106844876
verified: "true"
tags: cve,cve2021,redirect,revive
2021-01-24 11:37:25 +00:00
requests:
- method: GET
path:
- "{{BaseURL}}/ads/www/delivery/lg.php?dest=http://interact.sh"
- "{{BaseURL}}/adserve/www/delivery/lg.php?dest=http://interact.sh"
- "{{BaseURL}}/adserver/www/delivery/lg.php?dest=http://interact.sh"
- "{{BaseURL}}/openx/www/delivery/lg.php?dest=http://interact.sh"
- "{{BaseURL}}/revive/www/delivery/lg.php?dest=http://interact.sh"
- "{{BaseURL}}/www/delivery/lg.php?dest=http://interact.sh"
2021-01-29 18:05:27 +00:00
stop-at-first-match: true
2021-01-24 11:37:25 +00:00
redirects: true
max-redirects: 2
2021-01-24 11:37:25 +00:00
matchers:
- type: regex
part: header
regex:
- '(?m)^(?:Location\s*?:\s*?)(?:https?:\/\/|\/\/|\/\\\\|\/\\)?(?:[a-zA-Z0-9\-_\.@]*)interact\.sh\/?(\/|[^.].*)?$' # https://regex101.com/r/ZDYhFh/1