AIT-GUI route chain allows unauthenticated Python execution in server process
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in ait-gui 2.5.1.
AIT GUI provides a framework for building custom websites for real-time telemetry monitoring, commanding, and other mission operations. From 1.0.0 until 2.5.1, POST /tlm/query in ait/gui/__init__.py writes attacker-controlled field data to fields_in.txt, and its no-PCAP error path can abort before deleting that file. The unauthenticated POST /script/run route accepts a scriptPath that resolves outside ScriptRoot, reads the selected file, and executes it as Python. A network-reachable attacker can obtain the ordinary session cookie without credentials, combine the two routes, and execute arbitrary Python code with the AIT-GUI server process privileges. This issue is fixed in version 2.5.1.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| NASA-AMMOS | >=1.0.0 <2.5.1 | ||
| pypi: ait-gui | >=1.0.0 <2.5.1, >=1.0.0 <=2.5.0 | 2.5.1 |
Timeline
Every event on this vulnerability
Embed
A live severity badge for an advisory, README or ticket