PT-2024-24936 · Pyload · Pyload

Zhcy2018

·

Published

2024-04-24

·

Updated

2026-05-09

·

CVE-2024-32880

CVSS v3.1

9.1

Critical

VectorAV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions pyload (affected versions not specified)
Description An authenticated user can achieve remote code execution by changing the download folder and uploading a crafted template to that location. This is possible through the '/json/add package' endpoint using the add file parameter to upload a malicious file. The issue is triggered via the '/render/{filename}' endpoint, where the render() function processes the uploaded file, leading to Server-Side Template Injection (SSTI)—a vulnerability where an attacker injects malicious code into a template that is then executed on the server.
Recommendations At the moment, there is no information about a newer version that contains a fix for this vulnerability. Restrict access to the '/json/add package' and '/render/{filename}' endpoints to minimize the risk of exploitation.

Exploit

Unrestricted File Upload

Weakness Enumeration

Related Identifiers

CVE-2024-32880
GHSA-3F7W-P8VR-4V5F

Affected Products

Pyload