Description
The ssl_do_connect function in common/server.c in HexChat before 2.10.2, XChat, and XChat-GNOME does not verify that the server hostname matches a domain name in the X.509 certificate, which allows man-in-the-middle attackers to spoof SSL servers via an arbitrary valid certificate.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 13 | hexchat | 2.10.2-1 | — |
| Debian 12 | hexchat | 2.10.2-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 14.04 LTS | hexchat | 2.9.6.1-2ubuntu0.1 | — |
| Ubuntu 14.04 LTS | xchat-gnome | 1:0.30.0~git20131003.d20b8d+really20110821-0.2ubuntu12.2 | — |