CVE-2016-4036
Medium · 5.5CVSS
5.5
EPSS
0.4%
Published
Apr 18, 2016
CISA due date
—
Cloudanix analysis
A Linux package used for network routing left its settings folder readable by any user on the computer, letting insiders see private network details.
- Exploitation
- Local Privilege
- Attacker needs
- Local User
- Complexity
- Trivial
- Impact
- Data Exposure
- Component
- Application
- Class
- Misconfiguration
- Remediation
- Config Change
- Effort
- Low
- Patch risk
- None
What it actually does
Incorrect directory permissions on /etc/quagga allow any local user to read configuration files containing sensitive routing and authentication data.
Why it matters to the business
Attackers already present on the system can harvest network topology and credential information, increasing the risk of lateral movement or targeted disruption of routing services.
How an attack unfolds
A local attacker lists the contents of /etc/quagga, opens readable files, and extracts passwords, BGP/OSPF keys, or interface configurations for further reconnaissance or privilege escalation.
How to fix it
Upgrade the quagga package to 0.99.23-2.6.1 or newer on openSUSE and SUSE Linux Enterprise Server, then enforce restrictive permissions (e.g., 750 or tighter) on /etc/quagga and its contents.
How to confirm the fix worked
Confirm the installed quagga package version meets or exceeds 0.99.23-2.6.1 and verify directory permissions with ls -ld /etc/quagga; ensure only intended users and groups can read files.
Typical attack path
- Obtain a local shell on an affected host
- List or traverse /etc/quagga
- Read configuration and key files
- Use harvested data for lateral movement or persistence
How to detect it
Search package management logs and file-access audit trails for unexpected reads of files inside /etc/quagga; review historical quagga package versions on systems that may still be vulnerable.
- /etc/quagga
- quagga package version < 0.99.23-2.6.1
- unexpected local reads of quagga config files
What your security team should do
- Patch quagga to the fixed version on all affected systems
- Audit and correct permissions on /etc/quagga across the environment
- Review quagga configuration files for embedded secrets and rotate them
- Add file-integrity monitoring for /etc/quagga
The record
The quagga package before 0.99.23-2.6.1 in openSUSE and SUSE Linux Enterprise Server 11 SP 1 uses weak permissions for /etc/quagga, which allows local users to obtain sensitive information by reading files in the directory.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:7 | quagga | 0 | 0.99.22.4-1+wheezy3 |
| Debian:8 | quagga | 0 | 0.99.23.1-1+deb8u2 |
| Ubuntu:14.04:LTS | quagga | 0 | 0.99.22.4-3ubuntu1.2 |
| Ubuntu:16.04:LTS | quagga | 0 | 0.99.24.1-2ubuntu1.1 |
Related vulnerabilities
- CVE-2018-5380 The Quagga BGP daemon (bgpd) prior to version 1.2.3 can overrun internal BGP… Also affects quagga
- CVE-2018-5379 The Quagga BGP daemon (bgpd) prior to version 1.2.3 can double-free memory when… Also affects quagga
- CVE-2018-5381 The Quagga BGP daemon (bgpd) prior to version 1.2.3 has a bug in its parsing of… Also affects quagga
- CVE-2017-16227 The aspath_put function in bgpd/bgp_aspath.c in Quagga before 1.2.2 allows remote… Also affects quagga
- CVE-2016-1245 It was discovered that the zebra daemon in Quagga before 1.0.20161017 suffered from a… Also affects quagga
- CVE-2016-2342 The bgp_nlri_parse_vpnv4 function in bgp_mplsvpn.c in the VPNv4 NLRI parser in bgpd in… Also affects quagga
- CVE-2013-2236 Stack-based buffer overflow in the new_msg_lsa_change_notify function in the OSPFD API… Also affects quagga
- CVE-2018-5378 The Quagga BGP daemon (bgpd) prior to version 1.2.3 does not properly bounds check the… Also affects quagga