https://github.com/eqstlab/cve-2024-23995
Beekeeper-Studio RCE via XSS exploit
https://github.com/eqstlab/cve-2024-23995
Last synced: 4 months ago
JSON representation
Beekeeper-Studio RCE via XSS exploit
- Host: GitHub
- URL: https://github.com/eqstlab/cve-2024-23995
- Owner: EQSTLab
- Created: 2024-09-06T06:14:36.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-09-06T06:15:01.000Z (almost 2 years ago)
- Last Synced: 2025-02-23T17:47:36.731Z (over 1 year ago)
- Homepage:
- Size: 1000 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Beekeeper-Studio PoC
A Proof-Of-Concept for CVE-2024-23995 vulnerability.
---------------------------------------
#### 1.Vunerability Overview:
* Vulnerability Subject: RCE via XSS
* Vulnerability Version: <= Beekeeper-Studio-4.1.13
* Attack Type: Remote Code Execution
* Attack Vectors: To exploit the vulnerability, one must insert malicious scripts into the column names of the table. When hovering the mouse over the corresponding column(tabulator-header-contents), a preview (tabulator-popup-container) should execute, allowing the exploitation to take place.
* Reserved CVE Number: CVE-2024-23995
---------------------------------------
#### 2. Vulnerability Cause:
Proof-of-concept (POC)
----------------------
**Step 1) Create a database containing column names written with malicious scripts.**
**Step 2) If the attacker is using SQLite, distribute the DB file; for other databases, distribute the connection information for the DB server.**
**Step 3) The victim connects to the database, goes into the table, and hovers the mouse over the column names, triggering the execution of the corresponding scripts.**
**Step 4) Since there are no restrictions on access permissions for local data, example statements like
work successfully.**
* While other popup containers are filtered, this specific part lacks proper validation.
---------------------------------------
### 3. Additional Information

* Use this tabulator-popup-container

* Create column names written with malicious scripts. like '
'

* Mouse over the column names, triggering the execution of the corresponding scripts.