Skip to main content

Incomplete Identification of Uploaded File Variables (PHP)

CVE-2024-52305

Severity Medium
Score 4.8/10

Summary

UnoPim is an open-source Product Information Management (PIM) system built on the Laravel framework. A vulnerability exists in the "Create User" process, allowing the creation of a new admin account with an option to upload a profile image. An attacker can upload a malicious "SVG" file containing an embedded script. When the profile image is accessed, the embedded script executes, leading to the potential theft of session cookies.

  • LOW
  • NETWORK
  • LOW
  • CHANGED
  • REQUIRED
  • HIGH
  • LOW
  • NONE

CWE-616 - Incomplete Identification of Uploaded File Variables (PHP)

The PHP application uses an old method for processing uploaded files by referencing the four global variables that are set for each file (e.g. $varname, $varname_size, $varname_name, $varname_type). These variables could be overwritten by attackers, causing the application to process unauthorized files.

Advisory Timeline

  • Published