Skip to content
RCE Write-up Advanced

Key Takeaways

An unauthenticated remote code execution flaw existed in a public EAC web application's simulation endpoint, where a client-supplied Time Study value was evaluated as a Python expression. An attacker could execute code as root inside the backend container, read locally protected resources, and make outbound network connections.

xbow.com

Published on xbow.com

My name is Ariel Garcia. I’m a Security Researcher and part of the Public-XBOW Team.

The author, on xbow.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

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

How it worked

Root cause

Likely the backend evaluated a client-controlled serialized Time Study value as a Python expression rather than parsing it safely as data.

Impact

An unauthenticated attacker could execute code as root inside the backend Linux container, access locally protected resources, and initiate outbound network connections; the text does not mention any defence that limited the exploit.

What the attacker needed

No authentication; network access to the public app; crafted simulation request

The fix

The vulnerability was fixed by the EAC after being reported under its vulnerability disclosure policy.

How it was found

  1. Download the public Next.js frontend bundle and inspect it to find the API base and the /ulteac/run-simulation endpoint.
  2. Build a normal simulation request from the frontend code; the first attempt returned HTTP 400 for a missing field.
  3. Return to the frontend source, find how the missing field is populated, and resend to get HTTP 200.
  4. Change only the Time Study subOptions.data value to a timing expression that preserves the expected numeric shape.
  5. Observe HTTP 500 but a response time of about 4.1 seconds matching the requested delay.
  6. Repeat with multiple controlled delays and confirm a 1:1 relationship between requested and observed execution time.

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 write-up has not been written yet. The Original tab links to the source.

A web application let users upload a spreadsheet of time estimates for a calculator. The server took a value from that spreadsheet and ran it as computer code instead of just reading it as a number. Because no login was needed, anyone on the internet could make the server run their code, and that code ran with the highest level of permission inside the server's container.

What is RCE?

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

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.