| Title | https://gitee.com/PerfreeBlog/PerfreeBlog/ PerfreeBlog 1.0 Missing Authorization |
|---|
| Description | 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. |
|---|
| Source | ⚠️ https://github.com/bkglfpp/CVE-md/blob/main/PerfreeBlog-main/codegen-missing-auth-db-schema-disclosure.md |
|---|
| User | youran (UID 89737) |
|---|
| Submission | 11/02/2026 20:13 (28 days ago) |
|---|
| Moderation | 11/30/2026 18:22 (28 days later) |
|---|
| Status | Accepted |
|---|
| VulDB entry | 446174 [PerfreeBlog up to 4.0.11 Codegen CodegenController.java authorization] |
|---|
| Points | 20 |
|---|