Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. foodcoopshop/foodcoopshop
  4. ›
  5. CVE-2023-46725

CVE-2023-46725: Server-Side Request Forgery (SSRF)

November 2, 2023 (updated November 9, 2023)

FoodCoopShop is open source software for food coops and local shops. Versions prior to 3.6.1 is 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.

References

  • github.com/advisories/GHSA-jhww-fx2j-3rf7
  • github.com/foodcoopshop/foodcoopshop/commit/0d5bec5c4c22e1affe7fd321a30e3f3a4d99e808
  • github.com/foodcoopshop/foodcoopshop/pull/972
  • github.com/foodcoopshop/foodcoopshop/security/advisories/GHSA-jhww-fx2j-3rf7
  • nvd.nist.gov/vuln/detail/CVE-2023-46725
  • pastebin.com/8K5Brwbq

Code Behaviors & Features

Detect and mitigate CVE-2023-46725 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 3.2.0 up to 3.6.0

Fixed versions

  • 3.6.1

Solution

Upgrade to version 3.6.1 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-918: Server-Side Request Forgery (SSRF)

Source file

packagist/foodcoopshop/foodcoopshop/CVE-2023-46725.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:29 +0000.