Skip to content

Latest commit

 

History

History
36 lines (25 loc) · 1.16 KB

Execution After Redirect - task-info.php.md

File metadata and controls

36 lines (25 loc) · 1.16 KB

SOURCECODESTER / Employee Task Management System - Execution After Redirect task-info.php

Credits

Joshua Lictan (https://github.com/skid-nochizplz/skid-nochizplz)

Vendor Homepage:

https://www.sourcecodester.com/php/17217/employee-management-system-php-and-mysql-free-download.html

Affected Component

/task-info.php

Code

if ($user_id == NULL || $security_key == NULL) {
    header('Location: index.php');
}

Tools

Burp Suite

Proof of Concept

  1. Using Burp, intercept the GET request to /manage-admin.php.

img.png

  1. After capturing the GET request to /manage-admin.php, intercept the response to the request and forward the request.

img_1.png

  1. Change the response HTTP status from "302 Found" to "200 OK" and click forward.

img_2.png img_3.png

  1. Now you can successfully access /manage-admin.php without authentication.

img_4.png