Ad

CVE-2024-36057

CRITICAL CVSS 3.1: 9.8 EPSS 0.14%
Updated Apr 09, 2026
Koha Library
Parameter Value
CVSS 9.8 (CRITICAL)
Affected Versions before 23.05.10
Type CWE-94 (Code Injection)
Vendor Koha Library
Public PoC No

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Privileges Required
None
No privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
High
Complete data leak
Integrity
High
Complete data modification
Availability
High
Complete denial of service

CVSS Vector v3.1

Weakness Type (CWE)