Summary: if you have SSL enabled in UnrealIRCd then please upgrade your OpenSSL/LibreSSL libraries (*NIX) or download the new installer (Windows only).
Two high impact vulnerabilities were found in OpenSSL and LibreSSL.
CVE-2016-2107 is described as follows: A MITM attacker can use a padding oracle attack to decrypt traffic when the connection uses an AES CBC cipher and the server support AES-NI. Note that to exploit this an attacker needs to be able to intercept & modify packets between the client and server. See the OpenSSL security advisory for technical details (note that CVE-2016-2107 is the 2nd issue in the advisory).
When UnrealIRCd is compiled with SSL/TLS support it uses the OpenSSL/LibreSSL library and is therefore affected by this issue. This affects +/- 50% of the UnrealIRCd installations out there.
Details on another vulnerability, CVE-2016-2108, were also published. That issue allows one to crash the server and may potentially allow remote code execution. However, the issue was already fixed a year ago in OpenSSL 1.0.2c. It was simply unknown to the OpenSSL folks at the time that the fix they made fixed a serious security issue. Again, see the OpenSSL security advisory for details. Specifically for UnrealIRCd it means that for this latter issue (CVE-2016-2108) Windows SSL versions of 126.96.36.199 and before are affected. The 188.8.131.52 Windows SSL version is not affected (it used OpenSSL 1.0.2e), but you probably still want to upgrade anyway because it's still vulnerable to the first issue (CVE-2016-2107).
You are only unaffected if you are using UnrealIRCd 3.2.x and you did not compile with SSL support. This question is asked during ./Config: Do you want to support SSL (Secure Sockets Layer) connections? If you answered No then you are unaffected. If you answered Yes then you are affected.
UnrealIRCd 4.0.x always uses SSL/TLS so is always affected.
UnrealIRCd itself does not ship with OpenSSL/LibreSSL. Please use your distro tools to upgrade your SSL libraries (yum, apt-get, etc.). After upgrading the libraries you will have to restart UnrealIRCd. The same is true for other daemons using OpenSSL/LibreSSL by the way: apache, exim, etc.
UnrealIRCd 4.0.x (all versions) and UnrealIRCd 3.2.x (SSL versions) ship with vulnerable OpenSSL/LibreSSL. The downloads have therefore been replaced:
- New versions of UnrealIRCd 4.0.3: The installer identifies itself as 4.0.3-SSL-sslfix. Other than that UnrealIRCd is exactly the same and the IRCd reports as 4.0.3 on IRC.
- New versions of UnrealIRCd 184.108.40.206: The installer will identify itself as 220.127.116.11-sslfix. Other than that UnrealIRCd is exactly the same and the IRCd reports as 18.104.22.168 on IRC.
How to check which OpenSSL/LibreSSL version is in use
Important: Checking the SSL library version on *NIX isn't really useful. The reported library version is often an older OpenSSL version while in fact the libraries have been upgraded and you are safe. So just upgrade your OpenSSL or LibreSSL package as per your distro's advice, restart the IRCd and assume the upgrade succeeded.
As an IRCOp you can issue the /VERSION command (or /QUOTE VERSION). This should output something like this:
Code: Select all
UnrealIRCd-4.0.3. irc.server.net FhinW6OoErM [Microsoft Windows 7 Service Pack 1 (build 7601)=4000] -irc.server.net- LibreSSL 2.3.4 -irc.server.net- libcurl/7.48.0 LibreSSL/2.0.0 c-ares/1.11.0
Fixed versions are: OpenSSL 1.0.2h and LibreSSL 2.3.4
Be sure to run this command as an IRC Operator, otherwise the SSL library version number is not shown.
Are you sure you run as an IRC Operator and you see the UnrealIRCd version but not the OpenSSL/LibreSSL lines? Then SSL is not enabled on your server and you are unaffected (this is only possible on 3.2.x).
TIP: You can also use /VERSION remote.server.name to query remote servers. Again, you have to be an IRC Operator to get meaningful results.
As always, you can download UnrealIRCd from www.unrealircd.org.