Skip to content
DoS Advisory Intermediate CVE-2017-12119

CPP-Ethereum JSON-RPC Denial Of Service Vulnerabilities

Multiple JSON-RPC APIs in cpp-ethereum fail to handle exceptions when converting large integer parameters, causing the node to abort. A remote attacker can send a crafted JSON request to crash the client, resulting in denial of service.

Marcin 'Icewall' Noga Follow

Originally disclosed on Cisco Talos

High 7.5 View original

An exploitable unhandled exception vulnerability exists in multiple APIs of CPP-Ethereum’s JSON-RPC. Specially crafted JSON requests can cause a unhandled exception resulting in denial of service.

Marcin 'Icewall' Noga, 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

Impact

A remote attacker could crash the Ethereum node, causing denial of service; the report demonstrates this on the default APIs and those enabled with the admin switch.

What the attacker needed

JSON-RPC server reachable over network; For some APIs, --admin-via-http enabled

How it was found

  1. Start the cpp-ethereum node with the JSON-RPC server enabled.
  2. Send a JSON-RPC request to a vulnerable method with an integer parameter larger than the allowed range.
  3. Observe the node abort with an uncaught exception.

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.

The Ethereum client has a feature that lets other programs control it over the network using JSON messages. Some of these messages include numbers, and if a number is too large, the program does not handle the error properly and simply crashes. This means anyone who can reach that network port can stop the node from working.

What is DoS?

A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.

More by Marcin 'Icewall' Noga

View all

146 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.

Denial of service

The lesson behind this report.

A request that exhausts resources or crashes a component. Many programs forbid testing it; reports usually show it from code, not by attacking.