CVE-2023-43802 Path traversal in Arduino Create Agent
Attacker can escalate privileges to the user running the service via path traversal in the upload endpoint.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2023-43802?
CVE-2023-43802 is a high-severity path traversal vulnerability in arduino-create-agent, published on 18 Oct 2023. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
Arduino Create Agent is a package to help manage Arduino development. This vulnerability affects the endpoint `/upload` which handles request with the `filename` parameter. A user who has the ability to perform HTTP requests to the localhost interface, or is able to bypass the CORS configuration, can escalate their privileges to those of the user running the Arduino Create Agent service via a crafted HTTP POST request. This issue has been addressed in version `1.3.3`. Users are advised to upgrade. There are no known workarounds for this vulnerability.
Weakness: CWE-22
Which versions are affected by CVE-2023-43802?
2 open source packages ship an affected version, including github.com/arduino/arduino-create-agent. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
github.com/arduino/arduino-create-agent Go | All versions | 1.3.3 |
github.com/arduino/arduino-create-agent Go | All versions | 1.3.3 |
Products include Arduino Create Agent.
How do I fix CVE-2023-43802?
Upgrade github.com/arduino/arduino-create-agent to 1.3.3 or later.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2023-43802 being exploited?
There is no known exploitation of CVE-2023-43802 in the wild and no public exploit code.
Other vulnerabilities in arduino-create-agent
Sources
Also known as GHSA-75j7-w798-cwwx.