Description
The K2 article gallery upload path accepts a zip/tar archive, extracts it under `/media/k2/galleries/<id>/`, and only renames image files (gif/jpg/jpeg/png/webp) to safe names — non-image files (including `.php`) are extracted as-is and remain executable via direct HTTP access.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| getk2.org | K2 extension for Joomla | 1.0-2.26 | — |
References
- https://www.getk2.org/ product