CVE Vulnerabilities

CVE-2019-3688

Incorrect Default Permissions

Published: Oct 07, 2019 | Modified: Nov 21, 2019
CVSS 3.x
7.1
HIGH
Source:
NVD
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
CVSS 2.x
6.6 MEDIUM
AV:L/AC:L/Au:N/C:N/I:C/A:C
RedHat/V2
RedHat/V3
Ubuntu

The /usr/sbin/pinger binary packaged with squid in SUSE Linux Enterprise Server 15 before and including version 4.8-5.8.1 and in SUSE Linux Enterprise Server 12 before and including 3.5.21-26.17.1 had squid:root, 0750 permissions. This allowed an attacker that compromissed the squid user to gain persistence by changing the binary

Weakness

During installation, installed file permissions are set to allow anyone to modify those files.

Affected Software

Name Vendor Start Version End Version
Suse_linux_enterprise_server Suse 12-sp1 (including) 12-sp1 (including)
Suse_linux_enterprise_server Suse 12-sp2 (including) 12-sp2 (including)
Suse_linux_enterprise_server Suse 12-sp3 (including) 12-sp3 (including)
Suse_linux_enterprise_server Suse 15 (including) 15 (including)
Suse_linux_enterprise_server Suse 15-sp1 (including) 15-sp1 (including)

Potential Mitigations

  • Compartmentalize the system to have “safe” areas where trust boundaries can be unambiguously drawn. Do not allow sensitive data to go outside of the trust boundary and always be careful when interfacing with a compartment outside of the safe area.
  • Ensure that appropriate compartmentalization is built into the system design, and the compartmentalization allows for and reinforces privilege separation functionality. Architects and designers should rely on the principle of least privilege to decide the appropriate time to use privileges and the time to drop privileges.

References