Skip to content
Business logic Write-up Intermediate

Unauthenticated API Abuse via Missing Origin Validation and Repla

The Site24x7 RUM data ingestion API does not validate the origin or referer of incoming requests, and the appKey is exposed in client-side JavaScript. An unauthenticated attacker can send spoofed POST requests with arbitrary timing data and replay identical payloads to poison Apdex scores and exhaust pageview quotas.

Harish muthyala Follow

Published on medium.com

The Site24x7 RUM data ingestion API (col.site24x7rum.in/rum/data) fails to validate the origin, referer, or authenticity of incoming performance metrics. Because the appKey is natively exposed in the client-side JavaScript snippet, an unauthenticated external attacker can intercept legitimate telemetry and submit…

Harish muthyala, on medium.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 server does not validate the Origin or Referer headers and does not deduplicate or timestamp-check incoming payloads, trusting the client-supplied appKey.

Impact

An attacker could poison Apdex metrics to trigger false alerts and exhaust the tenant's pageview quota, causing operational disruption and potential financial charges.

What the attacker needed

Access to a site with the RUM snippet; ability to intercept HTTP traffic; knowledge of the target's appKey

The fix

The backend should enforce origin validation, implement deduplication and timestamp validation, and add anomaly detection.

How it was found

  1. Navigate to a site with the legitimate RUM snippet and intercept the outgoing POST request.
  2. Modify the Origin and Referer headers to an unauthorised domain and inject that domain into the JSON body.
  3. Observe the server returns HTTP 200, accepting data from the unauthorised source.
  4. Modify the dataList array to set impossible response times (e.g., 125000ms).
  5. Send the payload and observe the Apdex score drop to 0.161, triggering alerts.
  6. Replay the exact same request hundreds of times using Burp Intruder with null payloads.

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.

This report is about a service that collects website performance data. The service did not check where the data came from, so anyone could send fake data. The attacker could make the performance scores look terrible and use up the victim's paid data quota.

What is Business logic?

The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.

Similar reports

View all

Same bug class and techniques, clearest first.

Business logic flaws

The lesson behind this report.

The application works as coded but not as intended: a negative price, a skipped payment step, a limit that can be crossed.