Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

github логотип

GHSA-xr3m-6gq6-22cg

Опубликовано: 28 янв. 2025
Источник: github
Github: Прошло ревью
CVSS3: 8.1

Описание

Pimcore Authenticated Stored Cross-Site Scripting (XSS) Via Search Document

Summary

A Stored Cross-Site Scripting (XSS) vulnerability in PIMCORE allows remote attackers to inject arbitrary web script or HTML via the PDF upload functionality. This can result in the execution of malicious scripts in the context of the user's browser when the PDF is viewed, leading to potential session hijacking, defacement of web pages, or unauthorized access to sensitive information.

Details

The vulnerability is present in the PDF upload functionality of the PIM Core Upload module. When a user uploads a PDF file, the application fails to properly sanitize the content, allowing embedded scripts to be executed when the PDF is viewed. The affected code is located in the file handling and rendering logic of the PDF upload feature.

PoC

  1. Log in as Administrator image

  2. Hover to Assets image

  3. Right click and click "Add Asset(s) > upload files image

  4. Upload malicious pdf image

  5. Click on search and select document image

  6. copy the path and open to a new tab

https://demo.pimcore.fun/admin/Sample C

image

  1. XSS PDF can be access without authentication.

image

Image showing no cookies indicator that there are no session currently in

image

Impact

This is a Stored Cross-Site Scripting (XSS) vulnerability. It impacts any user who views the malicious PDF, potentially leading to session hijacking, defacement of web pages, or unauthorized access to sensitive information. The severity is high due to the potential for significant impact on confidentiality and integrity.

Пакеты

Наименование

pimcore/pimcore

composer
Затронутые версииВерсия исправления

>= 11.4.2, < 11.5.3

11.5.3

EPSS

Процентиль: 24%
0.00079
Низкий

8.1 High

CVSS3

Дефекты

CWE-79

Связанные уязвимости

CVSS3: 2.4
nvd
около 1 года назад

A vulnerability classified as problematic was found in Pimcore 11.4.2. Affected by this vulnerability is an unknown functionality of the component Search Document. The manipulation leads to basic cross site scripting. The attack can be launched remotely. The exploit has been disclosed to the public and may be used.

EPSS

Процентиль: 24%
0.00079
Низкий

8.1 High

CVSS3

Дефекты

CWE-79