Vulnerability Note VU#754056

Fonality contains a hard-coded password and embedded SSL private key

Original Release date: 01 Jun 2016 | Last revised: 21 Dec 2016

Overview

Fonality (previously trixbox Pro) version 12.6 and later uses a hard-coded password, and the accompanying HUDweb plugin embeds a private SSL key.

Description

CWE-259: Use of Hard-coded Password - CVE-2016-2362

According to the reporter, FTP is used to sync phone configurations for users, by use of a hard-coded username and password. The default SSH server configuration allows the FTP user to also log in via SSH and obtain a shell as the 'nobody' user.

CWE-266: Incorrect Privilege Assignment - CVE-2016-2363

According to the reporter, the script /var/www/rpc/surun has incorrect permissions, allowing the user 'nobody' to run many commands as root.

CWE-321: Use of Hard-coded Cryptographic Key - CVE-2016-2364

According to the reporter, the HUDweb plugin for Google Chrome contains a Thawte-signed SSL certificate and private key. This key is shared across all installations.

The CVSS score below is based on CVE-2016-2363.

Impact

A remote attacker with knowledge of the password may be able to log into the server as 'nobody' and execute commands as root. An attacker with knowledge of the private key may be able to conduct impersonation, man-in-the-middle, or passive decryption attacks.

Solution

Apply an update

A patch addressing CVE-2016-2362 and CVE-2016-2363 in Fonality version 12.6 and above has been released. This patch is available via the automatic updates feature. Users of versions prior to version 12.6 are encouraged to upgrade to 12.6 or later as soon as possible.

CVE-2016-2364 was partially addressed in a Webphone plugin update released on 2016 May 5, but still makes use of hard-coded cryptographic material and only notifies the user.

On 20 December 2016, HUDweb 1.4.4 was released to address CVE-2016-2364. Users will be automatically upgraded when visiting HUDweb.fonality.com. Users are encouraged to update their plugin to latest available version of HUDweb, instead of Webphone.

Affected users should also consider the following workarounds:

Restrict Network Access

As a general good security practice, only allow connections from trusted hosts and networks. Consult your firewall product's manual for more information.

Vendor Information (Learn More)

VendorStatusDate NotifiedDate Updated
FonalityAffected02 Feb 201618 Apr 2016
If you are a vendor and your product is affected, let us know.

CVSS Metrics (Learn More)

Group Score Vector
Base 9.0 AV:N/AC:L/Au:S/C:C/I:C/A:C
Temporal 7.7 E:POC/RL:U/RC:UR
Environmental 5.8 CDP:ND/TD:M/CR:ND/IR:ND/AR:ND

References

Credit

Thanks to Charlie Wolf for reporting this vulnerability.

This document was written by Garret Wassermann.

Other Information

Feedback

If you have feedback, comments, or additional information about this vulnerability, please send us email.