PT-2024-26111 · Lnbits · Lnbits

Fishcakeday

+1

·

Published

2024-06-14

·

Updated

2024-06-17

·

CVE-2024-34694

CVSS v3.1

8.1

High

VectorAV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
Name of the Vulnerable Software and Affected Versions LNbits versions prior to 0.12.6
Description Paying invoices in Eclair that do not get settled within the internal timeout (about 30s) can lead to a payment being considered failed, even though it may still be in flight. This issue can result in a total loss of funds for the node backend. The problem arises when using blocking: true on the API call, leading to a timeout error if a payment does not get settled within the 30s timeout.
Recommendations For versions prior to 0.12.6, update to version 0.12.6 to prevent loss of funds due to unsettled invoices. As a temporary workaround, consider checking the payment status after an error and always assume a payment is still in flight when unsure. Restricting the use of blocking: true on API calls until the issue is resolved can also help minimize the risk of exploitation.

Exploit

Fix

Improper Check for Exceptional Conditions

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2024-34694
GHSA-3J4H-H3FP-VWWW

Affected Products

Lnbits