Potential Vulnerability in Lightning Backends: BOLT-11 'Payment Hash' Does Not Commit to Payment

Someone is reportedly attempting to exploit recently reported vulnerability that may still be present on various Lightning services.

Potential Vulnerability in Lightning Backends: BOLT-11 'Payment Hash' Does Not Commit to Payment
  • "In short, the attacker was able to insert a bolt-11 payment hash of payment A into a different payment, creating a malicious invoice B that can trick the backend into believing that B == A."
  • "The mitigation is quite simple. Backends should either use self-generated unique "checking id's" for looking up internal payments or use additional checks to make sure that the invoice details have not been messed around with (e.g., asserting amount(A) == amount(B))."

Twitter Post / Archive
Vulnerability Post / Archive