Skip to content
Info disclosure Advisory Advanced CVE-2024-38257

Microsoft Windows 10 AllJoyn Router Service information disclosure vulnerability

The AllJoyn Router Service in Windows 10 fails to initialise a reset packet buffer, causing it to send 36 bytes of uninitialised stack memory to a remote sender. An unauthenticated attacker can trigger this by sending a malformed ARDP connection request, potentially disclosing sensitive process memory.

A member Follow

Originally disclosed on Cisco Talos

Medium 5.3 View original

An information disclosure vulnerability exists in the AllJoyn Router Service in Microsoft Windows 10 version 10.0.19041.4170 and prior. During the initiation of an ARDP session, the service can send a reset packet that includes information from the address space of the process.

a member, on Cisco Talos

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

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

The compiler optimised out the initialisation of a local buffer because the buffer was never read after being written, and the code then sent a different, uninitialised structure to the socket.

Impact

An unauthenticated remote attacker could obtain up to 36 bytes of uninitialised stack memory from the AllJoyn Router Service process, which may contain sensitive information.

What the attacker needed

AllJoyn Router Service running or activatable; Network access to UDP port 9955

The fix

The code should be corrected so that the reset packet buffer is properly initialised before being sent, for example by ensuring the intended buffer is used and not optimised away.

How it was found

  1. Activate the AllJoyn Router Service by accessing the named pipe.
  2. Send a UDP packet to port 9955 with an ARDP header that has an incorrect version field.
  3. The service attempts to accept the connection, fails validation, and calls SendRst.
  4. SendRst sends an uninitialised 36-byte buffer to the sender, leaking stack memory.

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 program sends data over the network, it should fill the buffer with the correct bytes first. Here, the code meant to fill the buffer was optimised away by the compiler, so the program sent whatever was left in memory from earlier operations. This can leak small pieces of private data from the program's memory to anyone who asks in the right way.

What is Info disclosure?

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.

More by A member

View all

110 more disclosed reports, best first.

More from Cisco Talos

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Information disclosure

The lesson behind this report.

Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.