Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| cjbi / admin3 | affected 0 through 3.0.0 |
CWE
CWE-532
References
- 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
ADP enrichment
No English description supplied.
No references supplied.