Fonality contains a hard-coded password and embedded SSL private key
Original Release date: 01 Jun 2016 | Last revised: 01 Jun 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-2363According 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-2364According 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 updateA patch addressing CVE-2016-2362 and CVE-2016-2363 in Fonality version 12.8 and above has been released.

This patch is available via the automatic updates feature. Users of versions prior to version 12.8 are encouraged to upgrade to 12.8 or later as soon as possible.CVE-2016-2364 was addressed in a plugin update released on 2016 May 5. Users are encouraged to update their plugin to latest available version.Affected users should also consider the following workarounds:

Restrict Network AccessAs 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)
Vendor
Status
Date Notified
Date Updated
Fonality
Affected
02 Feb 2016
18 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.