Description
The admin API in the tomato module before 0.0.6 for Node.js does not properly check the access key when it is set to a string, which allows remote attackers to bypass authentication via a string in the access-key header that partially matches config.master.api.access_key.
Remediation
References
https://github.com/leizongmin/tomato/commit/9e427d524e04a905312a3294c85e939ed7d57b8c
http://www.openwall.com/lists/oss-security/2014/05/13/1
http://www.openwall.com/lists/oss-security/2014/05/15/2
https://nodesecurity.io/advisories/Tomato_API_Admin_Auth_Weakness
Related Vulnerabilities
CVE-2022-21222 Vulnerability in maven package org.webjars.npm:css-what
CVE-2021-3645 Vulnerability in npm package @viking04/merge
CVE-2016-5018 Vulnerability in maven package tomcat:jasper-runtime
CVE-2023-26152 Vulnerability in npm package static-server
CVE-2018-3739 Vulnerability in maven package org.webjars.npm:https-proxy-agent