Skip to content
This repository was archived by the owner on May 14, 2020. It is now read-only.
This repository was archived by the owner on May 14, 2020. It is now read-only.

942450 (CRS3) SQL Hex Encoding Identified #451

Description

@dune73

The rule 942450 includes REQUEST_COOKIES in PL1. That's basically fine, but at times you get a session cookie which contains a string looking like a hexencoded string, when it's not. A classical case of a false positive.

Possible remedies:
(1) Whitelist cookies that resemble session cookies. Exclude names containing "SESS" like JSESSIONID but also MYSAPSSO2.
(2) Remove REQUEST_COOKIES from PL1 and add a strict sibling with REQUEST_COOKIES in PL2.

We are already excluding a few cookies by name in 942450. Still, it feels a bit hacky. So I would generally propose to go with variant 2.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions