Skip to content

H2C smuggling in Nginx config rule does not pass when following recommended mitigation #3768

@mackenly

Description

@mackenly

Describe the bug

The rules's mitigtation advise says to hardcode the header to Upgrade websocket to avoid the possibility of H2C smuggling. However, even when implementing that mitigation, the rule continues to fail.

To Reproduce

Any socket.io style nginx proxy setup.

Expected behavior

The rule should not fire false positives when the suggested mitigtation actions are implemented.

Priority
How important is this to you?

  • P0: blocking me from making progress
  • P1: this will block me in the near future
  • P2: annoying but not blocking me

Additional Context

PR created with fix: #3767

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions