CVE-2023-43801: Path traversal in Arduino Create Agent
Impact The vulnerability affects the endpoint /v2/pkgs/tools/installed and the way it handles plugin names supplied as user input. A user who has the ability to perform HTTP requests to the localhost interface, or is able to bypass the CORS configuration, can delete arbitrary files or folders belonging to the user that runs the Arduino Create Agent via a crafted HTTP DELETE request. Further details are available in the references.
Fixed Version 1.3.3
References The issue was reported by Nozomi Networks Labs. Further details on the issue are available at the following URL: https://www.nozominetworks.com/blog/security-flaws-affect-a-component-of-the-arduino-create-cloud-ide
Other sources
Arduino Create Agent is a package to help manage Arduino development. This vulnerability affects the endpoint /v2/pkgs/tools/installed and the way it handles plugin names supplied as user input. A user who has the ability to perform HTTP requests to the localhost interface, or is able to bypass the CORS configuration, can delete arbitrary files or folders belonging to the user that runs the Arduino Create Agent via a crafted HTTP DELETE request. This issue has been addressed in version 1.3.3. Users are advised to upgrade. There are no known workarounds for this issue.
Affected Software
Event History
Frequently Asked Questions
What is the impact of CVE-2023-43801?
The vulnerability allows an attacker to delete arbitrary files or folders on the system.
Which endpoint is affected by CVE-2023-43801?
The vulnerability affects the `/v2/pkgs/tools/installed` endpoint.
How can an attacker exploit CVE-2023-43801?
An attacker with the ability to perform HTTP requests to the localhost interface or bypass the CORS configuration can exploit this vulnerability.
What is the severity of CVE-2023-43801?
The severity of CVE-2023-43801 is medium with a severity score of 6.1.
How can I fix CVE-2023-43801?
To fix CVE-2023-43801, update the affected software to version 1.3.3 of `github.com/arduino/arduino-create-agent`.