CVE-2025-34504

6.1 MEDIUM

📋 TL;DR

KodExplorer 4.52 contains an open redirect vulnerability in the user login page. Attackers can manipulate the 'link' parameter to redirect authenticated users to malicious external websites. This affects all users of KodExplorer 4.52.

💻 Affected Systems

Products:
  • KodExplorer
Versions: 4.52
Operating Systems: All
Default Config Vulnerable: ⚠️ Yes
Notes: Only affects the web application login functionality.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Users could be redirected to phishing sites that steal credentials or deliver malware after successful authentication.

🟠

Likely Case

Attackers use crafted URLs to redirect users to malicious sites for phishing or credential harvesting.

🟢

If Mitigated

Users are redirected only to trusted, validated URLs within the application.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

Public PoC: ⚠️ Yes
Weaponized: LIKELY
Unauthenticated Exploit: ✅ No
Complexity: LOW

Exploitation requires user interaction (clicking a malicious link) but is trivial to implement.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: 4.53 or later

Vendor Advisory: https://github.com/kalcaddle/KodExplorer/releases/tag/4.53

Restart Required: No

Instructions:

1. Download KodExplorer 4.53 or later from the official repository. 2. Replace the vulnerable files with the patched version. 3. Verify the fix by testing the login redirect functionality.

🔧 Temporary Workarounds

Input Validation Filter

all

Add server-side validation to restrict redirect URLs to trusted domains only.

Modify the login handler to validate the 'link' parameter against a whitelist of allowed domains.

🧯 If You Can't Patch

  • Implement a web application firewall (WAF) rule to block requests with external URLs in the 'link' parameter.
  • Educate users to avoid clicking on untrusted links and to verify URLs before authentication.

🔍 How to Verify

Check if Vulnerable:

Test the login page by appending a malicious URL to the 'link' parameter and checking if it redirects after login.

Check Version:

Check the version in the KodExplorer admin panel or review the application's version file.

Verify Fix Applied:

After patching, attempt the same test; the application should not redirect to external sites.

📡 Detection & Monitoring

Log Indicators:

  • Log entries showing redirects to external domains after login.

Network Indicators:

  • HTTP 302 redirect responses pointing to external URLs.

SIEM Query:

source="web_logs" AND (url CONTAINS "link=http" OR url CONTAINS "link=https") AND status=302

🔗 References

📤 Share & Export