Skip to main content
← All vulnerabilities
CVE-2024-36057

Koha Library before 23.05.10 fails to sanitize user-controllable filenames prior to unzipping, leading to remote code execution.

Published
Last modified
published
Not listed in CISA KEV
1 proof of concept on GitHub
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: total

  3. Record last updated

Affected versions

  • n/a n/a

    Version range not reported

References 5

gitlab.com

GitHub · hacklantic/Research

koha-community.org

GitHub · hacklantic/CVE-2024-36057