Arbitrary file upload in CuteNews - CVE-2019-11447
Published: April 22, 2019 / Updated: October 18, 2021
Vulnerability details
The vulnerability allows a remote authenticated user to execute arbitrary code.
An issue was discovered in CutePHP CuteNews 2.1.2. An attacker can infiltrate the server through the avatar upload process in the profile area via the avatar_file field to index.php?mod=main&opt=personal. There is no effective control of $imgsize in /core/modules/dashboard.php. The header content of a file can be changed and the control can be bypassed for code execution. (An attacker can use the GIF header for this.)
Affected software
How to mitigate CVE-2019-11447
Links to Public Exploits and PoC-codes
- Exploit #6898 - CuteNewsRCE (Using curl to exploit CVE-2019-11447 ) (October 18, 2021)
- Exploit #5681 - CuteNews 2.1.2 - Remote Code Execution (June 17, 2021)
- Exploit #5232 - cve-2019-11447 (CutePHP Cute News 2.1.2 RCE PoC) (March 22, 2021)
- Exploit #5217 - CVE-2019-11447_CuteNews-AvatarUploadRCE (Exploit Code for CVE-2019-11447 aka CuteNews 2.1.2 Avatar upload RCE (Authenticated)) (March 18, 2021)
- Exploit #4712 - CVE-2019-11447 (Exploits CuteNews 2.1.2 via poor file upload checks used when uploading an avatar image leading to RCE.) (October 18, 2020)
- Exploit #4591 - CVE-2019-11447-POC (CuteNews 2.1.2 - CVE-2019-11447 Proof-Of-Concept) (September 11, 2020)