Debian Codegraph @

www/posts/2017/05/security-advisory-cve-2017-7650.md

raw symbols SCIP
1 <!--
2 .. title: Security advisory: CVE-2017-7650
3 .. slug: security-advisory-cve-2017-7650
4 .. date: 2017-05-29 12:41:48
5 .. tags: Security,Releases
6 .. category:
7 .. link:
8 .. description:
9 .. type: text
10 -->
11
12 A vulnerability exists in Mosquitto versions 0.15 to 1.4.11 inclusive known as
13 [CVE-2017-7650].
14
15 Pattern based ACLs can be bypassed by clients that set their username/client id
16 to '#' or '+'. This allows locally or remotely connected clients to access MQTT
17 topics that they do have the rights to. The same issue may be present in third
18 party authentication/access control plugins for Mosquitto.
19
20 The vulnerability only comes into effect where pattern based ACLs are in use,
21 or potentially where third party plugins are in use.
22
23 The issue is fixed in Mosquitto 1.4.12, which has just been released. Patches
24 for older versions are available at <https://mosquitto.org/files/cve/2017-7650>
25
26 The fix addresses the problem by restricting access for clients with a '#',
27 '+', or '/' in their username or client id. '/' has been included in the list
28 of characters disallowed because it also has a special meaning in a topic and
29 may represent an additional risk. The restriction placed on clients is that
30 they may not receive or send messages that are subject to a pattern based ACL
31 check, nor any message that is subject to a plugin check.
32
33 Thanks to Artem Zinenko from HackerDom CTF team for finding this vulnerability
34 and responsibly reporting it.
35
36 Complete list of fixes addressed in version 1.4.12:
37
38 # Broker
39
40 * Fix mosquitto.db from becoming corrupted due to client messages being
41 persisted with no stored message. Closes [#424].
42 * Fix bridge not restarting properly. Closes [#428].
43 * Fix uninitialised memory in `gets_quiet` on Windows. Closes [#426].
44 * Fix building with `WITH_ADNS=no` for systems that don't use glibc. Closes
45 [#415].
46 * Fixes to readme.md.
47 * Fix deprecation warning for OpenSSL 1.1. PR [#416].
48 * Don't segfault on duplicate bridge names. Closes [#446].
49 * Fix [CVE-2017-7650].
50
51 [CVE-2017-7650]: http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-7650
52 [#415]: https://github.com/eclipse/mosquitto/issues/415
53 [#416]: https://github.com/eclipse/mosquitto/issues/416
54 [#424]: https://github.com/eclipse/mosquitto/issues/424
55 [#428]: https://github.com/eclipse/mosquitto/issues/428
56 [#426]: https://github.com/eclipse/mosquitto/issues/426
57 [#446]: https://github.com/eclipse/mosquitto/issues/446