Skip to content

Potential slowloris attack #880

Closed
Closed
@philipjonsen

Description

@philipjonsen

DESCRIPTION:

Slowloris is a type of denial of service (DoS) attack tool which allows a single machine to take down another machine's web server with minimal bandwidth and side effects on unrelated services and ports.

Slowloris tries to keep many connections to the target web server open and hold them open as long as possible. It accomplishes this by opening connections to the target web server and sending a partial request. Periodically, it will send subsequent HTTP headers, adding to but never completing the request. Affected servers will keep these connections open, filling their maximum concurrent connection pool and eventually denying additional connection attempts from clients.

It is recommended to have a timeout for connections to prevent such attacks.

REFERENCES
CWE-400

Potential Slowloris Attack because ReadHeaderTimeout is not configured in the http.Server here:

hive/blob/master/internal/libhive/run.go#L142-L142
hive/blob/master/internal/fakes/container.go#L75-L75

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions