An issue was discovered in CutePHP CuteNews 2.1.2
No fixed version listed yet.Check the vendor advisory. References ↓
The flaw is in the avatar upload handling of CutePHP CuteNews 2.1.2, specifically the avatar_file field in the profile area (index.php?mod=main&opt=personal), where the size check on $imgsize in /core/modules/dashboard.php is ineffective. An attacker who can reach that upload function can alter a file's header content, such as by using a GIF header, to bypass the control and achieve code execution on the server.
Official description · CVE.org
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.)
- Exploited
- Yes, in VulnCheck KEV
- Reports
- 0
- Tactics
- 0/15
Exploitation timelineDated milestones for a CVE: when it was disclosed, when exploit code became public, when exploitation was confirmed, and when threat reports named it.
First seen exploited 20 months after disclosure. Public exploit code (Exploit-DB) was available 7 days before disclosure.
- Public exploit codeExploit-DB7 days before
- Disclosedday 0
- First seen exploitedVulnCheck KEV evidence+20 mo