Skip to content
Leaked secrets Write-up Beginner

Exploit exposed zendesk API Token for $1000

A Zendesk API token was committed to a public GitHub repository, allowing anyone who found it to authenticate to the support desk. The attacker could then read all users and tickets and gain full access to the support desk.

medium.com

Published on medium.com

During our search, we discovered that the program was using Zendesk as its support desk service. While reviewing their company GitHub repository, we found a .zat file that exposed a Zendesk token/password.

sushant, 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 a developer committed a configuration file containing a Zendesk API token to a public GitHub repository.

Impact

The token gave full access to the support desk, exposing all users and user-generated tickets.

What the attacker needed

Public GitHub repository; Zendesk API token in a file

How it was found

  1. Search the company's public GitHub repository.
  2. Find a .zat file containing a Zendesk token and username.
  3. Use the token with the Zendesk API to access user and ticket endpoints.

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 company accidentally left a password-like key in a public code repository. That key let anyone log into their customer support system and see private information like user lists and support tickets.

What is Leaked secrets?

Keys, tokens or passwords left in public code, apps, logs or responses, that grant real access.

Similar reports

View all

Same bug class and techniques, clearest first.

Leaked secrets and credentials

The lesson behind this report.

Keys, tokens or passwords left in public code, apps, logs or responses, that grant real access.