支持本站 — 捐款将帮助我们持续运营

目标:1000 元,已筹:736

73.6%
一、 漏洞 CVE-2026-23837 基础信息
漏洞信息
                                        # MyTube 授权绕过漏洞

N/A
                                        
神龙判断

是否为 Web 类漏洞: 未知

判断理由:

N/A
提示
尽管我们采用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。
神龙会尽力确保数据准确,但也请结合实际情况进行甄别与判断。
神龙祝您一切顺利!
漏洞标题
MyTube has an Authorization Bypass vulnerability
来源:美国国家漏洞数据库 NVD
漏洞描述信息
MyTube is a self-hosted downloader and player for several video websites. A vulnerability present in version 1.7.65 and poetntially earlier versions allows unauthenticated users to bypass the mandatory authentication check in the roleBasedAuthMiddleware. By simply not providing an authentication cookie (making req.user undefined), a request is incorrectly passed through to downstream handlers. All users running MyTube with loginEnabled: true are impacted. This flaw allows an attacker to access and modify application settings via /api/settings, change administrative and visitor passwords, and access other protected routes that rely on this specific middleware. The problem is patched in v1.7.66. MyTube maintainers recommend all users upgrade to at least version v1.7.64 immediately to secure their instances. The fix ensures that the middleware explicitly blocks requests if a user is not authenticated, rather than defaulting to next(). Those who cannot upgrade immediately can mitigate risk by restricting network access by usi a firewall or reverse proxy (like Nginx) to restrict access to the /api/ endpoints to trusted IP addresses only or, if they are comfortable editing the source code, manually patch by locating roleBasedAuthMiddleware and ensuring that the logic defaults to an error (401 Unauthorized) when req.user is undefined, instead of calling next().
来源:美国国家漏洞数据库 NVD
CVSS信息
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
来源:美国国家漏洞数据库 NVD
漏洞类别
授权机制不正确
来源:美国国家漏洞数据库 NVD
二、漏洞 CVE-2026-23837 的公开POC
#POC 描述源链接神龙链接
三、漏洞 CVE-2026-23837 的情报信息
  • 标题: Authorization Bypass vulnerability · Advisory · franklioxygen/MyTube · GitHub -- 🔗来源链接

    标签:x_refsource_CONFIRM

    神龙速读:
                                            从该网页截图中可以获取到以下关于漏洞的关键信息:
    
    ### Title
    - **Authorization Bypass vulnerability**
    
    ### Package
    - **MyTube (npm)**
    
    ### Affected and Patched Versions
    - **Affected versions:** <=1.7.65 
    - **Patched versions:** 1.7.66
    
    ### Vulnerability Type
    - **Improper Authorization / Authentication Bypass**
    
    ### Impact
    - **Critical:** This flaw enables unauthenticated users to bypass authentication checks in the `roleBasedAuthMiddleware` by simply not providing an authentication cookie, allowing them to:
        - Access and modify application settings via `/api/settings`.
        - Change administrative and visitor passwords.
        - Access other protected routes that rely on this middleware.
    
    ### Fixes
    - The vulnerability is fixed in version **1.7.66 (or higher)**. All users are advised to upgrade to at least **version 1.7.64** immediately, as this specific version explicitly blocks requests from unauthenticated users.
    
    ### Workarounds
    1. **Restricting Network Access:** Use a firewall or reverse proxy (like Nginx) to restrict access to the `/api/` endpoints to trusted IP addresses only.
    2. **Manual Patch:** Edit the source code in `roleBasedAuthMiddleware` to ensure it returns a 401 Unauthorized error when `req.user` is undefined.
    
    ### Severity 
    - **Severity Score:** Critical (9.8/10)
    
    ### CVSS Metrics
    - **Attack Vector:** Network
    - **Attack Complexity:** Low
    - **Privileges Required:** None
    - **User Interaction:** None
    - **Scope:** Unchanged
    - **Confidentiality, Integrity, Availability:** High
    
    ### Referenced Documents
    - [Github Security Advisory - MyTube]
    - Special thanks to **p1ngul1n0** for reporting and helping resolve this issue.
    
    ### CVE ID 
    - **CVE-2026-23837**
    
    ### Weakness (CWE)
    - **CWE-863** (Incorrect Authorization)
                                            
    Authorization Bypass vulnerability · Advisory · franklioxygen/MyTube · GitHub
  • 标题: Security fix: Add authentication checks for unauthenticated users in … · franklioxygen/MyTube@f85ae9b · GitHub -- 🔗来源链接

    标签:x_refsource_MISC

    神龙速读:
                                            - ** Commit Summary**:
      - Security fix: Add authentication checks for unauthenticated users in role-based middleware.
      
    - ** Key Changes**:
      - Added authentication checks for unauthenticated users in role-based middleware.
      - Introduced `isLoginRequired` function from `services/passwordService`.
      - Added logic for checking public endpoint paths such as `/verify-password`, `/verify-admin-password`, `/verify-visitor-password`, `/password-enabled`, `/reset-password-cooldown`.
      - Adjusted middleware behavior based on login requirements and public endpoint checks.
      
    - ** Concern**:
      - If `loginEnabled` is true, unauthenticated users will be blocked except for public endpoints.
      - Special attention required for public paths and password-related endpoints due to potential security implications.
                                            
    Security fix: Add authentication checks for unauthenticated users in … · franklioxygen/MyTube@f85ae9b · GitHub
  • https://nvd.nist.gov/vuln/detail/CVE-2026-23837
四、漏洞 CVE-2026-23837 的评论

暂无评论


发表评论