| 标题 | cu silicon 0.1.5 Authentication Bypass |
|---|
| 描述 | Silicon is a Flask-based personal knowledge base with 262 GitHub stars. The entire application has zero authentication - no login page, no session check, no password protection, no middleware. All write endpoints are publicly accessible without any form of authentication. An unauthenticated attacker can create, edit, or modify any page in the knowledge base via POST requests to /edit/<title>. Other write endpoints like /toc (POST) and /related/<title> (POST/DELETE) are equally unprotected. The code in views.py has no @login_required decorators, no session checks, and no auth middleware. The create_app() factory in __init__.py does not register any authentication mechanism. This allows complete defacement or data manipulation of any silicon instance exposed to the network.
PoC:
POST /edit/pocpage HTTP/1.1
Content-Type: application/x-www-form-urlencoded
body=%23+HACKED%0A%0ANo+authentication+required
The page is immediately modified and serves the injected content to all visitors. |
|---|
| 来源 | ⚠️ https://github.com/cu/silicon |
|---|
| 用户 | BRabbit (UID 99520) |
|---|
| 提交 | 2026-07-03 12時10分 (2 月前) |
|---|
| 管理 | 2026-08-31 13時16分 (2 months later) |
|---|
| 状态 | 已接受 |
|---|
| VulDB条目 | 397299 [cu silicon 直到 0.1.5 edit Endpoint views.py create_app 弱身份验证] |
|---|
| 积分 | 19 |
|---|