Moquette
Moquette: Missing Authorization in io.moquette:moquette-broker
Moquette is a lightweight Java MQTT broker. Prior to 0.18.1, PostOffice.publishWill publishes a client-controlled Last Will message through publish2Subscribers without invoking the authorizator.canWrite check used by normal PUBLISH paths. When anonymous access is enabled and topic ACLs restrict writes, a remote client can set an ACL-protected topic as the Last Will Topic during CONNECT and perform an abnormal client disconnect, causing the broker to inject attacker-controlled messages into a topic for which the client lacks write permission. This issue is fixed in version 0.18.1.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 0.18.1
Fixed in 0.18.1
Mitigation
Upgrade moquette to 0.18.1 or later.
References
- Vendor advisory github.com/moquette-io/moquette/security/advis…
- Patch github.com/moquette-io/moquette/commit/e23df01…
- Patch github.com/moquette-io/moquette/commit/f5a323f…
1 more
- Release notes github.com/moquette-io/moquette/releases/tag/v…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.