Incorrect default pattern in Jenkins Audit Trail Plugin
Moderate severity
GitHub Reviewed
Published
May 24, 2022
to the GitHub Advisory Database
•
Updated Dec 7, 2023
Description
Published by the National Vulnerability Database
Oct 8, 2020
Published to the GitHub Advisory Database
May 24, 2022
Reviewed
Dec 21, 2022
Last updated
Dec 7, 2023
Jenkins Audit Trail Plugin uses regular expressions to match requested URLs whose dispatch should be logged.
In Jenkins Audit Trail Plugin 3.6 and earlier, the default regular expression pattern could be bypassed in many cases by adding a suffix to the URL that would be ignored during request handling.
Jenkins Audit Trail Plugin 3.7 changes the default regular expression pattern so that it allows for arbitrary suffixes. It automatically will replace previous default patterns with the new, more complete default pattern.
Additionally, an administrative monitor is shown if a user-specified pattern is found to be bypassable through crafted URLs and form validation was improved to recognize patterns that would not match requests with arbitrary suffixes.
References