URL Redirection to Untrusted Site (‘Open Redirect’)

Property
Languagejavascript
Severityhigh
CWECWE-601: URL Redirection to Untrusted Site (‘Open Redirect’)
OWASPA01:2021 - Broken Access Control
Confidence LevelHigh
Impact LevelMedium
Likelihood LevelHigh

Description

The application uses user-supplied values from the URL (such as query parameters or hash fragments) to set the destination for redirects (e.g., via location.href or location.replace) without properly validating them. This allows attackers to control redirect targets and potentially inject malicious URLs.

URL Redirection to Untrusted Site (‘Open Redirect’)

Property
Languagejavascript
Severitylow
CWECWE-601: URL Redirection to Untrusted Site (‘Open Redirect’)
OWASPA01:2021 - Broken Access Control
Confidence LevelLow
Impact LevelMedium
Likelihood LevelLow

Description

Using Object.assign() to merge user-controlled data into objects can let attackers overwrite sensitive fields or introduce unexpected data, especially if the input comes directly from sources like JSON.parse(). This can expose or modify data in ways you did not intend.

URL Redirection to Untrusted Site (‘Open Redirect’)

Property
Languagephp
Severitymedium
CWECWE-601: URL Redirection to Untrusted Site (‘Open Redirect’)
OWASPA05:2017 - Broken Access Control
Confidence LevelMedium
Impact LevelLow
Likelihood LevelMedium

Description

Redirecting users to the current request URL using ‘header(“Location: " . $_SERVER[“REQUEST_URI”])’ can allow attackers to craft URLs that cause your site to redirect users to external, potentially malicious domains. This happens if the request path begins with double slashes (e.g., ‘//attacker.com’).

URL Redirection to Untrusted Site (‘Open Redirect’)

Property
Languagepython
Severitylow
CWECWE-601: URL Redirection to Untrusted Site (‘Open Redirect’)
OWASPA01:2021 - Broken Access Control
Confidence LevelLow
Impact LevelMedium
Likelihood LevelLow

Description

User-supplied data from the request is directly passed to Flask’s redirect() function without proper validation. This allows attackers to craft URLs that redirect users to external, potentially malicious sites.

Impact

Exploiting this vulnerability can let attackers trick users into leaving your site for phishing or malicious sites, undermining user trust and enabling theft of credentials or sensitive information. It may also facilitate other attacks such as session hijacking or social engineering.

URL Redirection to Untrusted Site (‘Open Redirect’)

Property
Languagepython
Severitymedium
CWECWE-601: URL Redirection to Untrusted Site (‘Open Redirect’)
OWASPA01:2021 - Broken Access Control
Confidence LevelMedium
Impact LevelMedium
Likelihood LevelLow

Description

User-supplied input from the request is being used directly in a redirect without validation. This allows attackers to craft URLs that redirect users to malicious sites, leading to an open redirect vulnerability.

Impact

If exploited, attackers can trick users into visiting untrusted or malicious websites by sending them links to your application that perform unauthorized redirects. This can facilitate phishing attacks, loss of user trust, and may expose users to further security threats.

URL Redirection to Untrusted Site (‘Open Redirect’)

Property
Languageruby
Severitymedium
CWECWE-601: URL Redirection to Untrusted Site (‘Open Redirect’)
OWASPA01:2021 - Broken Access Control
Confidence LevelMedium
Impact LevelMedium
Likelihood LevelMedium

Description

The application performs redirects based on user input without proper validation or sanitization. This allows attackers to craft URLs that redirect users to malicious sites or unauthorized pages.

Impact

Exploiting this vulnerability, attackers can trick users into trusting harmful websites (phishing) or bypass access controls to reach restricted parts of your app, potentially leading to data theft or account compromise.

URL Redirection to Untrusted Site (‘Open Redirect’)

Property
Languageruby
Severitymedium
CWECWE-601: URL Redirection to Untrusted Site (‘Open Redirect’)
OWASPA01:2021 - Broken Access Control
Confidence LevelMedium
Impact LevelMedium
Likelihood LevelMedium

Description

The code passes user-controlled input (like params or cookies) directly to the redirect_to method without restricting the redirect to internal paths. This allows attackers to supply a URL that could redirect users to external, potentially malicious websites.

Impact

If exploited, attackers can craft links that cause your application to redirect users to phishing sites or malicious domains, leading to loss of user trust, possible credential theft, and facilitating social engineering attacks against your users.

Use After Free

Property
Languagec
Severitymedium
CWECWE-416: Use After Free
Confidence LevelLow
Impact LevelHigh
Likelihood LevelLow

Description

This vulnerability occurs when code tries to access or use a variable after it has already been freed with free(). Using freed memory can cause unpredictable program behavior and errors.

Impact

An attacker could exploit this flaw to crash the application, corrupt data, or even execute malicious code by controlling the freed memory. This can lead to severe security breaches, including data leaks and system compromise.