CVE-2025-62618

8.0 HIGH

📋 TL;DR

This vulnerability in ELOG allows authenticated users to upload HTML files that execute in other users' contexts, potentially stealing credentials. It affects ELOG versions before 3.1.5-20251014. The issue is mitigated in the latest release where HTML files are rendered as plain text.

💻 Affected Systems

Products:
  • ELOG
Versions: All versions before 3.1.5-20251014
Operating Systems: All supported OS (Linux, Windows, etc.)
Default Config Vulnerable: ⚠️ Yes
Notes: Requires authenticated user access; default configurations with user upload capabilities are vulnerable.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

An attacker gains administrative access by stealing and cracking password hashes, leading to complete system compromise and data exfiltration.

🟠

Likely Case

Attackers steal user credentials through crafted HTML files, enabling unauthorized access to sensitive logs and data.

🟢

If Mitigated

With proper access controls and monitoring, impact is limited to isolated credential theft attempts that are detected and contained.

🌐 Internet-Facing: HIGH if ELOG is exposed to the internet, as authenticated attackers can exploit it remotely.
🏢 Internal Only: MEDIUM for internal networks, requiring authenticated access but posing credential theft risks.

🎯 Exploit Status

Public PoC: ✅ No
Weaponized: LIKELY
Unauthenticated Exploit: ✅ No
Complexity: LOW

Exploitation requires authenticated access but is straightforward via HTML file uploads.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: 3.1.5-20251014

Vendor Advisory: https://elog.psi.ch/elog/download/RPMS/?C=M;O=D

Restart Required: Yes

Instructions:

1. Download ELOG version 3.1.5-20251014 from the vendor site. 2. Backup current configuration. 3. Install the update following OS-specific package procedures. 4. Restart the ELOG service.

🔧 Temporary Workarounds

Disable HTML file uploads

all

Configure ELOG to block HTML file uploads via server settings.

Modify elogd.cfg to set 'Allow HTML uploads = 0'

Restrict user upload permissions

all

Limit file upload capabilities to trusted users only.

Adjust user permissions in elogd.cfg to restrict 'upload' privileges

🧯 If You Can't Patch

  • Implement strict access controls to limit authenticated users who can upload files.
  • Deploy web application firewalls (WAF) to block malicious HTML content and monitor for suspicious uploads.

🔍 How to Verify

Check if Vulnerable:

Check ELOG version; if earlier than 3.1.5-20251014 and HTML uploads are allowed, it is vulnerable.

Check Version:

elogd --version or check package manager (e.g., rpm -q elog)

Verify Fix Applied:

After patching, confirm version is 3.1.5-20251014 and test that uploaded HTML files render as plain text.

📡 Detection & Monitoring

Log Indicators:

  • Unusual HTML file uploads by authenticated users
  • Failed login attempts following uploads

Network Indicators:

  • HTTP requests containing username/password hashes to unexpected destinations

SIEM Query:

source="elog" AND (event="file_upload" AND file_type="html")

🔗 References

📤 Share & Export