| शीर्षक | SourceCodester Clinics Patient Management System 2.0 Open Redirect |
|---|
| विवरण | Unauthenticated Open Redirect Vulnerability was discovered in Sourcecodester's Clinic's Patient Management System - PHP 2.0 via congratulations.php
Affected Project: Sourcecodester Clinic's Patient Management System - PHP 2.0
Official Website: Sourcecodester Clinic's Patient Management System
Version: 2.0
The issue lies in the fact that the $gotoPage variable is taken directly from the $_GET superglobal, which can be easily manipulated by an attacker. By crafting a malicious URL, an attacker can redirect users to any website, including ones that may be used for phishing or other malicious purposes. affected code /congratulation.php
<?php
include './config/connection.php';
$gotoPage = $_GET['goto_page'];
//the goto_page is redirecting everything
$message = $_GET['message'];
header("Location:$gotoPage?message=$message");
?>
POC: http://192.168.95.115/congratulation.php?goto_page=https://example.com |
|---|
| स्रोत | ⚠️ https://github.com/gurudattch/CVEs/blob/main/Sourcecodester-Clinic039;s-Patient-Management-System-Open-Redirect.md |
|---|
| उपयोगकर्ता | guru (UID 74056) |
|---|
| सबमिशन | 04/09/2024 12:28 PM (2 साल पहले) |
|---|
| संयम | 06/09/2024 11:22 PM (2 days later) |
|---|
| स्थिति | स्वीकृत |
|---|
| VulDB प्रविष्टि | 276774 [SourceCodester Clinics Patient Management System 2.0 congratulations.php goto_page Redirect] |
|---|
| अंक | 20 |
|---|