{"id":"GHSA-mm6v-68qp-f9fw","aliases":["CVE-2025-25286"],"title":"Crayfish allows Remote Code Execution via Homarus Authorization header","description":"### Impact\n\nRemote code execution may be possible in web-accessible installations of Homarus in certain configurations.\n\n### Patches\n\nThe issue has been patched in `islandora/crayfish:4.1.0`\n\n### Workarounds\n\nThe exploit requires making a request against the Homarus's `/convert` endpoint; therefore, the ability to exploit is much reduced if the microservice is not directly accessible from the Internet, so: Prevent general access from the Internet from hitting Homarus.\n\nConfigure auth in Crayfish to be more strongly required, such that requests with `Authorization` headers that do not validate are rejected before the problematic CLI interpolation occurs.\n\n### References\n\n- XBOW-024-071","severity":"critical","score":9.8,"published":"2025-01-15T22:04:19.000Z","modified":"2025-02-13T16:53:41.898Z","withdrawn":false,"knownExploited":false,"affected":[{"ecosystem":"Packagist","name":"islandora/crayfish","ranges":[{"events":[{"introduced":"0"},{"fixed":"4.1.0"}],"type":"ECOSYSTEM"}],"versions":["0.0.1","0.0.10","0.0.11","0.0.12","0.0.13","0.0.14","0.0.15","0.0.2","0.0.3","0.0.4","0.0.5","0.0.6","0.0.7","0.0.8","0.0.9","0.1.0","0.2.0","0.2.1","1.0.0","1.1.1","2.0.0","2.1.0","3.0.0","4.0.0"],"fixed":["4.1.0"]}],"references":["https://github.com/Islandora/Crayfish/security/advisories/GHSA-mm6v-68qp-f9fw","https://nvd.nist.gov/vuln/detail/CVE-2025-25286","https://github.com/Islandora/Crayfish/commit/64cb4cec688928798cc40e6f0a0e863d7f69fd89","https://github.com/Islandora/Crayfish"],"sources":[{"name":"OSV","id":"GHSA-mm6v-68qp-f9fw","modified":"2025-02-13T16:53:41.898332Z","url":"https://osv.dev/vulnerability/GHSA-mm6v-68qp-f9fw"}],"assessments":[{"source":"OSV","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8}]}