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
Unknown
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/07/2026, 15:49:05 UTC

Technical Analysis

The vulnerability in Koha Library prior to version 23.05.10 involves improper sanitization of user-supplied filenames during the unzip operation in the upload-cover-image.pl script. Specifically, the command line invocation 'qx/unzip $filename -d $dirname/;' is vulnerable to command injection because the filename parameter can contain shell metacharacters controlled by an attacker. Exploitation requires uploading a crafted .zip file with malicious filenames and triggering the 'Process Images' function, which executes the vulnerable command, potentially allowing remote code execution on the server.

Potential Impact

Successful exploitation of this vulnerability can lead to remote code execution on the affected system, allowing an attacker to execute arbitrary commands with the privileges of the application process. This can result in full system compromise, data theft, or further attacks within the network. There is no indication of known exploits in the wild at this time.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Users should upgrade Koha Library to version 23.05.10 or later once available. Until a patch is applied, avoid processing untrusted .zip files or disable the image processing functionality that triggers this vulnerability. Implement input validation and sanitization on filenames before unzipping to mitigate command injection risks.

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/7/2026, 3:49:05 PM

Last updated: 4/8/2026, 12:32:49 AM

Views: 5

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