Cross-Site Request Forgery in yetiforce
Yetiforce versions up to 6.3.0 have a cross-site request forgery flaw that lets an attacker create a new administrator account, even when SameSite cookies are set to Strict. Any user, including a guest, can exploit it to escalate privileges.
yetiforcecompany/yetiforcecrm
Originally disclosed on huntr
Versions of yetiforce 6.3.0 and prior are subject to privilege escalation via a cross site request forgery bug. This allows an attacker to create a new admin account even with SameSite: Strict enabled. This vulnerability can be exploited by any user on the system including guest users.
From the GitHub Advisory Database (GHSA-7g7r-gr46-q4p5, CC BY 4.0).
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 application performs state-changing actions without a proper anti-CSRF token, and the SameSite cookie setting alone does not prevent the attack.
Impact
An attacker could create a new administrator account, leading to privilege escalation, and any user including guests could exploit it.
What the attacker needed
Attacker can lure a victim; victim is logged in; guest access may suffice
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) tricks a logged-in user's browser into sending a request the user did not intend, such as creating an admin account. Here, the site's protection against this (SameSite cookies) was not enough, so even a guest could trigger the action.
What is CSRF?
Another site makes a signed-in user's browser perform an action they did not intend.