Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/index.php/Reporting_Bug_Guidelines

Do NOT report bugs when a package is just outdated, or it is in Unsupported. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#52547 - [nginx-mainline] [Security] privilege escalation (CVE-2016-1247)

Attached to Project: Arch Linux
Opened by Levente Polyak (anthraxx) - Saturday, 14 January 2017, 17:19 GMT
Last edited by Bartłomiej Piotrowski (Barthalion) - Sunday, 15 January 2017, 13:03 GMT
Task Type Bug Report
Category Security
Status Closed
Assigned To Bartłomiej Piotrowski (Barthalion)
Architecture All
Severity High
Priority High
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Summary
=======

The package nginx-mainline is vulnerable to privilege escalation via CVE-2016-1247.

Guidance
========

The current permission setup on /var/log/nginx/ allows the privilege escalation to happen. We should adapt (like nearly all distros).

> ls -ld /var/log/nginx
drwxr-x--- 2 http log 4096 Jan 8 00:00 /var/log/nginx

To mitigate this issue, this should be:

> ls -ld /var/log/nginx
drwxr-xr-x 2 root root 20480 Jan 14 06:25 /var/log/nginx/


References
==========

https://security.archlinux.org/AVG-139
https://security.archlinux.org/CVE-2016-1247
https://legalhackers.com/advisories/Nginx-Exploit-Deb-Root-PrivEsc-CVE-2016-1247.html
This task depends upon

Closed by  Bartłomiej Piotrowski (Barthalion)
Sunday, 15 January 2017, 13:03 GMT
Reason for closing:  Fixed
Additional comments about closing:  nginx-mainline 1.11.8-2

Loading...