Overly broad permissions can turn one compromised account into a much larger security problem. Learn how to reduce unnecessary access, review privileges, and apply least privilege across modern Linux systems. Review Linux Privileges×
It was discovered that Gentoo's default NGINX installation applied similar problematic permissions on "/var/log/nginx" as Debian (DSA-3701) and is therefore vulnerable to the same attack described in CVE-2016-1247.
[ 1 ] CVE-2016-1247 http://nvd.nist.gov/nvd.cfm?cvename=CVE-2016-1247 [ 2 ] DSA-3701 https://lists.debian.org/debian-security-announce/2016/msg00281.html [ 3 ] Technical analysis https://legalhackers.com/advisories/Nginx-Exploit-Deb-Root-PrivEsc-CVE-2016-1247.html
This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:
https://security.gentoo.org/glsa/201701-22
style>.gentoo_availability{display:block;}
Security is a primary focus of Gentoo Linux and ensuring the confidentiality and security of our users' machines is of utmost importance to us. Any security concerns should be addressed to security@gentoo.org or alternatively, you may file a bug at https://bugs.gentoo.org.
Get the latest Linux and open source security news straight to your inbox.
Ensure that no untrusted user can create files in directories which are used by NGINX (or an NGINX vhost) to store log files.