Skip to content

Monthly Chat Agenda January 2023 (2023-01-02 and 2022-01-16) #3037

@dune73

Description

@dune73

This is the Agenda for the two Monthly CRS Chats.

The general chat is going to happen on https://owasp.slack.com in the channel #coreruleset on Monday, 2023-01-02, at 20:30 CET. That's the 1st Monday of the month. A separate issue chat is happening at the same location, same time on Monday, 2023-01-16. That's the 3rd Monday of the month. Please note that we have a CRS calendar (maintained by @fzipi).

Archived previous meetings and their decision are here.

What happend in the meantime since the chat last month

Outside development

  • Setup tutorial for caddy&coraza
  • Separate ModSecurity rule set for WordPress usage WPRS (by our very own @theMiddleBlue, somewhat outdated, but never reported here before)

Inside development

Rules

  • The biggest task / roadblocker is the overhaul of 932150 in PR feat: split 932150 into new rules, depending on word length #3061. @theseion will work on this during the week and we will try to review / merge afterwards.
  • We are not getting any traction with the keyword list updates. It's not quite clear why, but the BB still being open is certainly a problem. There is also the idea to pay somebody to get this done, but we would rather avoid this. But if anybody is interested in that, then please speak up.

CRS Sandbox

  • @theMiddleBlue is currently creating a new challenge for the SQL in JSON bypass technique, in order to ask to try to bypass the new related rule

CRS Bug Bounty and Security

  • The PR to solve the 2nd list of bypass findings by Shivam Bathla's is not merged yet (fix(multiple bypasses) from Shivam Bathla's 2nd bypasslist #2926). But close.
  • Bug Bounty Findings stats: Coverage at PL1: 78.13% (up from 76.86%), PL2: 94.27% (92.57%), PL3: 94.69% (92.99%), PL4 98.94% (98.51%). Currently, 25 tests fail at PL3. We assume most of these will be fixed by the updated 932150. See above.

Plugins

Documentation and Public Relations

  • There is an effort on trying to get a release notes in Release Notes for v4  #3072
  • The INSTALL document needs attention. We currently have four different install guides (INSTALL, 'Quick Start Guide', 'Extended Install', and coreruleset.org/installation/). We should not maintain four guides: we should squash them into a single source of truth for install documentation. @RedXanadu has agreed to look at this some time in the new year; it's a lot of work…
  • The next developer portrait is going to be released coming weeks

Project Administration and Sponsor relationships

  • All payments for CRS have been issues, not sure everything arrived before the end of the year.
  • CRS sponsoring newsletter 2022.Q4 is pending
  • CRS finances for 2022 not completed; once done 2023 budget has to be drafted

Tools

  • no news

Testing incl. Seaweed and many future plans

  • @vandanrohatgi is around again 🎉 . He offered to help with additional Seaweed plans. @fzipi will be working with him in getting additional features and see what he wants to help with.

Containers

CRS Status Page

  • A few more 'missing PL 1 test cases' investigated and resolved.

Project discussions and decisions

  • Should we remove response body audit logging from all rules? (I.e. remove ctl:auditLogParts=+E everywhere.)

    • We need to be consistent with our rules. We need to implement and document a CRS project policy on this:
      • CRS rules never audit log responses?
      • CRS rules sometimes audit log responses? If so, when?
    • Response bodies can contain sensitive data, so maybe CRS shouldn't ever trigger them to be logged and stored.
    • Would we need to provide a config item to (re-)activate response body audit logging for users who must keep it enabled?
    • What about users/integrators who might have a setting of their own?
    • Associated PR: fix(rules): remove response body from logs #3034 (@fzipi note: all four people involved in this PR were in sync that this was needed, so I went there and merged it).
  • We talked about this in our retreat, but looks like we need a broader discussion, so let's have it: feat(ci): only close issues awaiting for feedback #2948

  • Now that tests can be added to plugins, add tests to all plugins (Add tests to plugins #3051).

    • Realistically, who is going to do this work?
      This task needs a person responsible for it or it won't get done. It looks like an enormous amount of work. Should we pay someone to do this project? Last year we had budgeted money for 'projects' that we did not use. Open for discussion.
    • What is needed?
    • Step 1: Copy the template-plugin github actions workflow directory to the destination plugin.
    • Step 2: Create the tests subdirectory 👉 tests/regression/<the plugin name>
    • Step 3: Create a test file for at least one rule. What are we testing? That the plugin works. Meaning? If this is for an exclusion rule, then use any REQUEST_URI that we are removing rules from, and then see that after GET/POST ing to that url with whatever the rule is targeting, no_log_contains the rule we are excluding.
    • Is there any example of this crazy magic? Yes, please see the one in the phpmyadmin-rule-exclusions-plugin
    • But wait a minute, do we need to add a test for all rules also? 👉 @fzipi suggests we delay doing this. We need to test that the plugin itself is working, we don't need 100% coverage now. We are testing that our decoupling from the core still makes the plugin work.
    • So it is just copying that .workflows directory then, and writing ONE TEST FILE with ONE TEST INSIDE then? Pretty much, yes.
    • And what about complex plugins that require Lua extensions? We cannot cover those now. That's future work. As we are using the "regular" CRS docker, for that we will need to extend it to have the new lua files, etc. This is future work.

Rules development, key project numbers

PRs that have been merged since the last meeting

We merged 17 PRs since the last monthly project chat.

Open PRs

Open PRs marked DRAFT or work in progress or needs action

Open issues and PRs

  • As of Monday, we have FIXME open issues.
  • As of Monday, we have FIXME open pull requests.

Separate 2nd Meeting (Monday, 2023-01-16)

How to get to our slack and join the meeting?

If you are not yet on the OWASP Slack, here is your invite: https://owasp.org/slack/invite .

Everybody is welcome to join our community chat.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions