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-2023-3922 URL Redirection to Untrusted Site ('Open Redirect') in GitLab — GitLab 3.0 Low2023-09-29
CVE-2023-4965 phpipam Header redirect — phpipam 2.7 Low2023-09-14
CVE-2023-40306 URL Redirection vulnerability in SAP S/4HANA (Manage Catalog Items and Cross-Catalog search) — SAP S/4HANA (Manage Catalog Items and Cross-Catalog search) 6.1 Medium2023-09-08
CVE-2023-20263 Cisco HyperFlex HX Data Platform 输入验证错误漏洞 — Cisco HyperFlex HX Data Platform 4.7 Medium2023-09-06
CVE-2023-39364 Open redirect in change password functionality in Cacti — cacti 3.5 Low2023-09-05
CVE-2023-39371 StarTrinity Softswitch version 2023-02-16 – Open Redirect (CWE-601) — Softswitch 8.8 High2023-09-03
CVE-2023-1279 URL Redirection to Untrusted Site in GitLab — GitLab 2.6 Low2023-09-01
CVE-2023-39968 Open Redirect Vulnerability in jupyter-server — jupyter_server 4.3 Medium2023-08-28
CVE-2023-41080 Apache Tomcat: Open redirect with FORM authentication — Apache Tomcat 6.1 -2023-08-25
CVE-2022-27861 WordPress Ninja Popups Plugin <= 4.7.5 is vulnerable to Open Redirection — Ninja Popups 4.7 Medium2023-08-10
CVE-2023-30433 IBM Security Verify Access HTTP open redirect — Security Verify Access Docker 6.5 Medium2023-07-19
CVE-2023-3684 LivelyWorks Articart Base64 Encoding de_DE redirect — Articart 3.5 Low2023-07-16
CVE-2023-3568 Open Redirect in alextselegidis/easyappointments — alextselegidis/easyappointments 6.3 Medium2023-07-10
CVE-2023-35948 Novu Open Redirect Vulnerability in Sign-In with GitHub Functionality — novu 5.4 Medium2023-07-06
CVE-2023-3515 Open Redirect in go-gitea/gitea — go-gitea/gitea 6.1 -2023-07-05
CVE-2023-35171 Nextcloud Server vulnerable to open redirect on "Unsupported browser" warning — security-advisories 4.1 Medium2023-06-23
CVE-2023-35029 Liferay Portal 输入验证错误漏洞 — Portal 6.1 Medium2023-06-15
CVE-2023-29307 Open Redirect on AEM Target — Experience Manager 5.4 Medium2023-06-15
CVE-2023-34247 @keystone-6/auth Open Redirect vulnerability — keystone 6.1 Medium2023-06-13
CVE-2023-32551 Landscape Open Redirect — Landscape 6.1 Medium2023-06-06
CVE-2015-10115 WooSidebars Sidebar Manager Converter Plugin class-woosidebars-sbm-converter.php process_request redirect — WooSidebars Sidebar Manager Converter Plugin 4.3 Medium2023-06-05
CVE-2015-10114 WooSidebars Plugin class-woo-sidebars.php enable_custom_post_sidebars redirect — WooSidebars Plugin 4.3 Medium2023-06-05
CVE-2015-10113 WooFramework Tweaks Plugin wooframework-tweaks.php admin_screen_logic redirect — WooFramework Tweaks Plugin 3.5 Low2023-06-05
CVE-2015-10112 WooFramework Branding Plugin wooframework-branding.php admin_screen_logic redirect — WooFramework Branding Plugin 4.3 Medium2023-06-05
CVE-2023-34224 JetBrains TeamCity 输入验证错误漏洞 — TeamCity 4.8 Medium2023-05-31
CVE-2023-32218 Avaya IX Workforce Engagement - CWE-601: URL Redirection to Untrusted Site ('Open Redirect') — IX Workforce Engagement 6.1 Medium2023-05-30
CVE-2023-31245 Snap One OvrC Cloud 存在输入验证错误漏洞 — OvrC Cloud 7.1 High2023-05-22
CVE-2023-32068 URL Redirection to Untrusted Site in XWiki — xwiki-platform 4.7 Medium2023-05-15
CVE-2023-25829 BUG-000155001 - Unvalidated redirect in Portal for ArcGIS. — Portal for ArcGIS 6.1 Medium2023-05-09
CVE-2023-31134 Tauri Open Redirect Vulnerability Possibly Exposes IPC to External Sites — tauri 4.8 Medium2023-05-09

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