Register for the AI for Security Summit: Join Figma, Perplexity & Wiz

CVE-2024-0818
Paddle vulnerability analysis and mitigation

Overview

An arbitrary file overwrite vulnerability via path traversal was discovered in paddlepaddle/paddle versions before 2.6. The vulnerability was identified on January 21st, 2024, and was assigned CVE-2024-0818. The issue affects the download function in paddle.dataset.common module, which allows attackers to exploit path traversal through the module_name parameter (Huntr Report).

Technical details

The vulnerability exists in the _check_exists_and_download function within paddle.dataset.common. While the function is designed to restrict file operations to the /home/USERNAME/.cache/paddle/dataset directory, it can be bypassed by injecting '../' into the module_name parameter, enabling path traversal. The vulnerability has been assigned a Critical severity rating with a CVSS score of 9.1, characterized by network attack vector, low attack complexity, no privileges required, and no user interaction needed (Huntr Report).

Impact

The vulnerability can lead to several severe consequences. Attackers could potentially gain SSH access by injecting RSA keys into authorized_keys files. On web servers, it could enable remote code execution through webshell uploads in PHP or JSP environments, or facilitate Cross-site Scripting (XSS) through HTML file uploads. Additionally, the vulnerability can impact system availability by allowing attackers to overwrite critical configuration files and source code (Huntr Report).

Exploitability

The vulnerability is exploitable by manipulating the module_name parameter in the _check_exists_and_download function. A proof of concept demonstrates that an attacker can write files to arbitrary locations by using path traversal sequences. If an attacker can control the url and md5 parameters, they can also determine the contents of the overwritten files (Huntr Report).

Mitigation and workarounds

Users are advised to upgrade to paddlepaddle/paddle version 2.6 or later, which contains fixes for this vulnerability (Huntr Report).

Additional resources


SourceThis report was generated using AI

Related Paddle vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2024-0917CRITICAL9.8
  • Paddle logoPaddle
  • paddlepaddle
NoNoMar 07, 2024
CVE-2024-0818CRITICAL9.1
  • Paddle logoPaddle
  • paddlepaddle
NoNoMar 07, 2024
CVE-2024-0815HIGH8.8
  • Paddle logoPaddle
  • paddlepaddle
NoYesMar 07, 2024
CVE-2024-0817HIGH7.8
  • Paddle logoPaddle
  • paddlepaddle
NoYesMar 07, 2024
CVE-2024-1603HIGH7.5
  • Paddle logoPaddle
  • paddlepaddle
NoNoMar 23, 2024

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management