blob: 4614faf3eedf48cc42b002e250ff153a533762f9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
|
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="201701-22">
<title>NGINX: Privilege escalation</title>
<synopsis>Gentoo's NGINX ebuilds are vulnerable to privilege escalation due
to the way log files are handled.
</synopsis>
<product type="ebuild">nginx</product>
<announced>2017-01-11</announced>
<revised>2017-01-11: 1</revised>
<bug>605008</bug>
<access>local</access>
<affected>
<package name="www-servers/nginx" auto="yes" arch="*">
<unaffected range="ge">1.10.2-r3</unaffected>
<vulnerable range="lt">1.10.2-r3</vulnerable>
</package>
</affected>
<background>
<p>nginx is a robust, small, and high performance HTTP and reverse proxy
server.
</p>
</background>
<description>
<p>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.
</p>
</description>
<impact type="normal">
<p>A local attacker, who either is already NGINX’s system user or belongs
to NGINX’s group, could potentially escalate privileges.
</p>
</impact>
<workaround>
<p>Ensure that no untrusted user can create files in directories which are
used by NGINX (or an NGINX vhost) to store log files.
</p>
</workaround>
<resolution>
<p>All NGINX users should upgrade to the latest ebuild revision:</p>
<code>
# emerge --sync
# emerge --ask --oneshot --verbose ">=www-servers/nginx-1.10.2-r3"
</code>
</resolution>
<references>
<uri link="https://nvd.nist.gov/nvd.cfm?cvename=CVE-2016-1247">CVE-2016-1247</uri>
<uri link="https://www.debian.org/security/2016/dsa-3701">DSA-3701</uri>
<uri link="https://legalhackers.com/advisories/Nginx-Exploit-Deb-Root-PrivEsc-CVE-2016-1247.html">
Technical analysis
</uri>
</references>
<metadata tag="requester" timestamp="2017-01-10T15:37:19Z">whissi</metadata>
<metadata tag="submitter" timestamp="2017-01-11T12:18:42Z">whissi</metadata>
</glsa>
|