{"affected":[],"cveId":"CVE-2024-36057","cwes":["CWE-94"],"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.","epss":null,"exploits":[],"kev":null,"metrics":[{"score":9.8,"severity":"critical","source":"NVD: 134c704f-9b21-4f2e-91b3-4a467353bcc0","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"}],"modifiedAt":1794168600187,"publishedAt":1775578581390,"references":[{"source":"cve@mitre.org","tags":[],"url":"https://github.com/hacklantic/Research/tree/main/CVE-2024-36057"},{"source":"cve@mitre.org","tags":[],"url":"https://gitlab.com/koha-community/Koha/-/blob/23.05.x/misc/release_notes/release_notes_23_05_10.md"},{"source":"cve@mitre.org","tags":[],"url":"https://gitlab.com/koha-community/Koha/-/blob/23.05.x/misc/release_notes/release_notes_23_05_11.md"},{"source":"cve@mitre.org","tags":[],"url":"https://koha-community.org/koha-22-05-22-released/"}],"remediation":[],"revision":"25cd3ebcd300944a6a12cd84dc516996d4272ec71a49ea6f80e8dfa427f55bb8","sources":[{"modifiedAt":1794168600187,"name":"NVD","retrievedAt":1794183355401,"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-36057"}],"ssvc":{"assessedAt":1775742505337,"automatable":"yes","exploitation":"poc","source":"NVD SSVC: 134c704f-9b21-4f2e-91b3-4a467353bcc0","technicalImpact":"total"},"status":"published","title":"CVE-2024-36057","updatedAt":1794183355401}