Description (CNA)
Yamcs is a mission control framework. Prior to 5.9.4, Yamcs reflects an attacker-controlled redirect_uri parameter from GET /auth/authorize into yamcs-core/src/main/resources/auth/templates/authorize.html without adequate HTML escaping by yamcs-core/src/main/java/org/yamcs/http/auth/AuthHandler.java and yamcs-core/src/main/java/org/yamcs/http/HandlerContext.java. A crafted authorization URL can execute JavaScript when opened by a Yamcs user. The script can access browser-held authentication material and transmit it to an attacker, enabling account compromise. This issue is fixed in version 5.9.4.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| yamcs / yamcs | affected < 5.9.4 |
CWE
CWE-79
References
- https://github.com/yamcs/yamcs/security/advisories/GHSA-rxpg-wjf8-qv9c
- https://github.com/yamcs/yamcs/commit/4d47d5cdcf5d92c2c5bbbc19feada422923332e3
- https://github.com/yamcs/yamcs/releases/tag/yamcs-5.9.4
ADP enrichment
No English description supplied.