hay-kot mealie
cpe:2.3:a:mealie:mealie:*:*:*:*:*:*:*, +2 more
- 2.2.0
A Broken Object Level Authorization vulnerability has been identified in Hay-Kot Mealie version 2.2.0. This vulnerability allows users to edit their own profiles to gain additional permissions or to change their household affiliation. The issue arises in the API component '/api/users/{user-id}', where users can manipulate profile attributes related to permissions and household IDs, actions typically reserved for administrators.
Exploitation of this vulnerability allows users to escalate their privileges by modifying profile permissions and household associations, enabling unauthorized management of household members and access to shared resources such as recipes and shopping lists.
To reproduce this vulnerability, a user must access their profile editing feature. When the profile is updated, an API call is made to the '/api/users/{user-id}' endpoint. This call can be intercepted and modified to include additional permissions or to change the household ID. Once the API call is sent with the altered data, Mealie will process the request and update the user's profile accordingly, granting them elevated permissions and access to resources from the new household.
Users can update to Mealie version 2.5.0, where this vulnerability has been fixed.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.