Skip to content
Crypto Advisory Advanced CVE-2018-8119

Azure IoT SDK Spoofing Vulnerability (CVE-2018-8119)

The Azure IoT Device Provisioning AMQP Transport library for C# and Java, and the C SDK on Windows, improperly validated certificates over AMQP. An attacker who could perform a man-in-the-middle attack could impersonate the provisioning server.

Cristian Pop Follow

Originally disclosed on Microsoft

Description

A spoofing vulnerability exists for the C# and Java SDKs in the Azure IoT Device Provisioning AMQP Transport library which improperly validates certificates over the AMQP protocol. The same vulnerability exists for the C SDK in the Azure IoT Device library running on Windows devices. An attacker who successfully exploited this vulnerability could impersonate a server used during the provisioning process. To exploit this vulnerability, an attacker would need to perform a man-in-the-middle (MitM) attack on the network that provisioning was taking place. This security update addresses the vulnerability by correcting how the AMQP Transport library validates certificates.

Azure

Azure

The original report as published on the Microsoft Security Response Center, by Cristian Pop of Azure IoT. 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 the AMQP transport library did not correctly verify the server's certificate during the TLS handshake.

Impact

An attacker able to man-in-the-middle the network could impersonate the provisioning server; the text does not say what data could be read or changed.

What the attacker needed

Attacker can man-in-the-middle the network; device uses affected SDK during provisioning

The fix

The vulnerability was fixed by a security update that corrects how the AMQP Transport library validates certificates.

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.

When a device connects to a server, it checks a digital certificate to confirm it is talking to the real server. Here, that check was flawed, so someone sitting on the network could pretend to be the server. They could then intercept or alter the provisioning conversation.

What is Crypto?

Encryption, signatures, randomness or certificate checks that do not protect what they claim to.

More by Cristian Pop

View all

2 more disclosed reports, best first.

More from Microsoft

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Cryptographic weaknesses

The lesson behind this report.

Encryption, signatures, randomness or certificate checks that do not protect what they claim to.