islandora/crayfish · Security
Crayfish allows Remote Code Execution via Homarus Authorization header
- GHSA ID
- GHSA-mm6v-68qp-f9fw
- CVE ID
- CVE-2025-25286
- Severity
- critical
- Published
- Updated
- CVSS
- 9.8 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CVSS v3
- 9.8 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Description
Impact
Remote code execution may be possible in web-accessible installations of Homarus in certain configurations.
Patches
The issue has been patched in islandora/crayfish:4.1.0
Workarounds
The 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.
Configure 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.
References
- XBOW-024-071
CWEs
- CWE-150 · Improper Neutralization of Escape, Meta, or Control Sequences
- CWE-157 · Failure to Sanitize Paired Delimiters