Submit #1070585: https://gitee.com/PerfreeBlog/PerfreeBlog/ PerfreeBlog 1.0 SQL Injectioninfo

Titelhttps://gitee.com/PerfreeBlog/PerfreeBlog/ PerfreeBlog 1.0 SQL Injection
BeschreibungNone 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.
Quelle⚠️ https://github.com/bkglfpp/CVE-md/blob/main/PerfreeBlog-main/backend-pagination-order-by-injection.md
Benutzer
 youran (UID 89737)
Einreichung02.11.2026 20:09 (vor 28 Tagen)
Moderieren30.11.2026 18:22 (28 days later)
StatusAkzeptiert
VulDB Eintrag446173 [PerfreeBlog bis 4.0.11 MyBatisUtils.java buildPage field SQL Injection]
Punkte20

Do you want to use VulDB in your project?

Use the official API to access entries easily!