CVE-2024-25626 Yocto Project Security Advisory - BitBake/Toaster
Remote attackers can execute arbitrary shell commands on the Yocto BitBake Toaster server via crafted HTTP requests when the Toaster UI is enabled.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2024-25626?
CVE-2024-25626 is a high-severity command injection vulnerability in Linuxfoundation Yocto, published on 19 Feb 2024. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
Yocto Project is an open source collaboration project that helps developers create custom Linux-based systems regardless of the hardware architecture. In Yocto Projects Bitbake before 2.6.2 (before and included Yocto Project 4.3.1), with the Toaster server (included in bitbake) running, missing input validation allows an attacker to perform a remote code execution in the server's shell via a crafted HTTP request. Authentication is not necessary. Toaster server execution has to be specifically run and is not the default for Bitbake command line builds, it is only used for the Toaster web based user interface to Bitbake. The fix has been backported to the bitbake included with Yocto Project 5.0, 3.1.31, 4.0.16, and 4.3.2.
Weakness: CWE-78
Which versions are affected by CVE-2024-25626?
It affects 1 product.
Products include Linuxfoundation Yocto.
How do I fix CVE-2024-25626?
No fix has been published for CVE-2024-25626 yet. Limit exposure of the affected software until one is available.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is CVE-2024-25626 being exploited?
There is no known exploitation of CVE-2024-25626 in the wild and no public exploit code.
Other vulnerabilities in Linuxfoundation Yocto
Sources
Also known as GHSA-75xw-78mm-72r4.