Lucene search
K

Companymaps 8.0 Cross Site Scripting

🗓️ 04 May 2023 00:00:00Reported by Lucas NokiType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 241 Views

Companymaps 8.0 Reflected Cross Site Scripting vulnerability

Related
Code
ReporterTitlePublishedViews
Family
0day.today
Companymaps 8.0 Cross Site Scripting Vulnerability
4 May 202300:00
zdt
Circl
CVE-2023-29808
24 Jan 202516:04
circl
CNNVD
Companymaps 跨站脚本漏洞
12 May 202300:00
cnnvd
CVE
CVE-2023-29808
12 May 202300:00
cve
Cvelist
CVE-2023-29808
12 May 202300:00
cvelist
EUVD
EUVD-2023-33346
3 Oct 202520:07
euvd
NVD
CVE-2023-29808
12 May 202301:15
nvd
OSV
CVE-2023-29808
12 May 202301:15
osv
Prion
Cross site scripting
12 May 202301:15
prion
Positive Technologies
PT-2023-22426 · Unknown · Vogtmh Cmaps
12 May 202300:00
ptsecurity
Rows per page
`# Exploit Title: Reflected Cross Site Scripting  
  
- Google Dork:  
- Date: 27.04.2023  
- Exploit Author: Lucas Noki (0xPrototype)  
- Vendor Homepage: https://github.com/vogtmh  
- Software Link: https://github.com/vogtmh/cmaps  
- Version: 8.0  
- Tested on: Mac, Windows, Linux  
- CVE : CVE-2023-29808  
  
*Description:*  
  
The vulnerability found is Reflected Cross Site Scripting. When the `/index.php?map=overview&findme=` endpoint is hit with a request where the "findme" parameter contains a malicious payload we have the possibility to perform an XSS attack. This happens because the input isn't sanitized.  
  
*Steps to reproduce:*  
  
1. Clone the repository and install the application  
2. Send a maliciously crafted payload via the "findme" parameter to the following endpoint: /index.php?map=overview&findme=  
3. The payload used is: ";alert(document.cookie)//  
4. Simply visiting the complete URL: http://IP/index.php?map=overview&findme=";alert(document.cookie)// is enough. Now an alertbox should pop up with your current cookie value. <img src="Screenshot 2023-05-03 at 17.56.59.png" alt="Screenshot 2023-05-03 at 17.56.59" style="zoom:50%;" />  
  
Special thanks goes out to iCaotix who greatly helped me in getting the environment setup as well as debugging my payload.  
`

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