Cloudanix VulnDB

CVE-2024-12539

None

Elasticsearch Incorrect Authorization vulnerability

CVSS

—

EPSS

0.5%

Published

Dec 17, 2024

CISA due date

—

Cloudanix analysis

Monitor only SSVC: Track

A flaw in a search system lets some users view private information they are not supposed to see.

Exploitation
Remote Authenticated
Attacker needs
Low Privilege
Complexity
Moderate
Impact
Data Exposure
Component
Application
Class
Authorization Bypass
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

Improper authorization on certain queries bypasses Document Level Security checks in Elasticsearch, allowing access to documents outside assigned roles.

Why it matters to the business

Sensitive data may be exposed to unauthorized users, increasing breach risk and compliance costs; low exploit likelihood and no known ransomware use reduce urgency but patching remains needed for older Ubuntu Firefox and Thunderbird deployments.

How an attack unfolds

An attacker with limited Elasticsearch access crafts queries that evade DLS enforcement to retrieve restricted documents; no named threat actors or campaigns are associated.

How to fix it

Upgrade affected packages to the listed fixed versions: firefox (Ubuntu:14.04:LTS) to 45.0+build2-0ubuntu0.14.04.1 and thunderbird (Ubuntu:14.04:LTS) to 1:38.7.2+build1-0ubuntu0.14.04.1; apply vendor patches immediately given the six-hundred-plus days since disclosure.

How to confirm the fix worked

Confirm package versions match the fixed releases above and test that role-restricted queries now correctly enforce Document Level Security.

Typical attack path

  1. Gain access to an Elasticsearch cluster with a low-privilege role
  2. Identify queries involving document-level security
  3. Craft and submit malformed queries to bypass authorization
  4. Retrieve and exfiltrate unauthorized documents

How to detect it

Review Elasticsearch query logs for unusual patterns that return documents outside expected role scopes; no ransomware or APT indicators are known.

What your security team should do

  • Prioritize upgrades on any remaining Ubuntu 14.04 systems running the listed packages
  • Review and tighten Elasticsearch role mappings and query logging
  • Monitor EPSS trend for any increase above current low levels

The record

An issue was discovered where improper authorization controls affected certain queries that could allow a malicious actor to circumvent Document Level Security in Elasticsearch and get access to documents that their roles would normally not allow.

Affected packages

Ecosystem Package Introduced Fixed
Maven org.elasticsearch:elasticsearch 8.16.0 8.16.2
Bitnami elasticsearch 8.16.0 8.16.2
Bitnami elasticsearch 8.16.0 8.17.0
Chainguard elasticsearch-8 0 8.17.0-r0
Chainguard elasticsearch-8-bitnami 0 8.17.0-r0
Chainguard elasticsearch-8-config 0 8.17.0-r0
Chainguard elasticsearch-8-iamguarded 0 8.17.0-r0
Chainguard elasticsearch-config 0 8.17.0-r0
Chainguard elasticsearch-fips-8 0 8.17.0-r0
Chainguard elasticsearch-fips-8-bitnami 0 8.17.0-r0
Chainguard elasticsearch-fips-8-config 0 8.17.0-r0
Chainguard elasticsearch-fips-8-policy-140-2 0 8.17.0-r0
Chainguard elasticsearch-fips-8-policy-140-3 0 8.17.0-r0
Chainguard ruby3.2-elasticsearch 0 8.17.0-r0
Chainguard ruby3.3-elasticsearch 0 8.17.0-r0
Ubuntu:16.04:LTS elasticsearch 0 No fix
Ubuntu:Pro:16.04:LTS elasticsearch 0 No fix
Wolfi ruby3.2-elasticsearch 0 8.17.0-r0
Wolfi ruby3.3-elasticsearch 0 8.17.0-r0
maven org.elasticsearch/elasticsearch 8.16.0 8.16.2

Related vulnerabilities