nuclei-templates/http/cves/2021/CVE-2021-25033.yaml

41 lines
1.5 KiB
YAML

id: CVE-2021-25033
info:
name: Noptin < 1.6.5 - Open Redirect
author: dhiyaneshDk
severity: medium
description: Noptin < 1.6.5 is susceptible to an open redirect vulnerability. The plugin does not validate the "to" parameter before redirecting the user to its given value, leading to an open redirect issue.
remediation: |
Update to Noptin plugin version 1.6.5 or later.
reference:
- https://wpscan.com/vulnerability/c2d2384c-41b9-4aaf-b918-c1cfda58af5c
- https://plugins.trac.wordpress.org/changeset/2639592
- https://nvd.nist.gov/vuln/detail/CVE-2021-25033
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-25033
cwe-id: CWE-601
epss-score: 0.001
epss-percentile: 0.41104
cpe: cpe:2.3:a:noptin:noptin:*:*:*:*:*:wordpress:*:*
metadata:
max-request: 1
vendor: noptin
product: noptin
framework: wordpress
tags: wp,wpscan,cve,cve2021,wordpress,redirect,wp-plugin,noptin
http:
- method: GET
path:
- "{{BaseURL}}/?noptin_ns=email_click&to=https://interact.sh"
matchers:
- type: regex
part: header
regex:
- '(?m)^(?:Location\s*?:\s*?)(?:https?:\/\/|\/\/|\/\\\\|\/\\)(?:[a-zA-Z0-9\-_\.@]*)interact\.sh\/?(\/|[^.].*)?$' # https://regex101.com/r/L403F0/1
# digest: 4b0a00483046022100b07cfa971655152226fea19e79d5f185c840c7e14043a4faec92103ea0da41b3022100b7eaff4a0c5fd2ed9347896e05038cab724fd07c5dc2ee7aa83706c6de45d1be:922c64590222798bb761d5b6d8e72950