Eclair patches a browser attack that could send commands to your Lightning node

0


Eclair, ACINQ’s Bitcoin Lightning node software, released v0.14.4 on Oct. 15 to block malicious webpages from issuing authenticated node commands through an operator’s browser.

The exposure depends on an enabled Eclair API that the operator’s browser can reach, with HTTP Basic authentication already cached in that browser. Eclair’s node API can read node state, open and close channels, and send and receive payments.

Related Reading

Unpatched Eclair Bitcoin Lightning nodes could crash again every time they restart

Eclair’s v0.14.4 release notes explain how cached authentication lets a malicious webpage submit a plain HTML form to the node’s API. The browser attaches the saved credentials automatically. The attacker cannot read the response, but the authenticated command still reaches the node.

Eclair v0.14.4 explainer: an enabled browser-reachable API and cached Basic authentication can permit forged form commands; Origin-bearing requests now receive HTTP 403, browser interfaces need a backend, and authentication plus loopback binding remain essential.

Browser interfaces need a backend

The patch returns HTTP 403 before the API route runs whenever a request carries an Origin header, regardless of its value.

The Catalyst

Daily Newsletter

Know what’s moving crypto.

Start with the stories that matter. Get the context behind the headlines and a clear view of what to watch next.

The restriction also affects legitimate browser interfaces, including those hosted at the same origin as the API. Those frontends now need an intermediary backend between the browser and Eclair.

Related Reading

Core Lightning patches critical security flaws and a Bitcoin payment bug

Ordinary command-line access continues. The maintainers say curl and eclair-cli do not send the Origin header, so their normal API requests are unaffected.

The Origin check still leaves authentication and network restrictions essential. A non-browser client can omit the header, so its absence does not establish that a request is authorized. Eclair maintainer pm47 says the API should remain bound to loopback, restricting network access to the local machine.

The browser fix merged on Sept. 15 in pull request #3380 and is included in v0.14.4 alongside the funding-fee and signer repairs CryptoSlate covered on Oct. 12.

Related Reading

Eclair merges fixes for Lightning flaws that could burn Bitcoin in fees

Maintainers recommend upgrading and say operators can stop Eclair, install the update and restart without closing their Lightning channels.



Source link

You might also like
Leave A Reply

Your email address will not be published.