Skip to content
RCE Advisory Advanced CVE-2024-43488

Visual Studio Code extension for Arduino Remote Code Execution Vulnerability (CVE-2024-43488)

The Visual Studio Code extension for Arduino lacked authentication for a critical function, allowing an unauthenticated attacker to achieve remote code execution over the network. The extension has since been deprecated and Microsoft states the vulnerability is fully mitigated.

Ahmad Khan Follow

Originally disclosed on Microsoft

Critical 8.8 View original

Description

Missing authentication for critical function in Visual Studio Code extension for Arduino allows an unauthenticated attacker to perform remote code execution through network attack vector.

FAQ

Why are there no links to an update or instructions with steps that must be taken to protect from this vulnerability? This vulnerability has already been fully mitigated by Microsoft. There is no action for users of this service to take. The purpose of this CVE is to provide further transparency. Please see Toward greater transparency: Unveiling Cloud Service CVEs for more information.

FAQ

Where do I find the update for Visual Studio Code extension for Arduino? Microsoft is not planning on fixing this vulnerability in Visual Studio Code extension for Arduino as the extension has been deprecated. The deprecation was announced here: Arduino (deprecated) . Microsoft recommends that customers use Arduino IDE software.

Visual Studio Code

Visual Studio Code

Microsoft

Microsoft

Customer Action Required

No

The original report as published on the Microsoft Security Response Center, by Ahmad Khan. Images and videos are our own copies; raw HTML is shown as text. View it on Microsoft Security Response Center.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely a critical function in the extension was exposed without any authentication check, letting network users invoke it directly.

Impact

An unauthenticated attacker on the network could execute arbitrary code on a machine running the extension; Microsoft says the issue is fully mitigated because the extension is deprecated.

What the attacker needed

Network access to the extension; extension installed (now deprecated)

The fix

The extension was deprecated and Microsoft is not planning a fix, recommending users switch to the Arduino IDE instead.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

This is a short advisory about a flaw in a code editor add-on for Arduino. A critical part of the add-on could be used without proving who you are, so someone on the network could run their own code on the victim's machine. The add-on has been retired, so the problem is no longer present.

What is RCE?

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.

More from Microsoft

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Remote code execution

The lesson behind this report.

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.