CVE-2023-46725
Description
FoodCoopShop is open source software for food coops and local shops. Versions starting with 3.2.0 prior to 3.6.1 are vulnerable to server-side request forgery. In the Network module, a manufacturer account can use the `/api/updateProducts.json` endpoint to make the server send a request to an arbitrary host. This means that the server can be used as a proxy into the internal network where the server is. Furthermore, the checks on a valid image are not adequate, leading to a time of check time of use issue. For example, by using a custom server that returns 200 on HEAD requests, then return a valid image on first GET request and then a 302 redirect to final target on second GET request, the server will copy whatever file is at the redirect destination, making this a full SSRF. Version 3.6.1 fixes this vulnerability.
How to fix
- foodcoopshop/foodcoopshop3.6.1 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| foodcoopshop foodcoopshop | 3.2.0 ≤ v ≤ 3.6.0 | — |
| foodcoopshop/foodcoopshopPackagist | 3.2.0 ≤ v < 3.6.1 | 3.6.1 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.