Skip to content
RCE Disclosed report Advanced

Unauthenticated Remote Code Execution in NASA AMMOS AIT-GUI 2.5.0 via /tlm/query file write chained to /script/run code execution

An unauthenticated attacker could reach the /tlm/query endpoint to create files and then use insufficient path validation in /script/run to execute attacker-controlled Python code. This allowed arbitrary operating-system commands to run with the privileges of the AIT-GUI process.

ward0 Follow

Originally disclosed on Bugcrowd

Critical View original
  • Accepted in 31 days
  • Fixed in 2 months
  • Disclosed after 2 months

Summary by ward0

Unauthenticated Remote Code Execution in NASA AMMOS AIT-GUI 2.5.0

An unauthenticated remote code execution vulnerability was identified in NASA AMMOS AIT-GUI 2.5.0.

The issue resulted from a chain involving unauthenticated access to the /tlm/query endpoint, attacker-controlled file creation, and insufficient path validation in /script/run, allowing attacker-controlled Python code to be executed by the AIT-GUI process.

The vulnerability was reproduced against a self-hosted instance of AIT-GUI 2.5.0 without accessing NASA production systems. The issue was reported through the NASA Vulnerability Disclosure Program, successfully validated by Bugcrowd, and subsequently resolved by the program.

CVSS v3.1: 9.8 (Critical)

The vulnerability could allow a remote unauthenticated attacker who can reach an exposed AIT-GUI service to execute arbitrary operating-system commands with the privileges of the application process.

The original report as published on Bugcrowd, by ward0. Images and videos are our own copies; raw HTML is shown as text. View it on Bugcrowd.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely missing authentication on the /tlm/query endpoint combined with insufficient path validation in /script/run, allowing an attacker to write and then execute a Python file.

Impact

A remote unauthenticated attacker who can reach an exposed AIT-GUI service could execute arbitrary operating-system commands with the privileges of the application process.

What the attacker needed

Network access to AIT-GUI service

The fix

The issue was resolved by the program.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

This software lets users send commands to a spacecraft test system. Two parts of the web interface did not check who was calling or what file paths were used, so someone on the network could make the server write a file and then run it as a program. That gave the attacker the same powers as the server itself.

What is RCE?

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.

More from National Aeronautics and Space Administration (NASA) - Vulnerability Disclosure Program

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Remote code execution

The lesson behind this report.

Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.