CVE-2013-0337
NoneCVSS
—
EPSS
2.2%
Published
Oct 27, 2013
CISA due date
—
Cloudanix analysis
A server setup mistake lets anyone logged into the machine read private details from the system's activity logs.
- Exploitation
- Local Privilege
- Attacker needs
- Local User
- Complexity
- Trivial
- Impact
- Data Exposure
- Component
- Network Service
- Class
- Misconfiguration
- Remediation
- Config Change
- Effort
- Low
- Patch risk
- None
What it actually does
Default world-readable permissions on access.log and error.log files allow any local user to read log contents containing sensitive request and error data.
Why it matters to the business
Local users on affected systems can access sensitive operational information stored in logs, increasing risk of data exposure in environments where prometheus-alertmanager packages are deployed.
How an attack unfolds
An attacker with local filesystem access on a system running an affected prometheus-alertmanager package locates the world-readable nginx log files and reads them to extract sensitive information; no remote exploit or elevated privileges are required beyond standard local user access.
How to fix it
Upgrade prometheus-alertmanager (Chainguard) to 0.27.0-r2 or later and prometheus-alertmanager (Wolfi) to 0.27.0-r2 or later; after upgrade, verify and correct log file permissions to restrict access to authorized users only.
How to confirm the fix worked
Inspect file permissions on access.log and error.log (should not be world-readable); confirm package versions meet or exceed the fixed releases and test that logs are only accessible by intended processes and users.
Typical attack path
- Obtain local user access on the host running the affected package
- Navigate to the nginx log directory
- Read access.log and error.log files due to permissive permissions
- Extract sensitive data from log entries
How to detect it
Review system logs and file access timestamps for unexpected reads of access.log or error.log by non-privileged users; examine filesystem permission settings on log directories.
What your security team should do
- Prioritize package upgrades to the specified fixed versions across all deployments
- Audit and enforce least-privilege permissions on all log files in nginx configurations
- Review downstream dependents for similar misconfigurations in log handling
The record
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.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:10 | nginx | 0 | No fix |
| Debian:11 | nginx | 0 | No fix |
| Debian:12 | nginx | 0 | No fix |
| Debian:13 | nginx | 0 | No fix |
| Ubuntu:Pro:14.04:LTS | nginx | 0 | No fix |
| Ubuntu:Pro:16.04:LTS | nginx | 0 | No fix |
| Ubuntu:Pro:18.04:LTS | nginx | 0 | No fix |
Related vulnerabilities
- CVE-2009-4487 nginx 0.7.64 writes data to a log file without sanitizing non-printable characters, which… Also affects nginx
- CVE-2009-3898 Directory traversal vulnerability in src/http/modules/ngx_http_dav_module.c in nginx (aka… Also affects nginx
- CVE-2009-2629 Buffer underflow in src/http/ngx_http_parse.c in nginx 0.1.0 through 0.5.37, 0.6.x before… Also affects nginx
- CVE-2025-53859 NGINX Open Source and NGINX Plus have a vulnerability in the ngx_mail_smtp_module that… Also affects nginx
- CVE-2025-23419 When multiple server blocks are configured to share the same IP address and port, an… Also affects nginx
- CVE-2017-7529 Nginx versions since 0.5.6 up to and including 1.13.2 are vulnerable to integer overflow… Also affects nginx
- CVE-2016-1247 The nginx package before 1.6.2-5+deb8u3 on Debian jessie, the nginx packages before… Also affects nginx
- CVE-2016-4450 os/unix/ngx_files.c in nginx before 1.10.1 and 1.11.x before 1.11.1 allows remote… Also affects nginx