The Bug That Wasn’t a Bug — Until It Was: My First Bug Bounty Story
An agent installed on a user's machine continued to receive and execute configurations after the customer account was deleted, because the server did not validate that the request came from a legitimate customer's agent during configuration execution. An attacker could potentially deploy configurations to devices belonging to deleted customers.
medium.com
Published on medium.com
I’m new to security and bug bounty hunting, and I’m still learning and exploring this vast field. This is my first bug bounty experience, and it taught me an important lesson about how security issues should be reported.
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 authenticated the agent only when the configuration was created, not when the agent later requested and executed it, so deleted customers' agents remained trusted.
Impact
An agent belonging to a deleted customer could still receive and execute configurations, potentially allowing unauthorised control over devices that should no longer be managed.
What the attacker needed
Access to create a customer; ability to install an agent; ability to deploy a configuration; ability to delete the customer
How it was found
- Create a customer
- Install the agent on a machine
- Deploy a configuration to show an alert message
- Delete the customer before the next agent refresh cycle
- Observe that the configuration is still deployed and the alert appears
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.
An agent is a small program installed on a computer to manage it. The server should check that any agent asking for instructions belongs to a real, active customer. Here, after the customer was deleted, the agent could still get and run instructions, which could let someone control devices that should no longer be managed.
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.