Skip to content
Access control Write-up Beginner

Massive Data Leak using Unauthenticated ARC GIS REST service

An unauthenticated ArcGIS REST service exposed an ExportCSV task that allowed anyone to submit a job and download a zip file containing sensitive farm profile data. The attacker could access location, crop, auditing, soil health, property and tenancy information without logging in.

infosecwriteups.com

Published on infosecwriteups.com

This write-up is about my recently resolved bug as it belongs to Private program and with their permission i am writing this blog with redacted details.

Ronak Patel, on infosecwriteups.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

Impact

An unauthenticated attacker could download a zip file containing massive amounts of sensitive farm profile data, including farm locations, crops, third-party auditing status, soil health, property names, and tenancy details.

What the attacker needed

None

How it was found

  1. Find the subdomain gis.example.com through recon.
  2. Access the REST endpoint at gis.example.com/server/rest/services.
  3. Navigate to the ExportCSV service directory.
  4. Submit a task through the unauthenticated task submission UI.
  5. Download the generated zip file containing the exported data.

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 server was running a mapping service that had a feature to export data as a CSV file. That feature did not check if the person using it was logged in, so anyone who found the address could ask it to create a file and then download it. The file contained private information about farms.

What is Access control?

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.