Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Catch double charset evasion #3692

Open
theseion opened this issue May 5, 2024 · 0 comments
Open

Catch double charset evasion #3692

theseion opened this issue May 5, 2024 · 0 comments

Comments

@theseion
Copy link
Contributor

theseion commented May 5, 2024

We have a test case (920480) for double charset evasion, which is currently commented because that functionality doesn't exist yet:

  - test_id: 12
    stages:
      - input:
          dest_addr: "127.0.0.1"
          port: 80
          method: "POST"
          headers:
              User-Agent: "OWASP CRS test agent"
              Host: "localhost"
              # double charset may cause evasion
              Content-Type: "application/x-www-form-urlencoded;charset=utf-8;charset=ibm037"
          data: "test=value"
        output:
          log:
            expect_ids: [920480]

Implement the missing functionality.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant