Description
CodeIgniter4 before 4.7.5 has an upload validation bypass: the is_image and mime_in rules accept filenames whose trailing dots conceal a PHP extension, and these rules and ext_in accept a PHP extension before the final image extension. Attackers can upload such files to achieve remote code execution when applications keep client-supplied filenames in a web directory that executes PHP.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| codeigniter4 | CodeIgniter4 | < 4.7.5 | 4.7.5 |