-
-
Notifications
You must be signed in to change notification settings - Fork 401
Comparing changes
Open a pull request
base repository: coreruleset/coreruleset
base: v4.11.0
head repository: coreruleset/coreruleset
compare: v4.12.0
- 19 commits
- 82 files changed
- 8 contributors
Commits on Jan 27, 2025
-
chore: post-release v4.12.0-dev (#3987)
Signed-off-by: Felipe Zipitria <felipe.zipitria@owasp.org>
Configuration menu - View commit details
-
Copy full SHA for e54c463 - Browse repository at this point
Copy the full SHA e54c463View commit details
Commits on Feb 7, 2025
-
Configuration menu - View commit details
-
Copy full SHA for b971cd2 - Browse repository at this point
Copy the full SHA b971cd2View commit details
Commits on Feb 10, 2025
-
fix: prevent invalid commands matches on 5 characters or less (932220…
… PL-2, 932230 PL-1, 932232 PL-3, 932235 PL-1, 932236 PL-2, 932237 PL-3, 932238 PL-3, 932239 PL-2, 932250 PL-1, 932260 PL-1) (#3735) * fix: prevent invalid commands matches on 5 characters or less (932230 PL-1, 932235 PL-1, 932236 PL-2, 932237 PL-3, 932239 PL-2, 932250 PL-1, 932260 PL-1) * fix: copy paste error * fix: invalid output in tests * test: enable tests to detect new attacks * test: enable tests to detect new attacks * fix: correct description for 932250-4 * perf: use word boundry to prevent invalid matches * test: add test for id command * fix: invalid output for tests * fix: add missing line break * fix: invalid test format * chore: update toolchain * test: enable tests for newly detected attacks * fix: don't use word boundry to prevent invalid matches * chore: regenerate rules regex * fix: add chained rule to prevent common false positives * fix: setvar ordering * fix: use lf instead of crlf * fix: setvar ordering * fix: typos Co-authored-by: Max Leske <250711+theseion@users.noreply.github.com> * docs: clarify test descriptions * docs: improve descriptions * fix: brace expansion detection * style: improve test description formatting Co-authored-by: Max Leske <250711+theseion@users.noreply.github.com> * style: improve test description formatting * Update regex-assembly/932237.ra Co-authored-by: Max Leske <250711+theseion@users.noreply.github.com> * chore: update unix-shell.data * chore: update list generation scripts and update lists * fix: use correct match in list update script * chore: update unix-shell-fps-pl1 * chore: update regular expressions * chore: revert unnecessary chain rule * chore: fix failing tests * fix: linting error * fix: linting error * fix: whitespace * chore: move php / cron FPs to curated list * chore: do not exclude php / cron by commenting them in FP file * chore: update anti-evasion pattern in all places * chore: only exclude exact match for specific commands * chore: give quantitative tests write permissions to PR * chore: fix `yes` and `date` * up * fix: tests * fix: lint * update comments * fix: typo * up * fix: sync pl-2 exclusions with pl-1 * fix: some commands not being excluded correctly * chore: update regex * fix: exclude pwd from pl-1 * fix: fp with `hash` and `lastcommonreqid` * fix: pashto afghanistan user-agent fp at pl-3 * fix: copy-paste leftover * fix: exclude `install` at pl-2 * fix: exclude `ed` at pl-2 * chore: use correct toolchain version * typos Co-authored-by: Max Leske <250711+theseion@users.noreply.github.com> * fix: change definition of `~` and exclude exact match `java` * fix: test numbering * chore: update unix-shell.data * fix: typos * chore: update anti_evasion_no_space_suffixes Match at most 10 consecutive characters * fix: regression with unix evasion suffix no space * chore: update regex --------- Co-authored-by: Max Leske <250711+theseion@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 26bec41 - Browse repository at this point
Copy the full SHA 26bec41View commit details
Commits on Feb 12, 2025
-
Configuration menu - View commit details
-
Copy full SHA for 5d90945 - Browse repository at this point
Copy the full SHA 5d90945View commit details
Commits on Feb 13, 2025
-
fix: enable docker-compose renovate manager properly (#3995)
The presets we use for renovate implicitly exclude the path `**tests**`, where the docker-compose file resides. This causes renovate to ignore the file for the docker-compose manager. Explicitly override `ignorePaths` to fix this.
Configuration menu - View commit details
-
Copy full SHA for 2265f30 - Browse repository at this point
Copy the full SHA 2265f30View commit details -
chore(deps): update ghcr.io/coreruleset/albedo docker tag to v0.0.16 …
…in tests/docker-compose.yml (#4000) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 3aa1687 - Browse repository at this point
Copy the full SHA 3aa1687View commit details
Commits on Feb 17, 2025
-
docs: add warning about default charsets modification (#4003)
* docs: add warning about default charsets modification Signed-off-by: Felipe Zipitria <felipe.zipitria@owasp.org> * Update crs-setup.conf.example --------- Signed-off-by: Felipe Zipitria <felipe.zipitria@owasp.org>
Configuration menu - View commit details
-
Copy full SHA for 09462bf - Browse repository at this point
Copy the full SHA 09462bfView commit details -
chore: move rule_ctl to its own repo (#4004)
Signed-off-by: Felipe Zipitria <felipe.zipitria@owasp.org>
Configuration menu - View commit details
-
Copy full SHA for 0e58cc7 - Browse repository at this point
Copy the full SHA 0e58cc7View commit details
Commits on Feb 20, 2025
-
Configuration menu - View commit details
-
Copy full SHA for 80a5689 - Browse repository at this point
Copy the full SHA 80a5689View commit details
Commits on Feb 21, 2025
-
feat: prevent V1 cookie format use (#4006)
* feat: add old V1 detection to prevent cookie sandwich Signed-off-by: Felipe Zipitria <felipe.zipitria@owasp.org> * fix: update based on code review Signed-off-by: Felipe Zipitria <felipe.zipitria@owasp.org> * Update tests/regression/tests/REQUEST-921-PROTOCOL-ATTACK/921250.yaml * Update rules/REQUEST-921-PROTOCOL-ATTACK.conf Co-authored-by: Ervin Hegedus <airween@gmail.com> * Update tests/regression/tests/REQUEST-921-PROTOCOL-ATTACK/921250.yaml --------- Signed-off-by: Felipe Zipitria <felipe.zipitria@owasp.org> Co-authored-by: Ervin Hegedus <airween@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 954fb83 - Browse repository at this point
Copy the full SHA 954fb83View commit details
Commits on Feb 22, 2025
-
fix: fix response splitting rules and tests (#4009)
Response splitting can be achieved by injecting carriage return / new line characters at various places (headers, GET / POST arguments, cookies...). Some web servers or applications may be vulnerable to encoded injections (especially in URL paths), hence we explicitly decode URL encoding, where necessary. httpd and nginx are not vulnerable to header splitting and will respond with status 400. HTML entity decoding does not make sense in this context. No web server should ever decode HTML as part of the HTTP protocol. It is unclear why the original authors used `t:htmlEntityDecode` in some places, but at least in one test, a query argument separator (`&`) precedes a `%0d`, which leads to successful decoding of the escape sequence as HTML entity. This may explain an accidental use of `t:htmlEntityDecode`. Fixes #3824
Configuration menu - View commit details
-
Copy full SHA for 7015f9d - Browse repository at this point
Copy the full SHA 7015f9dView commit details -
chore: add debug versions for quick local testing (#4008)
* chore: add debug versions for quick local testing Signed-off-by: Felipe Zipitria <felipe.zipitria@owasp.org> * Update tests/docker-compose.yml * Update tests/docker-compose.yml * Update tests/docker-compose.yml Signed-off-by: Felipe Zipitria <felipe.zipitria@owasp.org> * Update tests/docker-compose.yml Co-authored-by: Max Leske <250711+theseion@users.noreply.github.com> * fix: add debug loglevel Signed-off-by: Felipe Zipitria <felipe.zipitria@owasp.org> * Apply suggestions from code review --------- Signed-off-by: Felipe Zipitria <felipe.zipitria@owasp.org> Co-authored-by: Max Leske <250711+theseion@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for bf3fb95 - Browse repository at this point
Copy the full SHA bf3fb95View commit details
Commits on Feb 24, 2025
-
fix(933160): use better regex (#4010)
* fix(933160): use better regex Signed-off-by: Felipe Zipitria <felipe.zipitria@owasp.org> * test: add extra test Signed-off-by: Felipe Zipitria <felipe.zipitria@owasp.org> --------- Signed-off-by: Felipe Zipitria <felipe.zipitria@owasp.org>
Configuration menu - View commit details
-
Copy full SHA for c023ef1 - Browse repository at this point
Copy the full SHA c023ef1View commit details
Commits on Feb 25, 2025
-
fix: move fopen to 933160 to resolve fp with `RootAndLeafOpenCamera.j…
…pg` (933150 PL-1, 933160 PL-1) (#4016) * fix: move fopen to 933160 to resolve fp with `RootAndLeafOpenCamera.jpg` (933150 PL-1, 933160 PL-1) * chore: regenerate regex
Configuration menu - View commit details
-
Copy full SHA for 67dffdc - Browse repository at this point
Copy the full SHA 67dffdcView commit details
Commits on Feb 26, 2025
-
Configuration menu - View commit details
-
Copy full SHA for d3d7c6c - Browse repository at this point
Copy the full SHA d3d7c6cView commit details
Commits on Feb 27, 2025
-
Configuration menu - View commit details
-
Copy full SHA for 59fc12d - Browse repository at this point
Copy the full SHA 59fc12dView commit details -
fix(941210): update log message to reflect rule javascript word detec…
…tion (#4023) Signed-off-by: Felipe Zipitria <felipe.zipitria@owasp.org>
Configuration menu - View commit details
-
Copy full SHA for 941bb73 - Browse repository at this point
Copy the full SHA 941bb73View commit details
Commits on Mar 1, 2025
-
fix: remove .env from lfi-os-files.data (#4024)
* fix: remove .env from lfi-os-files.data `.env` is probably the most generic entry in `lfi-os-files.data`. Unfortunatlye, since the words are matched using `@pmFromFile`, `.env` is easily matched as a substring. Most other entries are fairly unique or have a prefix or suffix that makes it unlikely for them to become FPs. Note that `.env` is only commented out on purpose. `lfi-os-files.data` is also used as the base for other word files (e.g., `restricted-files.data` and since `.env` hasn't been an issue there until now, we don't want to remove it from those lists. Fixes #3775 * tests: add FP tests for `.env`
Configuration menu - View commit details
-
Copy full SHA for 78d45b0 - Browse repository at this point
Copy the full SHA 78d45b0View commit details
Commits on Mar 2, 2025
-
chore: release v4.12.0 (#4025)
Signed-off-by: Felipe Zipitria <felipe.zipitria@owasp.org>
Configuration menu - View commit details
-
Copy full SHA for 6cf0b5d - Browse repository at this point
Copy the full SHA 6cf0b5dView commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v4.11.0...v4.12.0