Aces Loris
LORIS media module vulnerable to remote code execution
LORIS (Longitudinal Online Research and Imaging System) is a self-hosted web application that provides data- and project-management for neuroimaging research. Prior to versions 26.0.5, 27.0.2, and 28.0.0, an authenticated user with sufficient privileges can exploit a path traversal vulnerability to upload a malicious file to an arbitrary location on the server. Once uploaded, the file can be used to achieve remote code execution (RCE). An attacker must be authenticated and have the appropriate permissions to exploit this issue. If the server is configured as read-only, remote code execution (RCE) is not possible; however, the malicious file upload may still be achievable. This problem is fixed in LORIS v26.0.5 and above, v27.0.2 and above, and v28.0.0 and above. As a workaround, LORIS administrators can disable the media module if it is not being used.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 26.0.5
- >= 27.0.0, < 27.0.2
Fixed in 26.0.5, 27.0.2
Mitigation
Upgrade Loris to 26.0.5 or 27.0.2 or later.
References
- Vendor advisory github.com/aces/Loris/security/advisories/GHSA…
- Release notes github.com/aces/Loris/releases/tag/v26.0.5
- Release notes github.com/aces/Loris/releases/tag/v27.0.2
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.