My Journey into Bug Bounty: Revealing My First Successful Discovery
A Kafka user with only write permission on a topic could also read, delete, and create consumer groups, indicating broken access control. An attacker with limited credentials could perform administrative operations beyond their intended permissions.
Published on medium.com
Cyber Security has always fascinated me so even after being in developer profile for more than 3 years, I have attended many security conferences like NullCon and BSidesAhmedabad . Whenever I used to get time, I used to read more about this field and solve CTFs.
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
What the attacker needed
Valid Kafka credentials with limited ACL; access to Kafka endpoint
How it was found
- Create a test user and grant only topic write ACL.
- Connect to Kafka using that user's credentials.
- Attempt to read, delete, and create consumer groups.
- Observe that these operations succeed despite lacking permissions.
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.
Access control is like a bouncer at a club: it decides who can do what. Here, a user was supposed to only be able to write messages to a topic, but the system let them also read, delete, and manage groups. This means someone with low-level access could do more than they should.
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.