84 matches found
Open Redirect
Overview Affected versions of this package are vulnerable to Open Redirect via the sanitizeURI function in the trailing-slash middleware and static directory redirects. An attacker can request a path such as /%09/attacker.example/x/; when a redirect is generated, the decoded tab between the slash...
Reliance on Untrusted Inputs in a Security Decision
Overview github.com/labstack/echo/v4/middleware is a middleware package for echo. Affected versions of this package are vulnerable to Reliance on Untrusted Inputs in a Security Decision via the Context.Scheme method in Echo’s request context. A remote unauthenticated attacker can send...
Open Redirect
Overview github.com/labstack/echo/v4/middleware is a middleware package for echo. Affected versions of this package are vulnerable to Open Redirect via the sanitizeURI function in the trailing-slash middleware and static directory redirects. An attacker can request a path such as...
Reliance on Untrusted Inputs in a Security Decision
Overview github.com/labstack/echo/v5/middleware is a middleware package for echo. Affected versions of this package are vulnerable to Reliance on Untrusted Inputs in a Security Decision via the Context.Scheme method in Echo’s request context. A remote unauthenticated attacker can send...
Open Redirect
Overview Affected versions of this package are vulnerable to Open Redirect via the Scheme method in the Context component. An attacker can cause WWWRedirect, NonWWWRedirect, and their WithConfig variants to place an attacker-chosen URI scheme in the Location header by sending a request with a...
Open Redirect
Overview Affected versions of this package are vulnerable to Open Redirect via the Scheme method in the Context component. An attacker can cause WWWRedirect, NonWWWRedirect, and their WithConfig variants to place an attacker-chosen URI scheme in the Location header by sending a request with a...
Use of Less Trusted Source
Overview github.com/labstack/echo/v5/middleware is a middleware package for echo. Affected versions of this package are vulnerable to Use of Less Trusted Source via the ExtractIPFromRealIPHeader function in ip.go. With the extractor’s default trust options, an attacker can make c.RealIP return a...
Unchecked Return Value
Overview github.com/labstack/echo/v5/middleware is a middleware package for echo. Affected versions of this package are vulnerable to Unchecked Return Value via the BodyDump middleware in middleware/bodydump.go. An attacker can cause a handler to accept a truncated request despite the configured...
Unchecked Return Value
Overview github.com/labstack/echo/v4/middleware is a middleware package for echo. Affected versions of this package are vulnerable to Unchecked Return Value via the BodyDump middleware in middleware/bodydump.go. An attacker can cause a handler to accept a truncated request despite the configured...
Use of Non-Canonical URL Paths for Authorization Decisions
Overview github.com/labstack/echo/v5/middleware is a middleware package for echo. Affected versions of this package are vulnerable to Use of Non-Canonical URL Paths for Authorization Decisions via the Static middleware in middleware/static.go. When Static is attached to a catch-all route alongsid...
Use of Non-Canonical URL Paths for Authorization Decisions
Overview github.com/labstack/echo/v4/middleware is a middleware package for echo. Affected versions of this package are vulnerable to Use of Non-Canonical URL Paths for Authorization Decisions via the Static middleware in middleware/static.go. When Static is attached to a catch-all route alongsid...
Origin Validation Error
Overview github.com/labstack/echo/v5/middleware is a middleware package for echo. Affected versions of this package are vulnerable to Origin Validation Error via the ToMiddleware function in the Echo proxy middleware. When EchoIPExtractor is unset, an attacker can bypass upstream IP-based access...
LabStack Echo input validation error vulnerability
Versions of LabStack Echo prior to 4.16.0 and from 5.0.0 up to 5.4.0 contain a security vulnerability. This vulnerability arises because the globally mounted middleware.Static instance fails to align its parsing of encoded request paths with those of the Echo router. The router still matches...
LabStack Echo improper exception handling vulnerability
In LabStack Echo versions 5.0.0 through 5.4.1, there is an improper exception handling vulnerability. This occurs when the capture limit of the BodyDump middleware falls below the BodyLimit threshold; as a result, unknown-length requests are ignored, and any read errors or BodyLimit overflow erro...
LabStack Echo input validation error vulnerability
Versions of LabStack Echo prior to 4.15.2 and from 5.0.0 up to 5.1.1 contain an input validation error vulnerability. This vulnerability arises because Context.Scheme fails to validate whether X-Forwarded-Proto, X-Forwarded-Protocol, or X-Url-Scheme correspond to a supported web scheme. WWWRedire...
LabStack Echo authorization issue vulnerability
In versions 4.0.0 through 5.1.0 of LabStack Echo, there is an authorization issue vulnerability. This occurs because when Echo.IPExtractor is not configured, Context.RealIP falls back to the X-Forwarded-For or X-Real-IP values provided by the client. By default, the RateLimiter uses these values ...
LabStack Echo Trust Management issue vulnerability
In LabStack Echo versions 5.0.0 through 5.4.1, there is a trust management vulnerability. This vulnerability arises from ExtractIPFromRealIPHeader’s validation of whether the X-Real-IP value provided by the client falls within a trusted range; it does not directly verify the network endpoint...
LabStack Echo input validation error vulnerability
Versions of LabStack Echo prior to 4.16.0 and from 5.0.0 up to 5.4.0 contain an input validation error vulnerability. This vulnerability arises because Context.Scheme unconditionally trusts protocol headers forwarded by any client, potentially allowing attackers to bypass HTTPS Redirects by...
LabStack Echo input validation error vulnerability
In LabStack Echo versions 4.0.0 through 5.4.0, there is an input validation error vulnerability. This occurs because when Echo.IPExtractor is not configured, the Proxy middleware retains the X-Real-IP header provided by attackers and forwards it to upstream services. As a result, these services m...
LabStack Echo resource management error vulnerability
In LabStack Echo versions from 4.0.0 up to but including 4.16.1, there is a resource management error vulnerability. This vulnerability arises because the Decompress middleware fails to limit the size of the request body after gzip decompression. As a result, small-compressed requests can be...