Description
The default configuration of nginx, possibly 1.3.13 and earlier, uses world-readable permissions for the (1) access.log and (2) error.log files, which allows local users to obtain sensitive information by reading the files.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | nginx | No fix yet | — |
| Debian 13 | nginx | No fix yet | — |
| Debian 12 | nginx | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 18.04 LTS | nginx | No fix yet | — |
| Ubuntu Pro 16.04 LTS | nginx | No fix yet | — |
| Ubuntu Pro 14.04 LTS | nginx | No fix yet | — |
References
- 55181 third-party-advisory
- [oss-security] 20130224 nginx CVE-2013-0337 world-readable logs mailing-list
- [oss-security] 20130221 Re: CVE request: nginx world-readable logdir mailing-list
- GLSA-201310-04 vendor-advisory
- [oss-security] 20130221 nginx world-readable logdir mailing-list