{"id":"CVE-2023-46725","aliases":["CVE-2023-46725","GHSA-jhww-fx2j-3rf7"],"related":[],"kind":"vulnerability","state":"published","title":"FoodCoopShop Server-Side Request Forgery vulnerability","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"There is a potential SSRF vulnerability in foodcoopshop. Since there is no security policy on your Github, I tried to use the emails to contact you.\n\nThe potential issue is in the Network module, where a manufacturer account can use the /api/updateProducts.json endpoint to make the server send a request to arbitrary host.\nFor example, use\n```\ndata[data][0][remoteProductId]=352&data[data][0][image]=http://localhost:8888/\n```\nwill make the server send a request to localhost:8888. This means that it can be used as a proxy into the internal network where the server is.\n\nTo make matters worse, the checks on valid image is not enough. There is time of check time of use issue there.\nFor 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\nat the redirect destination, making this a full SSRF.\n(An example python server that can do this is at https://pastebin.com/8K5Brwbq This will make the server download whatever at the redirect target)\n\nYou can check https://cheatsheetseries.owasp.org/cheatsheets/Server_Side_Request_Forgery_Prevention_Cheat_Sheet.html for more information on SSRF, their impact and how to properly fix it.\n\nRegards","format":"markdown","source":"ghsa"},{"lang":"es","text":"FoodCoopShop es un software de código abierto para cooperativas de alimentos y tiendas locales. Las versiones que comienzan con 3.2.0 anteriores a 3.6.1 son vulnerables a server-side request forgery. En el módulo de Network, una cuenta de fabricante puede usar el endpoint `/api/updateProducts.json` para hacer que el servidor envíe una solicitud a un host arbitrario. Esto significa que el servidor se puede utilizar como proxy en la red interna donde se encuentra el servidor. Además, las comprobaciones de una imagen válida no son adecuadas, lo que genera un problema de tiempo de verificación de uso. Por ejemplo, al usar un servidor personalizado que devuelve 200 en solicitudes HEAD, luego devuelve una imagen válida en la primera solicitud GET y luego una redirección 302 al destino final en la segunda solicitud GET, el servidor copiará cualquier archivo que esté en el destino de la redirección, haciendo Esta es una SSRF completa. La versión 3.6.1 corrige esta vulnerabilidad.","source":"nvd"}],"published":"2023-11-02T14:19:42.920Z","modified":"2026-06-17T06:31:25.440Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","score":8.1,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","score":8.1,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","score":8.1,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.5,"rating":"HIGH"}],"cwes":["CWE-367","CWE-918"],"affected":[{"ranges":[{"version":">= 3.2.0, < 3.6.1","status":"affected"}],"vendor":"foodcoopshop","product":"foodcoopshop","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"3.2.0","status":"affected","fixed":"3.6.1"}],"ecosystem":"Packagist","package":"foodcoopshop/foodcoopshop","purl":"pkg:composer/foodcoopshop/foodcoopshop","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"3.2.0","lastAffected":"3.6.0"}],"vendor":"foodcoopshop","product":"foodcoopshop","cpe":"cpe:2.3:a:foodcoopshop:foodcoopshop:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/foodcoopshop/foodcoopshop/security/advisories/GHSA-jhww-fx2j-3rf7","tags":["vendor-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/foodcoopshop/foodcoopshop/pull/972","tags":["patch","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/foodcoopshop/foodcoopshop/commit/0d5bec5c4c22e1affe7fd321a30e3f3a4d99e808","tags":["patch","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://pastebin.com/8K5Brwbq","tags":["not-applicable","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-46725","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/foodcoopshop/foodcoopshop","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2024-09-05T18:25:16.341Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-46725","url":"https://www.cve.org/CVERecord?id=CVE-2023-46725","licence":"CVE Terms of Use","modified":"2024-09-12T19:35:43.524Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-jhww-fx2j-3rf7","url":"https://github.com/advisories/GHSA-jhww-fx2j-3rf7","licence":"CC-BY-4.0","modified":"2024-02-16T08:23:53.682Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-46725","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-46725","licence":"Public domain","modified":"2026-06-17T06:31:25.440Z"}],"updatedAt":"2026-11-25T22:58:29.979Z","epss":{"score":0.00563,"percentile":0.48203,"date":"2026-12-01T12:00:22.000Z"}}