| 제목 | https://gitee.com/PerfreeBlog/PerfreeBlog/ PerfreeBlog 1.0 SQL Injection |
|---|
| 설명 | None of the seven pagination endpoints under PerfreeBlog's backend (`/api/auth/**`) carry a `@PreAuthorize` annotation; they rely solely on Spring Security's authentication filter. Because the platform allows open registration by default, any self-registered user can reach them. These endpoints share the same sort-construction logic as the frontend endpoints, concatenating `sortingFields[].field` from the request body directly into the SQL `ORDER BY` clause, resulting in SQL injection.
The `add`, `update`, and `del` methods in the same controllers all carry `@PreAuthorize` annotations, and only the pagination methods are missing them — an authorization configuration oversight. |
|---|
| 원천 | ⚠️ https://github.com/bkglfpp/CVE-md/blob/main/PerfreeBlog-main/backend-pagination-order-by-injection.md |
|---|
| 사용자 | youran (UID 89737) |
|---|
| 제출 | 2026. 11. 02. PM 08:09 (28 날 ago) |
|---|
| 모더레이션 | 2026. 11. 30. PM 06:22 (28 days later) |
|---|
| 상태 | 수락 |
|---|
| VulDB 항목 | 446173 [PerfreeBlog 까지 4.0.11 MyBatisUtils.java buildPage field SQL 주입] |
|---|
| 포인트들 | 20 |
|---|