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.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | tomato | < 0.0.6 | 0.0.6 | GHSA-9vxc-g2jx-qj3p |
References
- [oss-security] 20140514 Re: CVE request: various NodeJS module vulnerabilities mailing-list
- [oss-security] 20140513 CVE request: various NodeJS module vulnerabilities mailing-list
- https://nodesecurity.io/advisories/Tomato_API_Admin_Auth_Weakness
- https://github.com/leizongmin/tomato/commit/9e427d524e04a905312a3294c85e939ed7d57b8c