Bug 913734 (CVE-2013-0337)

Summary: CVE-2013-0337 nginx: world-readable log files
Product: [Other] Security Response Reporter: Vincent Danen <vdanen>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: affix, jeremy, pavel.lisy
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-04-10 22:28:49 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 913735, 913736    
Bug Blocks:    

Description Vincent Danen 2013-02-21 22:33:24 UTC
Agostino Sarubbo reported on the oss-security mailing list [1] that, on Gentoo, /var/log/nginx is world-accessible and the log files inside the directory are world-readable.  This could allow an unprivileged user to read the log files.

Checking on Fedora and EPEL, /var/log/nginx is provided with 0755 permissions.  These should be reduced to 0700 permissions, like /var/log/httpd.

[1] http://www.openwall.com/lists/oss-security/2013/02/21/15

Comment 1 Vincent Danen 2013-02-21 22:34:18 UTC
Created nginx tracking bugs for this issue

Affects: fedora-all [bug 913735]
Affects: epel-all [bug 913736]

Comment 2 Vincent Danen 2013-02-22 06:35:37 UTC
This was assigned CVE-2013-0337:

http://www.openwall.com/lists/oss-security/2013/02/22/1

Comment 3 Fedora Update System 2013-03-04 22:43:15 UTC
nginx-1.0.15-9.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 4 Fedora Update System 2013-04-04 16:42:54 UTC
nginx-1.0.15-4.el6 has been pushed to the Fedora EPEL 6 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 5 Fedora Update System 2013-04-04 16:45:33 UTC
nginx-0.8.55-3.el5 has been pushed to the Fedora EPEL 5 stable repository.  If problems still persist, please make note of it in this bug report.