GHSA-mm6v-68qp-f9fw
Crayfish allows Remote Code Execution via Homarus Authorization header
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| Packagist | islandora/crayfish | < 4.1.0 | 4.1.0 |
Details
As written in the advisory (Markdown source, shown as plain text).
### 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
References
External links from the advisory. They lead to third-party sites.