Distro advisory · Debian 3.0
hylafax - weak hostname and username validation
Description
Vulnerability : weak hostname and username validation Problem-Type : local/remote Debian-specific: no CVE ID : CAN-2004-1182
Patrice Fournier discovered a vulnerability in the authorisation subsystem of hylafax, a flexible client/server fax system. A local or remote user guessing the contents of the hosts.hfaxd database could gain unauthorised access to the fax system.
Some installations of hylafax may actually utilise the weak hostname and username validation for authorized uses. For example, hosts.hfaxd entries that may be common are
192.168.0 username:uid:pass:adminpass user@host
After updating, these entries will need to be modified in order to continue to function. Respectively, the correct entries should be
192.168.0.[0-9]+ username@:uid:pass:adminpass user@host
Unless such maching of "username" with "otherusername" and "host" with "hostname" is desired, the proper form of these entries should include the delimiter and markers like this
@192.168.0.[0-9]+$ ^username@:uid:pass:adminpass ^user@host$
Manual fix · Debian 3.0
sudo apt-get updatesudo apt-get install --only-upgrade hylafaxdpkg -s hylafax | grep VersionSources