Digital Asset
Intelligence
Theme

Search 3CBlock

News, exchanges, regulatory intelligence, reviews and Voices.

BTCPay Server Patches Five Nginx Flaws Allowing Remote Code Execution

Add us on Google

Summary: The self-hosted Bitcoin payment software urges operators to install Nginx version 1.31.9 after CERT-EU warned the vulnerabilities could allow remote code execution without authentication.

Crypto editorial illustration by 3CBlock
Illustration: 3CBlock

BTCPay Server has issued an emergency update to address five security flaws in Nginx, the web server software that routes incoming traffic to its payment application. The developers behind the self-hosted Bitcoin payment platform urged operators to install the patch as soon as possible to mitigate potential risks.

The update installs Nginx version 1.31.9, replacing the vulnerable versions previously bundled with the software. According to a Wednesday advisory from the European Union’s cybersecurity response team, CERT-EU, the identified flaws could allow attackers to remotely run malicious code on vulnerable servers without logging in. This type of vulnerability poses a significant threat to self-hosted infrastructure, as it bypasses standard authentication mechanisms.

While researchers have demonstrated how to exploit one of the five vulnerabilities, CERT-EU stated that no attacks involving any of the flaws had been reported as of Wednesday. Despite the lack of active exploitation reports, the severity of the potential remote code execution capability necessitated an immediate response from the BTCPay development team.

BTCPay Server outlined specific steps for operators to secure their installations. Users can install the fix directly through the maintenance settings within the software or by updating their Docker installation. For those utilizing node platforms that bundle BTCPay Server, the project advised waiting for those platforms to make the update available. Additionally, the project provided a temporary workaround for operators who are unable to update their systems immediately, ensuring some level of protection while patches are deployed.

This emergency update occurs against the backdrop of two earlier security incidents involving BTCPay Server, both of which involved a separate vulnerability that attackers exploited to steal cryptocurrency. In August, attackers exploited a flaw to obtain credentials for Lightning Network nodes and steal funds. That incident prompted BTCPay to temporarily restrict public remote connections to Lightning Network Daemon (LND) software and automatically regenerate macaroon credentials in version 2.4.2.

Subsequently, in November, BTCPay reported thefts from Bitcoin and Litecoin hot wallets on outdated software. The project stated that attackers had used a different method to exploit the same August flaw, highlighting the persistent risks associated with unpatched systems. These recent events underscore the critical importance of maintaining up-to-date software in the cryptocurrency infrastructure sector, where vulnerabilities can lead to direct financial losses.

The current Nginx vulnerabilities are distinct from the previous LND-related issues, focusing instead on the web server layer that fronts the BTCPay application. By addressing these flaws promptly, BTCPay Server aims to prevent potential compromises that could affect the integrity and availability of payment processing for merchants and users relying on the open-source platform.