Bitcoin Core Client UPnP Library Vulnerability and Solution

Bitcoin Core Client UPnP Library Vulnerability and Solution

Summarize

  1. Note for users of older versions of the Bitcoin Core client: you will need to disable the " Map port using UPNP " checkbox under "Options" -> "Network" in the UI (see image above)

  2. And add upnp=0 in your bitcoin.conf file

  3. Add -upnp=0 to the command line options

Please also upgrade Bitcoin Core to at least 0.10.3 or 0.11.1 (release cycle in progress). These versions will upgrade the library to a non-buggy version and also disable UPnP to prevent this issue from happening in the future.

More Information

MiniUPnP library versions prior to 1.9.20151008 are vulnerable to a buffer overflow in the XML parser. If UPnP is enabled, they are vulnerable.

Details of the vulnerability can be found here: http://talosintel.com/reports/TALOS-2015-0035/

The vulnerability has been confirmed to target startups that run a malicious UPnP service on the local network, causing their applications to crash.

This only applies to distributed executables (clients), for self-built executables UPnP is disabled by default.

Bitcoin Core versions 0.10.3 through 0.11.1, and the upcoming 0.12.0, will ship with the new version of the library, but will no longer enable the feature by default.

No need to be nervous

The Bitcoin Core executable has Address Space Layout Randomization (ASLR), Stack Overflow Protection (SSP), and De-Execution Stack and Heap (DEP) enabled. In other words, it is difficult to perform remote code operations or leak private keys through this vulnerability. However, it is recommended that users still need to upgrade and it is best to disable UPnP as soon as possible.

Manual Port Forwarding

With UPnP turned off, your node will still connect to the other 8 peers on the Bitcoin network, receiving new blocks and transactions. However, it will not accept incoming connections from other peers unless you manually enable port forwarding on your router. If you wish to do this (it is not necessary), follow this tutorial.

----

Original text: https://bitcoin.org/en/alert/2015-10-12-upnp-vulnerability
Author: bitcoin.org
Compiled by: Satuoxi
Editor: Satuoxi
Source (translation): Babbitt Information


<<:  BiNet Technology releases 14nm mining machine design and parameters

>>:  Avalon A5 pre-sale ends, prototype to be released soon

Blog    

Recommend

See your wealth and poverty through your palm

Hands are the part of the body that people use to...

Why do people who are popular with dogs have great virtue?

Although dogs are very close to humans, this is o...

Does a short wisdom line mean you are not smart?

The wisdom line is also called the head line or t...

What does it mean when the forehead glows?

What does it mean and what does it represent when...

Dark circles under the eyes indicate a fierce look on a woman's face

For girls, dark circles are the biggest enemy of ...

The fate of women with thick earlobes

Nowadays, many people have a certain understandin...

Coin Zone Trends: Bitcoin Price Trends Based on Big Data This Week (2016-09-30)

Insufficient funds on the market may cause signif...

Zhangqiu sees how much money you can make in this life

Zhangqiu sees how much money you can make in this...

allow! Five types of palm lines that indicate good fortune for men

Your destiny is in your own hands. We can infer a...

MDEX CTO SKY talks about the value capture of dual-chain deployment

On April 13, SKY, CTO of MDEX, the largest applic...

Public Chain: Community and Ecosystem

Baozou Commentary : Just like the hard fork execu...