Cloudanix VulnDB

CVE-2013-0337

None

CVSS

—

EPSS

2.2%

Published

Oct 27, 2013

CISA due date

—

Cloudanix analysis

Schedule a fix SSVC: Track

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

  1. Obtain local user access on the host running the affected package
  2. Navigate to the nginx log directory
  3. Read access.log and error.log files due to permissive permissions
  4. 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