要点
- CVE-2024-52305 是影响 unopim/unopim, unopim (webkul) 的中危 (CVSS 4.8)漏洞。
- 未来 30 天内被利用的概率(EPSS):0.20%,高于 9.5% 的漏洞。
- 修复:升级到 0.1.5 或更高版本。
Description
Summary
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.
Details
- Login as admin
- Go to Create User
- Fill up everything in the registration form then upload SVG image as a profile picture
- In SVG image, add script tag to prepare for XSS attack
- Complete the Create User process
- Right click at the image to obtain image URL address
- XSS triggered
PoC
The below link is a private YouTube video for PoC.
https://youtu.be/5j8owD0--1A
Impact
The stored XSS can lead to session hijacking and privilege escalation, effectively bypassing any CSRF protections in place.
NVD description
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. This vulnerability is fixed in 0.1.5.
Running one of these products? Scan your site to see whether it exposes a vulnerable version.
Scan my site free