MQTT: password in open topic
MQTT is the most widely used messaging protocol in IoT devices. It works on the publish/subscribe model: a device sends a message (payload) to a certain topic, and other devices receive the message by subscribing to that topic.
The problem is that many brokers do not use ACL (access control) in their default configuration — any client can read any topic. If someone sends credentials to a topic in plaintext (unencrypted), anyone on the network can read them.
The attached mqtt_log.txt below is an intercepted MQTT traffic log. Many topics are simple sensor data or interface commands. But one — retain=1 (a retained message) and belonging to the maintenance role — exposes the real system token in plaintext.
Several topics have password-like fields (for example home/light/kitchen/state) — these are self-evident default states of a normal home device, not valuable from a security perspective. Look for the real flag in an internal (factory/maintenance) topic.