| शीर्षक | zhistaredu StarTraining 3.8.1 Improper Authorization |
|---|
| विवरण | StarTraining 3.8.1 — Role management APIs missing method-level authorization (ST-VULN-005)
Product: StarTraining 3.8.1
CWE: CWE-862
Classification: Improper Authorization
=== SUMMARY ===
`SysRoleController` add/edit/delete/dataScope endpoints lack `@PreAuthorize` and do not call `checkRoleAllowed` / `checkRoleDataScope`.
=== ROOT CAUSE ===
Missing method security on role CRUD handlers.
=== REPRODUCTION ===
POST /system/role HTTP/1.1
Host: 127.0.0.1:8900
Authorization: LOW_USER_TOKEN
Content-Type: application/json
Connection: close
{"roleName":"poc_role","roleSort":1,"status":"0","menuIds":[]}
Expected: HTTP 200 role created by non-admin user
=== IMPACT ===
Tenant role tampering; permission expansion.
=== FIX ===
Add @PreAuthorize on role endpoints; invoke service-layer checks.
|
|---|
| स्रोत | ⚠️ https://github.com/ArrestX/startraining-advisories/blob/main/advisories/ST-VULN-005-role-crud-missing-preauthorize.md |
|---|
| उपयोगकर्ता | thmanhz (UID 100327) |
|---|
| सबमिशन | 05/08/2026 02:19 AM (2 महीनों पहले) |
|---|
| संयम | 27/09/2026 05:38 AM (2 months later) |
|---|
| स्थिति | स्वीकृत |
|---|
| VulDB प्रविष्टि | 410809 [zhistaredu StarTraining तक 3.8.1 dataScope Endpoint SysRoleServiceImpl.java checkRoleAllowed अधिकार वृद्धि] |
|---|
| अंक | 20 |
|---|