Koha Library before 23.05.10 fails to sanitize user-controllable filenames prior to unzipping, leading to remote code execution. The line "qx/unzip $filename -d $dirname/;" in upload-cover-image.pl is vulnerable to command injection via shell metacharacters because input data can be controlled by an attacker and is directly included in a system command, i.e., an attack can occur via malicious filenames after uploading a .zip file and clicking Process Images.
Metrics
Affected Vendors & Products
References
History
Tue, 07 Apr 2026 18:00:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Description | Koha Library before 23.05.10 fails to sanitize user-controllable filenames prior to unzipping, leading to remote code execution. The line "qx/unzip $filename -d $dirname/;" in upload-cover-image.pl is vulnerable to command injection via shell metacharacters because input data can be controlled by an attacker and is directly included in a system command, i.e., an attack can occur via malicious filenames after uploading a .zip file and clicking Process Images. | |
| References |
|
|
Status: PUBLISHED
Assigner: mitre
Published:
Updated: 2026-04-07T15:16:24.213Z
Reserved: 2024-05-19T00:00:00.000Z
Link: CVE-2024-36057
No data.
Status : Received
Published: 2026-04-07T16:16:21.390
Modified: 2026-04-07T16:16:21.390
Link: CVE-2024-36057
No data.
OpenCVE Enrichment
No data.