8000 Sec-CH-UA / Sec-CH-UA-Mobile request headers are excluded from validation · Issue #2027 · coreruleset/coreruleset · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Sec-CH-UA / Sec-CH-UA-Mobile request headers are excluded from validation #2027
Closed
@somechris

Description

@somechris

Description

The Sec-CH-UA and Sec-CH-UA-Mobile are simply excluded from rule 920274 and not validated.

Sec-CH-UA-Mobile is a Structured Header boolean and can be validated by rule 920275.
Sec-CH-UA is most likely collateral damage from excluding Sec-CH-UA-Mobile, and Sec-CH-UA does not need to get excluded from rule 920274 at all.

For example:

curl --header 'Sec-CH-UA-Mobile: foo' https://$YOUR_SITE/

fails to trigger a rule on paranoia level 4.

Your Environment

  • CRS version (e.g., v3.2.0): v3.4/dev at e2839fe
  • Paranoia level setting: 4
  • ModSecurity version (e.g., 2.9.3): 3.1.0
  • Web Server and version (e.g., apache 2.4.41): apache 2.4.38
  • Operating System and version: Debian Buster

Confirmation

[x] I have removed any personal data (email addresses, IP addresses,
passwords, domain names) from any logs posted.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0