I Curled Two Endpoints and Got a CVE
Two Zammad API endpoints, getting_started and signshow, returned configuration data without requiring authentication. An attacker could read internal email addresses, department names, SLA settings, the GitLab SSO backend, session lifetime and enabled auth methods, which together support a targeted phishing campaign.
medium.com
Published on medium.com
Just curl, a subdomain I almost skipped, and two API endpoints that forgot authentication existed.
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 two API endpoints were written without an authentication check, so they served configuration data to any unauthenticated caller.
Impact
An attacker could assemble a spear-phishing campaign from the leaked department structure, email addresses, SSO backend and long session lifetime, and a stolen GitLab account could pivot into the helpdesk; the text does not show the exploit being carried out.
What the attacker needed
Network access to the Zammad host; no account needed
The fix
It was fixed in Zammad 6.5.4 and 7.0.1 by restricting both endpoints to authenticated sessions.
How it was found
- Find a subdomain hosting a Zammad instance and load its login page.
- Read the JavaScript bundle to learn which API endpoints the instance uses.
- Request the endpoints without credentials and note which return data instead of an authentication error.
- Inspect the JSON returned by the two open 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 helpdesk system has API addresses that programs use to fetch data. Normally the server first checks that you are logged in before answering. Here two of those addresses answered anyone who asked, with no login at all, and handed back internal details about the company's staff groups, email addresses and login setup.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.