Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CWE-601 (指向未可信站点的URL重定向(开放重定向)) — Vulnerability Class 722

722 vulnerabilities classified as CWE-601 (指向未可信站点的URL重定向(开放重定向)). AI Chinese analysis included.

CWE-601 represents a critical web application vulnerability where the software accepts user-controlled input to specify a redirect destination without adequate validation. Attackers typically exploit this weakness by crafting malicious URLs that redirect victims to untrusted, phishing sites, often leveraging the trust associated with the legitimate domain to bypass security warnings. This social engineering tactic facilitates credential theft, malware distribution, or session hijacking. To mitigate this risk, developers must implement strict validation mechanisms, such as maintaining an allowlist of permitted domains or verifying that redirect parameters originate from the same origin. Additionally, using relative paths instead of absolute URLs can significantly reduce the attack surface. By ensuring that all redirection targets are explicitly trusted and verified before processing, organizations can prevent unauthorized navigation and protect users from deceptive external links.

MITRE CWE Description
The web application accepts a user-controlled input that specifies a link to an external site, and uses that link in a redirect.
Common Consequences (2)
Access ControlBypass Protection Mechanism, Gain Privileges or Assume Identity
The user may be redirected to an untrusted page that contains malware which may then compromise the user's system. In some cases, an open redirect can also enable the immediate download of a file without the user's permission, because the r…
Access Control, Confidentiality, OtherBypass Protection Mechanism, Gain Privileges or Assume Identity, Other
By modifying the URL value to a malicious site, an attacker may successfully launch a phishing scam. The user may be subjected to phishing attacks by being redirected to an untrusted page. The phishing attack may point to an attacker controlled web page that appears to be a trusted web site. The phi…
Mitigations (5)
ImplementationAssume all input is malicious. Use an "accept known good" input validation strategy, i.e., use a list of acceptable inputs that strictly conform to specifications. Reject any input that does not strictly conform to specifications, or transform it into something that does. When performing input validation, consider all potentially relevant properties, including length, type of input, the full range…
Architecture and DesignUse an intermediate disclaimer page that provides the user with a clear warning that they are leaving the current site. Implement a long timeout before the redirect occurs, or force the user to click on the link. Be careful to avoid XSS problems (CWE-79) when generating the disclaimer page.
Architecture and DesignWhen the set of acceptable objects, such as filenames or URLs, is limited or known, create a mapping from a set of fixed input values (such as numeric IDs) to the actual filenames or URLs, and reject all other inputs. For example, ID 1 could map to "/login.asp" and ID 2 could map to "http://www.example.com/". Features such as the ESAPI AccessReferenceMap [REF-45] provide this capability.
Architecture and DesignEnsure that no externally-supplied requests are honored by requiring that all redirect requests include a unique nonce generated by the application [REF-483]. Be sure that the nonce is not predictable (CWE-330).
Architecture and Design, ImplementationUnderstand all the potential areas where untrusted inputs can enter your software: parameters or arguments, cookies, anything read from the network, environment variables, reverse DNS lookups, query results, request headers, URL components, e-mail, files, filenames, databases, and any external systems that provide data to the application. Remember that such inputs may be obtained indirectly throug…
Examples (2)
The following code obtains a URL from the query string and then redirects the user to that URL.
$redirect_url = $_GET['url']; header("Location: " . $redirect_url);
Bad · PHP
http://example.com/example.php?url=http://malicious.example.com
Attack
The following code is a Java servlet that will receive a GET request with a url parameter in the request to redirect the browser to the address specified in the url parameter. The servlet will retrieve the url parameter value from the request and send a response to redirect the browser to the url address.
public class RedirectServlet extends HttpServlet { protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { String query = request.getQueryString(); if (query.contains("url")) { String url = request.getParameter("url"); response.sendRedirect(url); } } }
Bad · Java
<a href="http://bank.example.com/redirect?url=http://attacker.example.net">Click here to log in</a>
Attack · HTML
CVE IDTitleCVSSSeverityPublished
CVE-2024-8646 Eclipse Glassfish: URL redirection vulnerability to untrusted sites — Eclipse Glassfish 6.1 Medium2024-09-11
CVE-2024-7260 Keycloak-core: open redirect on account page 6.1 Medium2024-09-09
CVE-2024-8586 Uniong WebITR - Open Redirect — WebITR 6.1 Medium2024-09-09
CVE-2024-42341 Loway - CWE-601: URL Redirection to Untrusted Site ('Open Redirect') — QueueMetrics 6.1 Medium2024-09-08
CVE-2024-8555 SourceCodester Clinics Patient Management System congratulations.php redirect — Clinics Patient Management System 4.3 Medium2024-09-07
CVE-2024-8412 LinuxOSsk Shakal-NG views.py redirect — Shakal-NG 4.3 Medium2024-09-04
CVE-2024-35133 IBM Security Verify Access HTTP open redirect — Security Verify Access 6.8 Medium2024-08-29
CVE-2024-7941 Hitachi Energy MicroSCADA X SYS600 安全漏洞 — MicroSCADA SYS600 4.3 Medium2024-08-27
CVE-2024-7428 Potential Open Redirect issues affect OpenText™ Network Node Manager i (NNMi). — Network Node Manager i (NNMi) 6.1AIMediumAI2024-08-23
CVE-2024-43794 OpenSearch Dashboards Security Plugin improper validation of nextUrl can lead to external redirect — security-dashboards-plugin 6.1 Medium2024-08-23
CVE-2024-27184 [20240801] - Core - Inadequate validation of internal URLs — Joomla! CMS 5.4AIMediumAI2024-08-20
CVE-2024-6377 URL redirection to untrusted site (open redirect) vulnerability affecting 3DPassport in 3DSwymer from Release 3DEXPERIENCE R2022x through Release 3DEXPERIENCE R2024x — 3DSwymer 8.1 High2024-08-20
CVE-2024-43280 WordPress Salon Booking System plugin <= 10.8.1 - Open Redirection vulnerability — Salon booking system 4.7 Medium2024-08-19
CVE-2024-43236 WordPress Easy PayPal & Stripe Buy Now Button plugin <= 1.9 - Open Redirection vulnerability — Easy PayPal Buy Now Button 4.7 Medium2024-08-19
CVE-2024-7902 pkp ojs signOut redirect — ojs 4.3 Medium2024-08-17
CVE-2024-42353 WebOb's location header normalization during redirect leads to open redirect — webob 6.1 Medium2024-08-14
CVE-2024-38211 Microsoft Dynamics 365 (on-premises) Cross-site Scripting Vulnerability — Microsoft Dynamics 365 (on-premises) version 9.1 8.2 High2024-08-13
CVE-2024-41955 Mobile Security Framework (MobSF) has an Open Redirect in Login Redirect — Mobile-Security-Framework-MobSF 5.2 Medium2024-07-31
CVE-2024-39694 Duende IdentityServer Open Redirect vulnerability — IdentityServer 4.7 Medium2024-07-31
CVE-2024-41801 OpenProject packaged installation has Open Redirect Vulnerability in Sign-In in default configuration — openproject 4.7 Medium2024-07-25
CVE-2024-20400 Cisco Expressway Series 安全漏洞 — Cisco TelePresence Video Communication Server (VCS) Expressway 4.7 Medium2024-07-17
CVE-2024-4882 URL Redirection to Arbitrary Site Exists in Sitefinity — Sitefinity 6.1AIMediumAI2024-07-08
CVE-2024-37234 WordPress Academy LMS plugin <= 2.0.4 - Open Redirection vulnerability — Academy LMS 3.5 Low2024-07-06
CVE-2024-5936 Open Redirect in imartinez/privategpt — imartinez/privategpt 6.1AIMediumAI2024-06-27
CVE-2024-4604 Open Redirect in Magarsus Consultancy's SSO — SSO (Single Sign On) 6.1 Medium2024-06-26
CVE-2024-37141 Dell PowerProtect Data Domain 输入验证错误漏洞 — PowerProtect DD 3.5 Low2024-06-26
CVE-2024-24764 October Open Redirect for Administrator Accounts — october 3.5 Low2024-06-26
CVE-2024-4940 Open Redirect in gradio-app/gradio — gradio-app/gradio 6.1 -2024-06-22
CVE-2024-3597 Export WP Page to Static HTML/CSS <= 2.2.2 - Open Redirect — Export WordPress Pages to Static HTML & PDF — Static Site Export 7.1 High2024-06-20
CVE-2024-23442 Kibana open redirect issue — Kibana 6.1 Medium2024-06-14

Vulnerabilities classified as CWE-601 (指向未可信站点的URL重定向(开放重定向)) represent 722 CVEs. The CWE taxonomy describes the weakness; review individual CVEs for product-specific impact.