Local command execution via shell-invoked wget
Published Mar 7, 2024 · Updated Feb 13, 2025
Command injection in PaddlePaddle 2.6.0 and earlier allows local users to execute arbitrary commands through a crafted download URL. The paddle.utils.download._wget_download function interpolates the supplied URL and output path into a wget command and launches it with subprocess.Popen using shell=True. The caller must reach the wget download method with controlled input; successful exploitation runs commands with the privileges of the hosting Python process.
Summary
What happened
Command injection in PaddlePaddle 2.6.0 and earlier allows local users to execute arbitrary commands through a crafted download URL. The paddle.utils.download._wget_download function interpolates the supplied URL and output path into a wget command and launches it with subprocess.Popen using shell=True. The caller must reach the wget download method with controlled input; successful exploitation runs commands with the privileges of the hosting Python process.
The record
- CVE
- CVE-2024-0815
- Published
- Mar 7, 2024
- Updated
- Feb 13, 2025
- Vendor
- PaddlePaddle
- Product
- PaddlePaddle
- Classifications
- CWE-78, T1059
- Attack vector
- local
- Privileges
- unauthenticated
Timeline
How it unfolded
- Mar 7, 2024CVE publishedPublication date reported by the CVE source.
- Feb 13, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=2.6.0
- Affected versionversion=unspecified <=latest
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- huntr command-injection proof of conceptproof of concept · unverified
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo