{"id":"CVE-2023-46725","state":"PUBLISHED","title":"FoodCoopShop Server-Side Request Forgery vulnerability","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.","publishedAt":"2023-11-02T14:19:42.920Z","updatedAt":"2024-09-12T19:35:43.524Z","severity":{"score":8.1,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["foodcoopshop foodcoopshop"],"affected":[{"vendor":"foodcoopshop","product":"foodcoopshop","versions":[{"version":">= 3.2.0, < 3.6.1","status":"affected"}]}],"references":["https://github.com/foodcoopshop/foodcoopshop/security/advisories/GHSA-jhww-fx2j-3rf7","https://github.com/foodcoopshop/foodcoopshop/pull/972","https://github.com/foodcoopshop/foodcoopshop/commit/0d5bec5c4c22e1affe7fd321a30e3f3a4d99e808","https://pastebin.com/8K5Brwbq"],"weaknesses":["CWE-918"],"ingestedAt":"2026-10-29T20:06:24.729Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2023/46xxx/CVE-2023-46725.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2023-46725","state":"PUBLISHED","datePublished":"2023-11-02T14:19:42.920Z","dateUpdated":"2024-09-12T19:35:43.524Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2023-10-25T14:30:33.751Z"},"containers":{"cna":{"title":"FoodCoopShop Server-Side Request Forgery vulnerability","descriptions":[{"lang":"en","value":"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":[{"vendor":"foodcoopshop","product":"foodcoopshop","versions":[{"version":">= 3.2.0, < 3.6.1","status":"affected"}]}],"references":[{"url":"https://github.com/foodcoopshop/foodcoopshop/security/advisories/GHSA-jhww-fx2j-3rf7","name":"https://github.com/foodcoopshop/foodcoopshop/security/advisories/GHSA-jhww-fx2j-3rf7","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/foodcoopshop/foodcoopshop/pull/972","name":"https://github.com/foodcoopshop/foodcoopshop/pull/972","tags":["x_refsource_MISC"]},{"url":"https://github.com/foodcoopshop/foodcoopshop/commit/0d5bec5c4c22e1affe7fd321a30e3f3a4d99e808","name":"https://github.com/foodcoopshop/foodcoopshop/commit/0d5bec5c4c22e1affe7fd321a30e3f3a4d99e808","tags":["x_refsource_MISC"]},{"url":"https://pastebin.com/8K5Brwbq","name":"https://pastebin.com/8K5Brwbq","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":8.1,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-918","lang":"en","description":"CWE-918: Server-Side Request Forgery (SSRF)","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2023-11-06T16:33:19.544Z"},"source":{"advisory":"GHSA-jhww-fx2j-3rf7","discovery":"UNKNOWN"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/foodcoopshop/foodcoopshop/security/advisories/GHSA-jhww-fx2j-3rf7","name":"https://github.com/foodcoopshop/foodcoopshop/security/advisories/GHSA-jhww-fx2j-3rf7","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://github.com/foodcoopshop/foodcoopshop/pull/972","name":"https://github.com/foodcoopshop/foodcoopshop/pull/972","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/foodcoopshop/foodcoopshop/commit/0d5bec5c4c22e1affe7fd321a30e3f3a4d99e808","name":"https://github.com/foodcoopshop/foodcoopshop/commit/0d5bec5c4c22e1affe7fd321a30e3f3a4d99e808","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://pastebin.com/8K5Brwbq","name":"https://pastebin.com/8K5Brwbq","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T20:53:20.938Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-09-05T18:25:16.341091Z","id":"CVE-2023-46725","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-09-12T19:35:43.524Z"}}]}}}