Booking Package <= 1.7.20 - Unauthenticated SQL Injection via 'email' Form 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 Booking Package plugin for WordPress is vulnerable to generic SQL Injection via 'email' Form Parameter (form<N>) in all versions up to, and including, 1.7.20 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. The vulnerable REST API endpoint /wp-json/booking-package/v1/request is registered with permission_callback: __return_true and wp_magic_quotes does not apply to REST-sourced $_POST values, meaning single quotes in the payload reach the SQL sink intact without any authentication requirement. The impact of this is severely limited as the vulnerable parameter goes through is_email.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: yes · Technical impact: partial
- Record last updated
Affected versions
- masaakitanaka Booking Package
through 1.7.20
References 10
plugins.trac.wordpress.org
- browser/booking-package/tags/1.7.18/lib/Schedule.php#L9365
- browser/booking-package/tags/1.7.20/lib/Schedule.php#L9365
- browser/booking-package/tags/1.7.20/lib/Schedule.php#L12793
- browser/booking-package/tags/1.7.20/index.php#L4381
- browser/booking-package/tags/1.7.20/index.php#L243
- browser/booking-package/tags/1.7.18/lib/Schedule.php#L12793
- browser/booking-package/tags/1.7.18/index.php#L4381
- browser/booking-package/tags/1.7.18/index.php#L243
- changeset?reponame=&old=3602166%40booking-package&new=3602166%40booking-package