.. / CVE-2022-0658

Exploit for CommonsBooking < 2.6.8 - SQL Injection (CVE-2022-0658)

Description:

The plugin does not sanitise and escape the location parameter of the calendar_data AJAX action (available to unauthenticated users) before it is used in dynamically constructed SQL queries, leading to an unauthenticated SQL injection.

Nuclei Template

View the template here CVE-2022-0658.yaml

Validate with Nuclei

echo "$URL" | nuclei -t ~/nuclei-templates/http/cves/2022/CVE-2022-0658.yaml
Copy

References:

https://wordpress.org/plugins/commonsbooking/
https://wpscan.com/vulnerability/d7f0805a-61ce-454a-96fb-5ecacd767578
https://github.com/cyllective/CVEs
https://nvd.nist.gov/vuln/detail/CVE-2022-0658