{"id":"GHSA-47mc-qmh2-mqj4","aliases":["CVE-2024-40400"],"title":"Automad arbitrary file upload vulnerability","description":"An arbitrary file upload vulnerability in the image upload function of Automad v2.0.0 allows attackers to execute arbitrary code via a crafted file.\n\nThe malicious file has to be prepared and uploaded manually by the admin. Usually there is only one admin per site and that is the owner.","severity":"medium","score":6.8,"published":"2024-07-19T21:31:11.000Z","modified":"2024-11-19T05:35:03.224Z","withdrawn":false,"knownExploited":false,"affected":[{"ecosystem":"Packagist","name":"automad/automad","ranges":[{"events":[{"introduced":"0"},{"fixed":"2.0.0-alpha.5"}],"type":"ECOSYSTEM"}],"versions":["1.10.9","2.0.0-alpha.1","2.0.0-alpha.2","2.0.0-alpha.3","2.0.0-alpha.4"],"fixed":["2.0.0-alpha.5"]}],"references":["https://nvd.nist.gov/vuln/detail/CVE-2024-40400","https://github.com/marcantondahmen/automad/issues/106","https://github.com/marcantondahmen/automad/commit/112f070ccf423931c9bb2b36f9a26c345e1ef56e","https://github.com/marcantondahmen/automad"],"sources":[{"name":"OSV","id":"GHSA-47mc-qmh2-mqj4","modified":"2024-11-19T05:35:03.224430Z","url":"https://osv.dev/vulnerability/GHSA-47mc-qmh2-mqj4"}],"assessments":[{"source":"OSV","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H","score":6.8},{"source":"OSV","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","score":8.7}]}