Lucene search
K

Client Management System 1.1 - 'username' Stored Cross-Site Scripting (XSS)

🗓️ 15 Jun 2021 00:00:00Reported by BHAVESH KAULType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 142 Views

Client Management System 1.1 contains stored cross-site scripting (XSS) vulnerability due to inadequate user data sanitization. Admin login at http://localhost/clientms/admin/index.php using credentials admin/Test@123, visit http://localhost/clientms/admin/admin-profile.php, and input <script>alert(1)</script> in the username field to execute the exploit

Code
# Exploit Title: Client Management System 1.1 - 'username' Stored Cross-Site Scripting (XSS)
# Date: 14 June 2021
# Exploit Author: BHAVESH KAUL
# Vendor Homepage: https://phpgurukul.com
# Software Link: https://phpgurukul.com/client-management-system-using-php-mysql/
# Version: 1.1
# Tested on: Server: XAMPP

# Description #

Client Management System 1.1 is vulnerable to stored cross site scripting because of insufficient user supplied data sanitization. 

# Proof of Concept (PoC) : Exploit #

1) Goto: http://localhost/clientms/admin/index.php
2) Login as admin using test credentials: admin/Test@123
3) Goto: http://localhost/clientms/admin/admin-profile.php
4) Enter the following payload in the user name field: <script>alert(1)</script>
5) Click on Update
6) Our payload is fired and stored

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