3Dviewer-Nextcloudにパスワード保護された共有の3Dモデルを読まれる脆弱性
Summary
3Dviewer-Nextcloudの1.7.9から3.3.1までには、共有リンクにパスワードを設定していても、トークンさえ分かれば3Dモデルのファイル内容を読み取れる脆弱性があります。CVSSは7.5で、STLやGLB、OBJ、STEPなど3Dファイル形式が対象です。3Dファイルの共有を利用している場合は、最新の情報を確認してください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
3Dviewer-Nextcloudの1.7.9から3.3.1までには、共有リンクにパスワードを設定していても、トークンさえ分かれば3Dモデルのファイル内容を読み取れる脆弱性があります。CVSSは7.5で、STLやGLB、OBJ、STEPなど3Dファイル形式が対象です。3Dファイルの共有を利用している場合は、最新の情報を確認してください。
Original description The description as published by the source.
The 3D Viewer for Nextcloud is a comprehensive 3D model viewer application for Nextcloud that supports multiple 3D file formats. In versions 1.7.9 through 3.3.1, the app's public file endpoint performed no share authorization. Anyone who knows a share token could read the shared file's contents even when the link share was protected by a password. PublicFileController extended OCP\AppFramework\Controller and marked its routes #[PublicPage]. Nextcloud only enforces share passwords through PublicShareMiddleware, which returns early for any controller that is not an OCP\AppFramework\PublicShareController instance — so no password, expiry, or share-type check ran for these routes. ShareFileService::loadLinkShare() compounded this by treating any token that getShareByToken() matched as authorised. A share token is the part of the URL that people paste into chats, emails, and tickets. Password protection exists precisely for the case where holding the token should not by itself grant access, and that guarantee did not hold. Requests to GET /ocs/v2.php/apps/threedviewer/public/file/{token}/{fileId} returned 200 with the full file body for password-protected shares, with no password and no session. Nextcloud's own share page correctly redirected such requests to the password prompt. Scope is limited to files in the formats this app handles (STL, GLB/glTF, OBJ, STEP, IFC, and the other supported 3D types). Non-3D files in the same share are unaffected. Expired shares…
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- patch github.com
- patch github.com
- web github.com