Privilege Escalation Vulnerability in HylaFAX+ Package
Summary
ALPINE-CVE-2020-15396: In HylaFAX+ through 7.0.2 and HylaFAX Enterprise, the faxsetup utility calls chown on files in user-owned directories. Affects hylafaxplus versions < 7.0.0-r4. Fixed in 7.0.0-r4. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
HylaFAX+ is an open-source software system that facilitates the sending and receiving of fax messages. It is widely used in various environments for its reliability and efficiency in managing fax communications. The package is designed to operate on Unix-like operating systems and provides a range of features including fax scheduling, fax broadcasting, and remote management. However, it has been identified to have a critical vulnerability that could allow local attackers to escalate their privileges.
Vulnerability Detail
The vulnerability arises from the faxsetup utility in HylaFAX+ versions up to 7.0.2, which improperly calls the chown command on files located in user-owned directories. This flaw can be exploited by a local attacker who can win a race condition, allowing them to change the ownership of files and potentially escalate their privileges to root. The ramifications of this vulnerability are severe, as it could lead to unauthorized access and control over the system, compromising its integrity and security.
How To Fix
Minimum fixed version
7.0.0-r4
This is the first release that contains the fix.
sudo apk add --upgrade hylafaxplus
Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →
Workaround
As a temporary workaround, users can restrict access to the faxsetup utility or modify the permissions of the directories involved to prevent unauthorized access. However, this is not a permanent solution and updating the package is strongly recommended.
Conclusion
The HylaFAX+ package has a critical vulnerability that allows local attackers to escalate their privileges due to improper handling of file ownership. It is crucial for users to update to the latest patched versions to protect their systems from potential exploitation. Regular monitoring and vulnerability management practices, such as using tools like Vulert, can help maintain security.
See every vulnerability recorded for hylafaxplus →
FAQ
The CVSS score of this vulnerability is 7.8, indicating a high severity level.
You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.
If exploited, this vulnerability could allow an attacker to gain root privileges, leading to unauthorized access and control over the system.
Yes, restricting access to the faxsetup utility and modifying directory permissions can help mitigate the risk temporarily.
HylaFAX+ versions up to 7.0.2 are affected. Users should upgrade to the patched versions to secure their systems.
References
Related vulnerabilities
Recent vulnerabilities recorded for hylafaxplus.