Skip to content

← Public intelligence

npm package

tomato

Open actionable advisories and recorded vendor fixes. This public package view has no inventory attached and cannot establish whether your deployment is affected. A vendor fix never resolves your finding; verify your installed version and the source guidance.

Open advisories

1 actionable advisory, newest first. Withdrawn advisories and news are excluded. Coverage is partial.

  1. UnratednpmAmendedPublished

    API Admin Auth Weakness in tomato

    CVE-2013-7379 · GHSA-9vxc-g2jx-qj3p

    Affected
    • npm tomato <= 0.0.5
    Fixed in
    0.0.6· Vendor fix available
    Issue
    Versions of tomato prior to 0.0.6 are affected by a somewhat complex authentication bypass vulnerability in the admin service when only a single access key is configured on the server. The vulnerability allows an attacker to guess the password for the admin service, no matter how complex that password is, in less than 200 requests. Details The tomato API has an admin service that is enabled by setting up an accesskey in the config options. This accesskey is intended to protect the API admin from unauthorized access. Tomato verifies the accesskey by checking to see if the server accesskey incorporates the user provided value at any location. This allows an attacker to provide a single character as an accesskey, and so long as the server key contains at least one instance of that character it will be considered a valid key. Proof of Concept This is the snippet of code that does the comparison to authorize requests. For an accesskey that is set to anything that includes the letter 'a'…

    Recommended action: Upgrade to 0.0.6 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →