Open Redirect Vulnerability Assessment Report

Open Redirect Vulnerability Assessment Report

An Open Redirect vulnerability was identified that allows users to be redirected to external websites through unvalidated redirect parameters, potentially enabling phishing and abuse of the trusted domain.

Vulnerability:Open Redirect
Platform:Bug Bounty
Difficulty:Beginner
Severity:Low(0.1–3.9)
Tags:
OWASP Top 10Web Application SecuritySecurity TestingVulnerability Assessment
R
Written by Robert
6 min read

Introduction

The assessment identified an Open Redirect vulnerability on target.robert-quintero.com. This vulnerability allows attackers to manipulate redirect parameters and redirect users to attacker-controlled websites.

The issue can be abused to create convincing phishing links using a trusted domain, potentially leading users to malicious websites and increasing the success rate of social engineering attacks.

Assessment Date: November 25, 2024
Target: https://target.robertquintero.me/

Objective

The goal of this security assessment was to identify and evaluate Open Redirect vulnerabilities within the target web application.

The assessment focused on:

  • Identifying unsafe redirect functionality.
  • Testing whether user-controlled URL parameters are properly validated.
  • Evaluating the potential security impact.
  • Providing remediation recommendations.

Findings Overview

The target application is vulnerable to Open Redirect, where user-controlled redirect parameters are accepted without proper validation.

An attacker could abuse this weakness by creating a malicious URL that appears to originate from the trusted domain but redirects victims to an external malicious website.

Open Redirect Exploitation

Vulnerability

Vulnerability Type: Open Redirect

An Open Redirect occurs when an application redirects users to a destination specified by user input without verifying whether the destination is trusted.

Affected URL

text
https://target.robert-quintero.com/

Steps to Reproduce

  1. Navigate to the affected page.
  2. Modify the redirect parameter:
text
https://target.robert-quintero.com/redirect?url=https://attacker.robert-quintero.com
  1. Submit the request.
  2. Observe that the application redirects the user to the external attacker-controlled website.

Impact

This vulnerability may allow attackers to:

  • Create trusted-looking phishing URLs.
  • Redirect users to malicious websites.
  • Perform credential harvesting attacks.
  • Abuse the reputation of the affected domain.

Business Impact

Possible consequences include:

  • Increased phishing success rate.
  • Loss of user trust.
  • Potential exposure of user credentials through malicious websites.

Recommendations & Mitigation

Implement URL Validation

Only allow redirects to approved internal destinations.

Example:

Allowed:

text
/dashboard
/profile
/settings

Blocked:

text
https://attacker.robert-quintero.com

Use a Whitelist Approach

Maintain an approved list of redirect destinations instead of accepting arbitrary URLs from users.

Avoid Direct URL Redirect Parameters

Use internal route identifiers instead of accepting complete URLs.

Example:

Before:

text
redirect=https://example.com/page

After:

text
redirect=dashboard

Proof of Concept (PoC) Evidence

The Proof of Concept demonstrates that:

✅ The application accepts a user-controlled redirect parameter.
✅ The application redirects users without validating the destination.
✅ An attacker can use this behavior to redirect users to external websites.

PoC Example:

text
https://target.robert-quintero.com/redirect?url=https://attacker.robert-quintero.com

Conclusion

The penetration test identified an Open Redirect vulnerability that could be leveraged for phishing and social engineering attacks.

Although this vulnerability does not directly compromise the application server, it can negatively affect users by abusing trust in the affected domain.

Immediate remediation is recommended by implementing strict redirect validation and trusted destination controls.

More Write-ups

Explore more write-ups related to this topic.

Related write-upsView All