Impact
A generic SQL injection flaw exists in Tourfic, a WordPress travel booking plugin, through the post_id parameter used by the wp_ajax_nopriv_tf_room_availability AJAX handler. The lack of parameter escaping allows an unauthenticated attacker to append arbitrary SQL statements to the query, enabling extraction of database contents.
Affected Systems
The flaw affects the Tourfic plugin from Themefic, in all releases up to and including version 2.22.7. No later versions are mentioned as vulnerable within the current advisory.
Risk and Exploitability
The CVSS score of 7.5 indicates high severity, and the EPSS score is currently unavailable, while the vulnerability is not yet listed in CISA’s KEV catalog. Attackers can exploit the flaw by sending crafted requests to the unauthenticated AJAX endpoint, using the publicly exposed nonce to authenticate the request, and then injecting arbitrary SQL to extract information from the database. This enables unauthorized disclosure of data stored in the WordPress database.
OpenCVE Enrichment