Dear Bambu Lab Users,
Last week we received an abnormal connection alert from the MQTT service, which indicated that a small number of Client accounts had generated a large number of failed subscription actions in a short period of time. After a detailed analysis, we found that more than 10 user accounts had established over 2000 MQTT Client connections in client_id starting with different “nodered_”, with the most accounts having over 1000 simultaneous connections. While maintaining a high number of connections, these Clients also repeatedly disconnected/reconnected/subscribed in cycles of nearly 1 minute. In the following days, these abnormal Clients and accounts maintained a daily increase of over 2000 connections.
Through further research, we suspect that such abnormal connections come from Home Assitant applications developed based on NodeRed low-code tools, which are developed by unofficial third-party organizations or individuals. Due to our limited understanding of NodeRed’s technology, we can only speculate that there are bugs in the MQTT connection logic, which led to the occurrence of the exception. As we are unsure of the specific application that caused the exception, we cannot directly notify the relevant developers for modification.
Finally, considering the threat of high-frequency connections/reconnections and the ultra-high number of connections per account to the service carrying capacity, in order to ensure the rights and interests of the vast majority of regular users, we temporarily adopted a short-term ban measure for accounts with more than 50 concurrent connections, with a short-term ban period of 24 hours to 7 days.
During the ban period, the corresponding account cannot connect to the MQTT server through official or third-party Client software. The corresponding Client will not be able to remotely control the printer or view printer status information through the cloud, but can still initiate printing through Banbu Studio or Banbu Handy. After the ban period ends, the account will resume normal connection. If an exception occurs again, it will still be banned.
As a long-term MQTT service security measure, we are developing a single account MQTT service maximum connection limit function, which is expected to be launched around August.
Until then, we recommend everyone to avoid using third-party apps or services that integrate in the Bambu Lab MQTT service, to avoid potential temporary bans caused by them.
We are unable to give more insight on how the ban will look like in third-party software, but in Bambu Handy, there will be an infinite loading circle in the Devices tab.
SD Card or LAN Mode printing is unaffected by this temporary ban and you will still be able to send prints via Bambu Studio, but no additional remote interaction, camera access or metrics reporting will work.
This incident once again reminds us that there are still shortcomings in cyber security features implemented and the way connections work.
In the future, we will continue to enhance cyber security and ensure the safe and stable use of our products and services by users through technical means.
Thank you for your understanding in this matter