Description
Legcord 1.1.0 through 1.3.0 contains a configuration injection vulnerability that allows script in the Discord page to write any config key via the window.legcord settings.setConfig bridge. Attackers exploiting a Discord XSS can set additionalArguments to persistently add --proxy-server and --ignore-certificate-errors switches, routing all client traffic through an interception proxy.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Legcord | Legcord | 1.1.0 – ≤ 1.3.0 | — |
References
- GitHub Issue #1163 issue-tracking
- https://github.com/Legcord/Legcord product
- https://github.com/Legcord/Legcord/blob/v1.3.0/src/discord/ipc.ts#L296-L299 technical-description
- https://github.com/Legcord/Legcord/blob/v1.3.0/src/main.ts#L277-L307 technical-description
- VulnCheck Advisory: Legcord 1.1.0 through 1.3.0 Chromium Switch Injection via settings.setConfig third-party-advisory