Appointment Booking Calendar <= 1.6.9.27 - Unauthenticated SQL Injection via 'append_where_sql' Parameter
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
- Exploitation: none
- Automatable: yes
- Technical impact: partial
Summary
The Appointment Booking Calendar — Simply Schedule Appointments Booking Plugin plugin for WordPress is vulnerable to blind SQL Injection in all versions up to, and including, 1.6.9.27. This is due to the `db_where_conditions` method in the `TD_DB_Model` class failing to prevent the `append_where_sql` parameter from being passed through JSON request bodies, while only checking for its presence in the `$_REQUEST` superglobal. This makes it possible for unauthenticated attackers to append arbitrary SQL commands to queries and extract sensitive information from the database via the `append_where_sql` parameter in JSON payloads granted they have obtained a valid `public_token` that is inadvertently exposed during the booking flow.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: yes · Technical impact: partial
- Record last updated
Affected versions
- croixhaug Appointment Booking Calendar — Simply Schedule Appointments Booking Plugin
through 1.6.9.27
References 10
plugins.trac.wordpress.org
- browser/simply-schedule-appointments/trunk/includes/lib/td-util/class-td-db-model.php#L1019
- browser/simply-schedule-appointments/tags/1.6.9.21/includes/lib/td-util/class-td-db-model.php#L1019
- browser/simply-schedule-appointments/trunk/includes/lib/td-util/class-td-db-model.php#L1025
- browser/simply-schedule-appointments/tags/1.6.9.21/includes/lib/td-util/class-td-db-model.php#L1025
- browser/simply-schedule-appointments/trunk/includes/class-appointment-model.php#L1340
- browser/simply-schedule-appointments/tags/1.6.9.21/includes/class-appointment-model.php#L1340
- browser/simply-schedule-appointments/trunk/includes/class-appointment-model.php#L1413
- browser/simply-schedule-appointments/tags/1.6.9.21/includes/class-appointment-model.php#L1413
- changeset/3475885/simply-schedule-appointments/trunk/includes/lib/td-util/class-td-db-model.php