|
1 | | ---- |
2 | | -title: CRS Versions 4.6.0 and 3.3.6 have been released |
3 | | -date: 2024-08-29 |
4 | | -author: amonachesi |
5 | | -categories: |
6 | | - - Blog |
7 | | ---- |
| 1 | +--- |
| 2 | +title: CRS versions 4.6.0 and 3.3.6 have been released |
| 3 | +date: 2024-08-29 |
| 4 | +author: amonachesi |
| 5 | +categories: |
| 6 | + - Blog |
| 7 | +--- |
8 | 8 | We have recently released version [4.6.0](https://github.com/coreruleset/coreruleset/releases/tag/v4.6.0) for CRS 4, fixing a serious problem. As this problem affects CRS 3 as well, we also did a backport release for v3. ([3.3.6](https://github.com/coreruleset/coreruleset/releases/tag/v3.3.6)). |
9 | | - |
10 | | -The new releases tackle two multipart file upload bypass methods that were reported by [@luelueking](https://github.com/luelueking): |
| 9 | + |
| 10 | +The new releases tackle two multipart file upload bypass methods that were reported by [@luelueking](https://github.com/luelueking): |
11 | 11 |
|
12 | 12 | 1. Wrapping the Content-Disposition with non-printable characters like \x0e (e.g. “%0e Content-Disposition %0e”) may allow the header to go undetected by the WAF engine as it may not be correctly parsed. |
13 | 13 | 2. Inserting the character \ in a filename (e.g. “1.j\s\p”) may let the filename go undetected. |
14 | 14 |
|
15 | 15 | The fixes introduced in both versions are the same: |
16 | | - |
| 16 | + |
17 | 17 | 1. We have added a new rule 922130 which checks if any multipart header contains a non-ASCII character (v4: [#3796](https://github.com/coreruleset/coreruleset/pull/3796); v3: [#3797](https://github.com/coreruleset/coreruleset/pull/3797)). |
18 | 18 | 2. The use of backslashes in file names is prevented (v4: [#3799](https://github.com/coreruleset/coreruleset/pull/3799), v3: [#3800](https://github.com/coreruleset/coreruleset/pull/3800)). |
19 | 19 |
|
20 | 20 | Thanks to @luelueking for bringing this to our attention. |
21 | 21 |
|
22 | 22 | Release 4.6.0 contains other features and fixes like |
23 | | - |
| 23 | + |
24 | 24 | - a rule to detect bash tilde expansions by [@Xhoenix](https://github.com/Xhoenix) ([#3765](https://github.com/coreruleset/coreruleset/pull/3765)) |
25 | 25 | - the addition of the .pem format to the restricted file extensions by [@EsadCetiner](https://github.com/EsadCetiner) ([#3789](https://github.com/coreruleset/coreruleset/pull/3789)) |
26 | 26 | - the removal of unnecessary chain rule and capture in rule 921180 by [@EsadCetiner](https://github.com/EsadCetiner) ([#3787](https://github.com/coreruleset/coreruleset/pull/3787)) |
27 | 27 | - a fix for rule 942160 by checking against REQUEST_FILENAME by [@mat1010](https://github.com/mat1010) ([#3782](https://github.com/coreruleset/coreruleset/pull/3782)) |
28 | | -- an update of rule 932270's version variable by [@airween](https://github.com/airween) ([#3786](https://github.com/coreruleset/coreruleset/pull/3786)) |
| 28 | +- an update of rule 932270's version variable by [@airween](https://github.com/airween) ([#3786](https://github.com/coreruleset/coreruleset/pull/3786)) |
0 commit comments