Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2024-8275 PoC — The Events Calendar <= 6.6.4 - Unauthenticated SQL Injection

Source
Associated Vulnerability
Title:The Events Calendar <= 6.6.4 - Unauthenticated SQL Injection (CVE-2024-8275)
Description:The The Events Calendar plugin for WordPress is vulnerable to SQL Injection via the 'order' parameter of the 'tribe_has_next_event' function in all versions up to, and including, 6.6.4 due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query. This makes it possible for unauthenticated attackers to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database. Only sites that have manually added tribe_has_next_event() will be vulnerable to this SQL injection.
Readme
# CVE-2024-8275
CVE-2024-8275 is a critical SQL injection vulnerability discovered in the WordPress plugin The Events Calendar. This vulnerability affects versions up to and including 6.6.4. The issue arises from insufficient escaping of the 'order' parameter in the tribe_has_next_event() function. Because the input is not properly sanitized, unauthenticated attackers can append malicious SQL queries, allowing them to access sensitive information stored in the database.


1- Install Python: Ensure Python 3 is installed. Check with:
python --version


2- Install requests: Run:
pip install requests


3- Install sqlmap (Optional):
git clone --depth 1 https://github.com/sqlmapproject/sqlmap.git


4- Run the script: Save the code as exploit.py and run:
python exploit.py

Run the sqlmap command if generated after a successful exploit. 
I take no responsibility for the use of this script and use at your own risk
File Snapshot

[4.0K] /data/pocs/ed19bf8f82c8da69e77566a93e28d8804c8e2f07 ├── [1.1K] Poc-CVE-2024-8275.py └── [ 919] README.md 0 directories, 2 files
Shenlong Bot has cached this for you
Remarks
    1. It is advised to access via the original source first.
    2. Local POC snapshots are reserved for subscribers — if the original source is unavailable, the local mirror is part of the paid plan.
    3. Mirroring, verifying, and maintaining this POC archive takes ongoing effort, so local snapshots are a paid feature. Your subscription keeps the archive online — thank you for the support. View subscription plans →