Vulnerability · Published Nov 2, 2023 · Assigned by GitHub_M

CVE-2023-46725FoodCoopShop Server-Side Request Forgery vulnerability

High 8.1

In plain English

A high-severity server-side request forgery in foodcoopshop from foodcoopshop. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 47% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)8.1High
Exploit odds (30 days)0.6%top 53.0% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Packagistfoodcoopshop/foodcoopshop3.6.1GHSA-jhww-fx2j-3rf7

Affected products (as reported)

VendorProductVersions
foodcoopshop foodcoopshop >= 3.2.0, < 3.6.1

Weakness: CWE-918 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N

References