Skip to content

Commit 4b564d3

Browse files
committed
posts: disclose historical DoS vulnerability (BIP70)
1 parent 9718761 commit 4b564d3

File tree

1 file changed

+46
-0
lines changed

1 file changed

+46
-0
lines changed
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
---
2+
title: Disclosure of crash due to malicious BIP72 URI (≤ version 0.19.2)
3+
name: blog-disclose-bip70-crash
4+
id: en-blog-disclose-bip70-crash
5+
lang: en
6+
type: advisory
7+
layout: post
8+
9+
## If this is a new post, reset this counter to 1.
10+
version: 1
11+
12+
## Only true if release announcement or security annoucement. English posts only
13+
announcement: 1
14+
15+
excerpt: >
16+
The BIP70 implementation in Bitcoin Core could silently crash when opening a BIP72 URI.
17+
---
18+
19+
Bitcoin-Qt could crash upon opening a [BIP72](https://github.com/bitcoin/bips/blob/master/bip-0072.mediawiki) URI.
20+
21+
This issue is considered **Medium** severity.
22+
23+
## Details
24+
25+
[BIP72](https://github.com/bitcoin/bips/blob/master/bip-0072.mediawiki) extends the BIP21 URI scheme
26+
with an `r` parameter to fetch a payment request from. An attacker could simply point the URL
27+
contained in the `r` parameter to a very large file, for which Bitcoin-Qt would try to allocate
28+
enough memory and crash.
29+
30+
The victim could get tricked into opening a rogue payment request. The large download would happen
31+
in the background with little to no output in the GUI until the application runs out of memory.
32+
33+
## Attribution
34+
35+
Credits go to Michael Ford (Fanquake) for responsibly disclosing the issue and providing a PoC.
36+
37+
## Timeline
38+
39+
- 2019-08-12 Michael Ford reports the bug to Cory Fields and Wladimir Van Der Laan
40+
- 2019-10-16 Michael Ford opens PR [#17165](https://github.com/bitcoin/bitcoin/pull/17165) to get rid of BIP70 support entirely
41+
- 2019-10-26 Michael's PR is merged into Bitcoin Core
42+
- 2020-06-03 Bitcoin Core version 0.20.0 is released
43+
- 2021-09-13 The last vulnerable Bitcoin Core version (0.19.0) goes EOL
44+
- 2024-07-03 Public disclosure
45+
46+
{% include references.md %}

0 commit comments

Comments
 (0)