CVE-2024-23449
Medium · 4.3CVSS
4.3
EPSS
0.7%
Published
Mar 29, 2024
CISA due date
—
Cloudanix analysis
Sending a particular kind of locked PDF file to the search system can make it crash and stop working until restarted.
- Exploitation
- Remote Authenticated
- Attacker needs
- Low Privilege
- Complexity
- Low
- Impact
- Denial Of Service
- Component
- Application
- Class
- Denial of service
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
An uncaught exception in the attachment processor causes the ingest node to crash when an encrypted PDF is submitted via the REST API.
Why it matters to the business
Successful exploitation leads to denial of service against search and indexing functionality, resulting in temporary service disruption; low exploitation likelihood and no known ransomware usage reduce urgency despite broad affected versions.
How an attack unfolds
An attacker crafts a request containing an encrypted PDF and submits it through the public REST API to the attachment processor, triggering an uncaught exception that terminates the ingest node.
How to fix it
Upgrade to Elasticsearch 8.11.1 or later; apply the listed Joomla commit cf2534078e8b47162f5ba4b197ef99230ebe9d81 where the component is integrated through Joomla packages.
How to confirm the fix worked
After upgrade, resubmit an encrypted PDF through the attachment processor endpoint and confirm the ingest node remains stable; review startup logs for the corrected exception handling path.
Typical attack path
- Locate an exposed Elasticsearch instance running version 8.4.0 to 8.11.0 with the attachment processor enabled
- Prepare a minimal encrypted PDF file
- Issue a REST API call that routes the PDF to the attachment processor
- Observe node crash and service degradation
How to detect it
Inspect Elasticsearch ingest and node logs for uncaught exceptions during PDF parsing; correlate sudden ingest node restarts with attachment processor activity.
What your security team should do
- Prioritize upgrade of all Elasticsearch instances between 8.4.0 and 8.11.0
- Temporarily disable the attachment processor if encrypted PDFs are not required
- Add network-level filtering to block unexpected attachment uploads until patched
The record
An uncaught exception in Elasticsearch >= 8.4.0 and < 8.11.1 occurs when an encrypted PDF is passed to an attachment processor through the REST API. The Elasticsearch ingest node that attempts to parse the PDF file will crash. This does not happen with password-protected PDF files or with unencrypted PDF files.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Maven | org.elasticsearch:elasticsearch | 8.4.0 | 8.11.1 |
| Bitnami | elasticsearch | 8.4.0 | 8.11.1 |
| Ubuntu:16.04:LTS | elasticsearch | 0 | No fix |
| Ubuntu:Pro:16.04:LTS | elasticsearch | 0 | No fix |
| maven | org.elasticsearch/elasticsearch | 8.4.0 | 8.11.1 |
Related vulnerabilities
- CVE-2025-37731 Improper Authentication in Elasticsearch PKI realm can lead to user impersonation via… Also affects org.elasticsearch:elasticsearch
- CVE-2024-12539 Elasticsearch Incorrect Authorization vulnerability Also affects org.elasticsearch:elasticsearch
- CVE-2024-23444 It was discovered by Elastic engineering that when elasticsearch-certutil CLI tool is… Also affects org.elasticsearch:elasticsearch
- CVE-2023-49921 An issue was discovered by Elastic whereby Watcher search input logged the search query… Also affects org.elasticsearch:elasticsearch
- CVE-2024-37280 A flaw was discovered in Elasticsearch, affecting document ingestion when an index… Also affects org.elasticsearch:elasticsearch
- CVE-2024-23451 Incorrect Authorization issue exists in the API key based security model for Remote… Also affects org.elasticsearch:elasticsearch
- CVE-2024-23450 A flaw was discovered in Elasticsearch, where processing a document in a deeply nested… Also affects org.elasticsearch:elasticsearch
- CVE-2023-46673 It was identified that malformed scripts used in the script processor of an Ingest… Also affects org.elasticsearch:elasticsearch