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
http://blog.securelayer7.net/keystonejs-open-source-penetration-testing-report/
https://github.com/keystonejs/keystone/issues/4437
https://github.com/keystonejs/keystone/pull/4478
https://www.exploit-db.com/exploits/43922/
Related Vulnerabilities
CVE-2009-2625 Vulnerability in maven package xerces:xercesimpl
CVE-2023-26140 Vulnerability in npm package @excalidraw/excalidraw
CVE-2020-7780 Vulnerability in maven package com.softwaremill.akka-http-session:core_2.11
CVE-2017-12617 Vulnerability in maven package org.apache.tomcat:tomcat-util
CVE-2018-1000822 Vulnerability in maven package org.codelibs.fess:fess