Restaurant Menu and Food Ordering <= 2.4.16 - Missing Authorization to Menu Creation
Strategic Overview
- Status
- Patched in 2.4.17
- Affected Plugin
- Five Star Restaurant Menu and Food Ordering
- Affected Version
<= 2.4.16- CVSS
- 4.3Medium
- Weakness type
- CWE-862 · Missing Authorization
- CVE
CVE-2024-5459
At a glance
CVE-2024-5459 is a medium-severity Missing Authorization vulnerability in the Five Star Restaurant Menu and Food Ordering WordPress plugin, affecting versions <= 2.4.16. It carries a CVSS score of 4.3 (reachable over the network; low attack complexity). The root cause is a missing authorization check on a reachable function. The issue is fixed in version 2.4.17; sites on affected versions should update now. Disclosed June 2024, reported by Lucio Sá.
Vulnerability Overview
The Restaurant Menu and Food Ordering plugin for WordPress is vulnerable to unauthorized creation of data due to a missing capability check on 'add_section', 'add_menu', 'add_menu_item', and 'add_menu_page' functions in all versions up to, and including, 2.4.16. This makes it possible for authenticated attackers, with Subscriber-level access and above, to create menu sections, menus, food items, and new menu pages.
Technical Analysis
The vector marks this flaw as remotely reachable over the network, with low attack complexity — no special timing or configuration is needed, and no interaction from a victim user.
CWE-862: Missing Authorization
Five Star Restaurant Menu and Food Ordering <= 2.4.16 carries this weakness at add_section, and reaching it takes a caller who can reach the endpoint. A missing authorization check means a function is reachable by anyone who can reach the endpoint, because the code never asks whether the caller is allowed to perform the action.
Any user who can reach the endpoint gets to run an action reserved for higher-privileged roles, from reading protected data to changing settings or content. For Five Star Restaurant Menu and Food Ordering the fix is 2.4.17: builds <= 2.4.16 are affected, anything from 2.4.17 onward is not.
Remediation
Update to version 2.4.17, or a newer patched version
How does WordSec protect against this?
Because it turns on account access, WordSec's login security is the relevant layer: role-based two-factor, captcha and brute-force limits raise the cost of getting the account this needs. None of that substitutes for the fix: Five Star Restaurant Menu and Food Ordering 2.4.17 closes this, and updating the plugin is the step that ends it.
- Login Security
- Alerts
External References
Related records
Same weakness class
Other vulnerabilities in Five Star Restaurant Menu and Food Ordering
- 9.8CVE-2023-5340: Five Star Restaurant Menu… PHP Object Injection
CVE-2023-5340 - 9.8CVE-2020-29045: Five Star Restaurant… Arbitrary Object Deserialization
CVE-2020-29045 - 6.4CVE-2024-29089: Five Star Restaurant Menu <= 2.4.14 Stored XSS
CVE-2024-29089 - 4.3CVE-2023-37985: Restaurant Menu and Food Ordering… CSRF
CVE-2023-37985
Vulnerability data © Defiant, Inc., provided under the Wordfence Intelligence T&C