Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check XSRF-Token Cookie against t parameter in update_com.woltlab.wcf_5.4_session_1_cookies.php #4052

Closed
TimWolla opened this issue Mar 7, 2021 · 0 comments

Comments

@TimWolla
Copy link
Member

TimWolla commented Mar 7, 2021

$hasValidXsrfToken = false;
if (!empty($_COOKIE['XSRF-TOKEN'])) {
if (CryptoUtil::validateSignedString($_COOKIE['XSRF-TOKEN'])) {
$hasValidXsrfToken = true;
}
}

@TimWolla TimWolla added the Bug label Mar 7, 2021
@TimWolla TimWolla added this to Needs Triage in WoltLab Suite 5.4 via automation Mar 7, 2021
WoltLab Suite 5.4 automation moved this from Needs Triage to Resolved Mar 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
No open projects
WoltLab Suite 5.4
  
Resolved
Development

No branches or pull requests

1 participant