CVE-2023-31417
Last modified
CVE-2023-31417 is a medium-severity vulnerability rated 4.4/10 on the CVSS scale. Elasticsearch generally filters out sensitive information and credentials before logging to the audit log. It was found that this filtering was not applied when requests to Elasticsearch use certain deprecated URIs for APIs. EPSS estimates a 0.23% chance of exploitation in the next 30 days.
Description
Elasticsearch generally filters out sensitive information and credentials before logging to the audit log. It was found that this filtering was not applied when requests to Elasticsearch use certain deprecated URIs for APIs. The impact of this flaw is that sensitive information such as passwords and tokens might be printed in cleartext in Elasticsearch audit logs. Note that audit logging is disabled by default and needs to be explicitly enabled and even when audit logging is enabled, request bodies that could contain sensitive information are not printed to the audit log unless explicitly configured.
Metrics
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Elastic | Elasticsearch | >= 7.0.0, <= 7.17.12 |
| Elastic | Elasticsearch | >= 8.0.0, <= 8.9.1 |
References
- https://security.netapp.com/advisory/ntap-20231130-0006/Third Party Advisory
- https://www.elastic.co/community/securityVendor Advisory
- https://security.netapp.com/advisory/ntap-20231130-0006/Third Party Advisory
- https://www.elastic.co/community/securityVendor Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2023-31417?
How severe is CVE-2023-31417?
How do I fix CVE-2023-31417?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2023
- CVE-2023-31411A remote unprivileged attacker can modify and access configu…9.8
- CVE-2023-31412The LMS5xx uses weak hash generation methods, resulting in t…7.5
- CVE-2023-31413Filebeat versions through 7.17.9 and 8.6.2 have a flaw in ht…3.3
- CVE-2023-31414Kibana versions 8.0.0 through 8.7.0 contain an arbitrary cod…8.8
- CVE-2023-31415Kibana version 8.7.0 contains an arbitrary code execution fl…8.8
- CVE-2023-31416Secret token configuration is never applied when using ECK <…5.3
- CVE-2023-31418An issue has been identified with how Elasticsearch handled …7.5
- CVE-2023-31419A flaw was discovered in Elasticsearch, affecting the _searc…7.5
- CVE-2023-3142Cross-site Scripting (XSS) - Stored in GitHub repository mic…5.4
- CVE-2023-31421It was discovered that when acting as TLS clients, Beats, El…7.5
- CVE-2023-31422An issue was discovered by Elastic whereby sensitive informa…7.5
- CVE-2023-31423Possible information exposure through log file vulnerabilit…5.5
Are you affected by CVE-2023-31417?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
