Skip to content
RCE Disclosed report Intermediate

Remote Code Execution (RCE) via Insecure Deserialization in NASA GSFC HPLC Precision Analysis

The application deserialised untrusted cached report files with Python's pickle module, allowing an attacker to execute arbitrary commands. The issue was resolved by removing pickle and switching to a text-based format.

kernely Follow

Originally disclosed on Bugcrowd

Critical View original
  • Accepted in 33 days
  • Fixed in 34 days
  • Disclosed after 55 days

Summary by kernely

A Critical Remote Code Execution (RCE) vulnerability was identified in the NASA GSFC 'hplc-precision-analysis' repository due to insecure deserialization of untrusted data using the Python 'pickle' module (CWE-502).

The vulnerability resided in how the application handled cached report files, which could be weaponized to execute arbitrary commands in the analysis environment. I collaborated with the NASA security team to demonstrate the impact and suggest remediation. The issue was successfully resolved by removing the insecure 'pickle' functionality and migrating to a secure, text-based data format (.xlsx), ensuring both data integrity and system security.

The original report as published on Bugcrowd, by kernely. 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

Impact

An attacker could execute arbitrary commands in the analysis environment, though the text does not describe the exact conditions needed.

What the attacker needed

Ability to supply or influence a cached report file

The fix

The insecure pickle functionality was removed and replaced with a secure text-based format (.xlsx).

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.

Pickle is a way for Python programs to save and load objects. Loading a pickle file can run code hidden inside it, so if a program loads a file an attacker can control, the attacker can run their own commands on the server. Here the program loaded cached report files this way.

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.