Description
KeystoneJS before 4.0.0-beta.7 allows application-wide CSRF bypass by removing the CSRF parameter and value, aka SecureLayer7 issue number SL7_KEYJS_03. In other words, it fails to reject requests that lack an x-csrf-token header.
Remediation
References
https://github.com/keystonejs/keystone/pull/4478
https://github.com/keystonejs/keystone/issues/4437
http://blog.securelayer7.net/keystonejs-open-source-penetration-testing-report/
https://www.exploit-db.com/exploits/43922/
Related Vulnerabilities
CVE-2020-35213 Vulnerability in maven package io.atomix:atomix
CVE-2019-10285 Vulnerability in maven package org.jenkins-ci.plugins:minio-storage
CVE-2020-2096 Vulnerability in maven package org.jenkins-ci.plugins:gitlab-hook
CVE-2021-21391 Vulnerability in npm package @ckeditor/ckeditor5-paste-from-office
CVE-2023-29922 Vulnerability in maven package tech.powerjob:powerjob