| عنوان | https://gitee.com/PerfreeBlog/PerfreeBlog/ PerfreeBlog 1.0 Missing Authorization |
|---|
| الوصف | All eight endpoints of PerfreeBlog's code-generation module lack `@PreAuthorize` annotations and are protected only by the `/api/auth/**` authentication filter. Because the platform allows open registration by default, any self-registered user can call these endpoints to enumerate metadata for every table in the database, including table names, column names, and column types, as well as read or download the generated code artifacts for any table and modify or delete code-generation configuration.
The `getTableList` endpoint builds a `DataSource` directly from the application's own database connection settings (including the account and password) and retrieves table structures through `TableInfoList`, with no role restriction of any kind. |
|---|
| المصدر | ⚠️ https://github.com/bkglfpp/CVE-md/blob/main/PerfreeBlog-main/codegen-missing-auth-db-schema-disclosure.md |
|---|
| المستخدم | youran (UID 89737) |
|---|
| ارسال | 02/11/2026 08:13 PM (29 أيام منذ) |
|---|
| الاعتدال | 30/11/2026 06:22 PM (28 days later) |
|---|
| الحالة | تمت الموافقة |
|---|
| إدخال VulDB | 446174 [PerfreeBlog حتى 4.0.11 Codegen CodegenController.java تجاوز الصلاحيات] |
|---|
| النقاط | 20 |
|---|