Description
admin3 through 3.0.0 persists user session tokens in the audit log event body when publishing UserLoggedIn domain events. Attackers with log:view permission can read the JSON response from the GET /logs endpoint to harvest session tokens and replay them as bearer credentials for full user access.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
cjbi admin3
Default version status: unaffected
0 to ≤ 3.0.0affected
pkg:github/cjbi/admin3References
- https://github.com/LinYuanyi1/cve-request-poc/blob/master/admin3/C02_log_session_token_disclosure.py ↗
- https://github.com/cjbi/admin3/blob/3.0.0/admin3-server/src/main/java/tech/wetech/admin3/sys/service/LogService.java ↗
- https://github.com/cjbi/admin3/blob/3.0.0/admin3-server/src/main/java/tech/wetech/admin3/infra/service/DefaultSessionService.java ↗
- https://github.com/cjbi/admin3/blob/3.0.0/admin3-server/src/main/resources/data.sql ↗
- https://github.com/cjbi/admin3 ↗
- https://www.vulncheck.com/advisories/admin3-through-3.0.0-session-token-disclosure-via-audit-log ↗