Add vpatch-CVE-2026-31816 rule and test#1748
Conversation
|
Hello @crowdsec-automation and thank you for your contribution! ❗ It seems that the following scenarios are not part of the 'crowdsecurity/appsec-virtual-patching' collection: 🔴 crowdsecurity/vpatch-CVE-2026-31816 🔴 |
|
Hello @crowdsec-automation and thank you for your contribution! I'm a bot that helps maintainers to validate scenarios and ensure they include all the required information. The following items have errors: crowdsecurity/crs-exclusion-plugin-cpanel:
crowdsecurity/crs-exclusion-plugin-dokuwiki:
crowdsecurity/crs-exclusion-plugin-drupal:
crowdsecurity/crs-exclusion-plugin-nextcloud:
crowdsecurity/crs-exclusion-plugin-phpbb:
crowdsecurity/crs-exclusion-plugin-phpmyadmin:
crowdsecurity/crs-exclusion-plugin-wordpress:
crowdsecurity/crs-exclusion-plugin-xenforo:
Mitre ATT&CKInformation about mitre attack can be found here.
Expected format is (where labels:
classification:
- attack.TXXXXCVEsIf your scenario covers a specific CVE (Common Vulnerabilities and Exposures), please add it. Expected format is (where labels:
classification:
- cve.CVE-XXX-XXXBehaviorsPlease identify the behavior(s) your scenario is targeting. You can find the list of available behaviors here. Expected format is (where labels:
behavior: <behavior>See the labels documentation for more information. |
This rule detects the Budibase authentication bypass vulnerability (CVE-2026-31816) by matching requests where the full URL (including query string) contains the webhook pattern
/webhooks/trigger. The vulnerability is triggered when an attacker crafts a request with this pattern in the query string, which is improperly matched by the server's authorization middleware, allowing unauthenticated access to protected endpoints.URI_FULLzone to ensure the pattern is detected anywhere in the full URL, including the query string.lowercaseandurldecodetransforms are applied to ensure case-insensitive and encoded variants are detected.containsmatch type is used for flexibility, as the pattern may appear anywhere in the query string.Validation checklist:
value:fields are lowercase.transformincludeslowercaseandurldecode.containsinstead ofregexwhere applicable.