Skip to content
Memory corruption Disclosed report Beginner

Monero GUI not linked with /DYNAMICBASE or hardening on windows, no ASLR

The Monero GUI and daemon on Windows are compiled without Address Space Layout Randomisation (ASLR), a standard exploit mitigation. An attacker who finds a memory corruption bug could more easily achieve reliable code execution because memory addresses are predictable.

flxflndy_ Follow

Originally disclosed on HackerOne

  • Triaged in 4 days
  • Fixed in 16 days
  • Disclosed after 16 days

Summary: The monero daemon is compiled and linked without ASLR, at least on windows. This security hardening feature should be enabled in order to make exploiting of this service harder.

Description: See above.

Releases Affected:

  • At least v0.11.1.0 (probably more) / Tested on Windows 8.1

Steps To Reproduce:

  1. Start the monero-gui and monero daemon on windows
  2. Start Process Explorer https://docs.microsoft.com/en-us/sysinternals/downloads/process-explorer
  3. Check ASLR under "select columns"
  4. See that ASLR is not activated for this process.

Supporting Material/References:

  • I've attached a screenshot of the sysinternals tool on my machine.

Impact

Exploiting code reuse attacks is alot easier without this feature. This might impact future bug bounty payouts because people can't exploit reliable bugs to get code execution :)

Attachments

monero-aslr.png
monero-aslr.png From the original on HackerOne

The original report as published on HackerOne, by flxflndy_. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

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

Impact

Exploiting code reuse attacks is easier without ASLR, which could make future memory corruption bugs more reliably exploitable for code execution.

What the attacker needed

Windows target; Attacker needs a memory corruption bug

The fix

The Windows build should be configured to enable ASLR.

How it was found

  1. Start the Monero GUI and daemon on Windows.
  2. Open Process Explorer.
  3. Enable the ASLR column in Process Explorer.
  4. Observe that ASLR is not active for the process.

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.

ASLR is a security feature that randomises where programs and their data sit in memory, so attackers cannot easily predict addresses. Without it, if an attacker finds a bug that lets them write to memory, they can more reliably redirect the program to run their own code. This report says the Monero wallet and daemon on Windows lack this protection.

What is Memory corruption?

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.

More from Monero

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Memory corruption

The lesson behind this report.

Native code reads or writes memory it should not: overflows, use-after-free, type confusion. The core of browser, kernel and parser bugs.