CVE-2015-4165: Improper Access Control in Elasticsearch
7.5
CVSS Score
3.0
Basic Information
CVE ID
GHSA ID
EPSS Score
0.84048%
CWE
Published
5/14/2022
Updated
1/27/2023
KEV Status
No
Technology
Java
Technical Details
CVSS Vector
CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
org.elasticsearch:elasticsearch | maven | < 1.6.0 | 1.6.0 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from improper path validation in snapshot metadata handling. The critical function is createSnapshot
in SnapshotsService
, which was modified in the patched version to add FileSystemUtils.isSubPath()
checks. This indicates the pre-patch version allowed writing metadata files
outside repository directories. The function would appear in stack traces during snapshot creation attempts and would process
attacker-controlled file paths.