Facebook Google Plus Twitter LinkedIn YouTube RSS Menu Search Resource - BlogResource - WebinarResource - ReportResource - Eventicons_066 icons_067icons_068icons_069icons_070

SQL Injection in My Calendar WordPress Plugin

High

Synopsis

A researcher at Tenable discovered an unauthenticated SQL Injection (SQLi) vulnerability in the My Calendar WordPress plugin.

The SQLi exists because of a lack of validation of parameters 'from'  and 'to' used in the 'my_calendar_rest_route' function which is accessible without authentication.

Proof Of Concept:

The vulnerability can be reproduced by performing the following GET HTTP request against a WordPress instance using a vulnerable version of the plugin and noticing the delayed response :

https://WORDPRESS_INSTANCE/?rest_route=/my-calendar=/my-calendar/v1/events&from=1'+AND+(SELECT+1+FROM+(SELECT(SLEEP(5)))a)+AND+'a'%3d'a

Solution

The issue was fixed in My Calendar version 3.4.22

Disclosure Timeline

17 November 2023 - Tenable first attempt to notify vendor
17 November 2023 - Vendor requests more information
18 November 2023 - Vendor acknowledges an issue in code and provides a patch
20 November 2023 - Tenable provides additional details on the vulnerability
21 November 2023 - Vendor requests more information about a potential fix
21 November 2023 - Tenable provides additional details on the potential fix
21 November 2023 - Vendor gives details about the fix release date
22 November 2023 - Tenable acknowledges the expected release date
27 November 2023 - Security patch released

All information within TRA advisories is provided “as is”, without warranty of any kind, including the implied warranties of merchantability and fitness for a particular purpose, and with no guarantee of completeness, accuracy, or timeliness. Individuals and organizations are responsible for assessing the impact of any actual or potential security vulnerability.

Tenable takes product security very seriously. If you believe you have found a vulnerability in one of our products, we ask that you please work with us to quickly resolve it in order to protect customers. Tenable believes in responding quickly to such reports, maintaining communication with researchers, and providing a solution in short order.

For more details on submitting vulnerability information, please see our Vulnerability Reporting Guidelines page.

If you have questions or corrections about this advisory, please email [email protected]

Risk Information

CVE ID: CVE-2023-6360
Tenable Advisory ID: TRA-2023-40
Credit:
Joshua Martinelle
CVSSv3 Base / Temporal Score:
8.6 / 8.2
CVSSv3 Vector:
AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
Affected Products:
My Calendar WordPress Plugin < 3.4.22
Risk Factor:
High

Advisory Timeline

November 30, 2023 - Initial release
December 1, 2023 - Added CVSS temporal score