🔙 목록으로 돌아가기

CVE-2021-32618: Python Flask-Security - Open Redirect

TitlePython Flask-Security - Open Redirect
Author0x_Akoko
SeverityMedium
ImpactAn attacker can craft a malicious URL that redirects users to a malicious website, leading to potential phishing attacks or the exploitation of other vulnerabilities.
RemediationUpgrade to the latest version of Python Flask-Security library to fix the open redirect vulnerability.
CVSS Score6.1
EPSS Score0.17163
CVE IDCVE-2021-32618
CWE IDCWE-601
Tags cve2021 cve redirect flask flask-security_project vuln

🔍 Vulnerability Description

Python Flask-Security contains an open redirect vulnerability. Existing code validates that the URL specified in the next parameter is either relative or has the same network location as the requesting URL. Certain browsers accept and fill in the blanks of possibly incomplete or malformed URLs. An attacker can redirect a user to a malicious site and possibly obtain sensitive information, modify data, and/or execute unauthorized operations.

🌐 HTTP Request

GET /login?next=\\\interact.sh HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (X11; Linux i686; rv:1.9.6.20) Gecko/ Firefox/3.6.15
Connection: close
Accept: */*
Accept-Language: en
Accept-Encoding: gzip

📚 References


🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2021/CVE-2021-32618.yaml

🦈 Packet Capture: ⬇️ Download cve-2021-32618.pcap

⚠️ Notice: These rules are for detection purposes. Please tune them before applying to a production environment.
Snort 2 Rule
N/A
Snort 3 Rule
N/A