Unrestricted Upload of File with Dangerous Type
CVE-2024-5980
Summary
A vulnerability in the /v1/runs API endpoint of "lightning-ai/pytorch-lightning" allows attackers to exploit Path Traversal when extracting "tar.gz" files. When the LightningApp runs with the "plugin_server", attackers can deploy malicious "tar.gz" plugins that embed arbitrary files with Path Traversal vulnerabilities. This can result in arbitrary files being written to any directory in the victim's local file system, potentially leading to Remote Code Execution (RCE). This issue affects versions 1.9.3 through 2.3.2 and 2.4.0.dev20240630.
- LOW
- NETWORK
- HIGH
- UNCHANGED
- NONE
- NONE
- NONE
- HIGH
CWE-434 - Unrestricted Upload of File with dangerous type
'Unrestricted file upload with dangerous type' attacks involve an attacker uploading or transferring files of dangerous types to the server. The severity of such an attack depends upon the execution mechanism and the storage location of the uploaded file. Thus, it may range from simple defacement to arbitrary file execution, and complete system takeover.
References
Advisory Timeline
- Published