Description
EFAK through 5.1.0 contains a missing authorization vulnerability that allows authenticated low-privilege users to manage accounts because the /api/users endpoints lack administrator role checks. Attackers can send POST, PUT, or DELETE requests to UserController to grant themselves ROLE_ADMIN, create administrators, or delete users, gaining control of managed Kafka clusters.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| smartloli | EFAK | 5.0.0 – ≤ 5.1.0 | — |
References
- https://hackmd.io/@hieuPenguinnn/efak-missing-admin-gate-user-management-api third-party-advisory
- https://github.com/smartloli/EFAK/blob/v5.1.0/efak-web/src/main/java/org/kafka/eagle/web/security/config/WebSecurityConfig.java#L89-L93 technical-description
- https://github.com/smartloli/EFAK/blob/v5.1.0/efak-web/src/main/java/org/kafka/eagle/web/controller/UserController.java#L218-L302 technical-description
- https://github.com/smartloli/EFAK product
- VulnCheck Advisory: EFAK through 5.1.0 Privilege Escalation via /api/users REST API third-party-advisory