Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2024-36057: n/a

0
Critical
VulnerabilityCVE-2024-36057cvecve-2024-36057
Published: Tue Apr 07 2026 (04/07/2026, 00:00:00 UTC)
Source: CVE Database V5

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.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/15/2026, 12:32:02 UTC

Technical Analysis

CVE-2024-36057 affects Koha Library versions prior to 23.05.10. The vulnerability is due to command injection in the upload-cover-image.pl script, specifically the line executing 'qx/unzip $filename -d $dirname/;' where $filename is user-controlled and not sanitized. This allows an attacker to inject shell metacharacters via malicious filenames inside a .zip archive, leading to remote code execution when the Process Images function is invoked. The CVSS 3.1 base score is 9.8 (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H), reflecting a network attack vector with no privileges or user interaction required and full confidentiality, integrity, and availability impact.

Potential Impact

Successful exploitation results in remote code execution on the affected system with full control, potentially compromising confidentiality, integrity, and availability of the Koha Library server. This can lead to complete system compromise. No known exploits are reported in the wild yet.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, avoid processing untrusted .zip files with the vulnerable upload-cover-image.pl script. Implement manual validation or sandboxing of file extraction processes if possible. Monitor vendor channels for updates and apply patches promptly once released.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
mitre
Date Reserved
2024-05-19T00:00:00.000Z
Cvss Version
null
State
PUBLISHED
Remediation Level
null

Threat ID: 69d52341aaed68159a2ec55a

Added to database: 4/7/2026, 3:31:13 PM

Last enriched: 4/15/2026, 12:32:02 PM

Last updated: 5/22/2026, 12:48:16 AM

Views: 47

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses