See how potato compares to other vendors in security performance
Potato is a portable annotation tool. From 2.4.0 until 2.14.1, deployments using the webagenttrace or webagentrecorder display type expose /api/webagent/proxy/<url> to a logged-in annotator or a holder of a proxy token. In potato/webproxy.py, validateurl passes urlparse(url).hostname to isprivateip, which uses getaddrinfo once and allows a socket.gaierror lookup failure. The proxy follows redirects without checking the destination, allowing a public URL to redirect to a private or loopback service. A URL containing a backslash in its authority can also be interpreted differently by the validator and the HTTP client, causing a connection to an internal address after the failed hostname lookup is allowed. An annotator can read the internal response, and open enrollment with local registration can make an annotator account available to anyone who can reach the deployment. This issue is fixed in version 2.14.1.
Potato is a portable annotation tool. From 2.4.0 until 2.14.1, deployments using the webagenttrace or webagentrecorder display type expose /api/webagent/proxy/<url> to a logged-in annotator or a holder of a proxy token. In potato/webproxy.py, validateurl passes urlparse(url).hostname to isprivateip, which uses getaddrinfo once and allows a socket.gaierror lookup failure. The proxy follows redirects without checking the destination, allowing a public URL to redirect to a private or loopback service. A URL containing a backslash in its authority can also be interpreted differently by the validator and the HTTP client, causing a connection to an internal address after the failed hostname lookup is allowed. An annotator can read the internal response, and open enrollment with local registration can make an annotator account available to anyone who can reach the deployment. This issue is fixed in version 2.14.1.