Crayfish allows Remote Code Execution via Homarus Authorization header
Critical severity
GitHub Reviewed
Published
Jan 15, 2025
in
Islandora/Crayfish
•
Updated Jan 15, 2025
Description
Published to the GitHub Advisory Database
Jan 15, 2025
Reviewed
Jan 15, 2025
Last updated
Jan 15, 2025
Impact
What kind of vulnerability is it? Who is impacted?
Remote code execution may be possible in web-accessible installations of Homarus in certain configurations.
Patches
Has the problem been patched? What versions should users upgrade to?
The issue has been patched in
islandora/crayfish:4.1.0
Workarounds
Is there a way for users to fix or remediate the vulnerability without upgrading?
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
Are there any links users can visit to find out more?
References