CSRF resulting in adding pet at ███████
The application did not properly validate user-supplied input, allowing a cross-site request forgery attack. An attacker who knows a victim's account ID could forge a request from an external site to add a pet to that victim's account.
- Triaged in 6 days
- Fixed in 59 days
- Disclosed after 5 months
Summary by the program
An insufficient validation of user-supplied input in the application occurred, allowing a Cross-Site Request Forgery (CSRF) vulnerability. The attacker can forge requests from an external website to add pets to the victim's account on █████████, provided the attacker knows the victim's account ID.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the pet-adding endpoint lacked a CSRF token or other origin check, so it accepted state-changing requests from other sites.
Impact
An attacker could add unwanted pets to a victim's account, but only if they already knew the victim's account ID.
What the attacker needed
Attacker knows victim's account ID
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 report has not been written yet. The Original tab links to the source.
Cross-site request forgery (CSRF) is when a malicious website makes a visitor's browser send a request to another site where the visitor is already logged in, without the visitor meaning to. Here, the pet-adding action did not check that the request genuinely came from the application, so a crafted page could add a pet to someone else's account if their account ID was known.
What is CSRF?
Another site makes a signed-in user's browser perform an action they did not intend.