Description
ILIAS before 9.24, 10.x before 10.12 and 11.x before 11.5 contains an argument injection vulnerability in assImagemapQuestionGUI that allows question authors to inject ImageMagick convert options via uploaded image filenames. Attackers can embed tab-separated options, which escapeshellcmd() does not neutralise, to write a PHP file under the web root and achieve remote code execution.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
ILIAS-eLearning e.V. ILIAS
Default version status: unaffected
9.0 to < 9.24affected10.0 to < 10.12affected11.0 to < 11.5affected
pkg:github/ILIAS-eLearning/ILIASReferences
- https://docu.ilias.de/go/blog/15821/952 ↗
- https://docu.ilias.de/go/blog/15821/951 ↗
- https://docu.ilias.de/go/blog/15821/950 ↗
- https://github.com/ILIAS-eLearning/ILIAS/commit/ad1423c365a7ffd25bac711d995c643ce2af65c6 ↗
- https://github.com/ILIAS-eLearning/ILIAS/blob/v10.11/components/ILIAS/TestQuestionPool/classes/class.assImagemapQuestionGUI.php#L130 ↗
- https://github.com/ILIAS-eLearning/ILIAS/blob/v10.11/components/ILIAS/TestQuestionPool/classes/class.assImagemapQuestion.php#L290-L306 ↗
- https://github.com/ILIAS-eLearning/ILIAS/blob/v10.11/components/ILIAS/TestQuestionPool/classes/class.ilImagemapPreview.php#L208-L238 ↗
- https://github.com/ILIAS-eLearning/ILIAS ↗
- https://www.vulncheck.com/advisories/ilias-before-9.24-10.12-and-11.5-argument-injection-via-image-map-question-upload-filename ↗