CVE-2020-2287: Audit Trail Plugin Request Logging Bypass in Jenkins

Summary

10/02/2022
Yes i
Moderate
5.3

CVE-2020-2287: Request logging bypass in Jenkins Audit Trail Plugin. Affects org.jenkins-ci.plugins:audit-trail versions < 3.7. Fixed in 3.7. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

The Audit Trail Plugin is a Jenkins plugin that logs requests whose URL path matches an admin-configured regular expression. It is designed to provide an audit trail of user actions within the Jenkins environment. The plugin is an integral part of Jenkins, an open-source automation server that facilitates continuous integration and delivery of software projects. The vulnerability affects Audit Trail Plugin versions 3.6 and earlier, and Jenkins versions 2.227 and earlier, as well as LTS versions 2.204.5 and earlier.

Vulnerability Detail

The vulnerability in the Audit Trail Plugin allows attackers to bypass request logging by exploiting a discrepancy between the plugin's behavior and the Stapler web framework's parsing of URL paths. By crafting URLs that exploit this discrepancy, attackers can evade request logging in Audit Trail Plugin versions 3.6 and earlier. However, it's important to note that the fix for SECURITY-1774, which prohibits the dispatch of affected requests, mitigates this vulnerability in Jenkins versions 2.227 and earlier, as well as LTS versions 2.204.5 and earlier. Audit Trail Plugin version 3.7 addresses this issue by processing request URL paths in the same way as the Stapler web framework.

How To Fix

Minimum fixed version

3.7

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There is no known workaround for this vulnerability. It is recommended to apply the fix by upgrading the Audit Trail Plugin and Jenkins as mentioned in the 'how_to_fix' section.

Conclusion

The Audit Trail Plugin vulnerability allows attackers to bypass request logging, potentially compromising the integrity of the audit trail in Jenkins. To mitigate this vulnerability, it is crucial to upgrade to Audit Trail Plugin version 3.7 or later, and Jenkins version 2.228 or later (or LTS version 2.204.6 or later). For further assistance with vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for org.jenkins-ci.plugins:audit-trail →

Share this vulnerability

FAQ

The vulnerability allows attackers to bypass request logging in the Audit Trail Plugin, potentially compromising the integrity of the audit trail and hindering the ability to track user actions within the Jenkins environment.

Versions 3.6 and earlier of the Audit Trail Plugin are affected.

Jenkins versions 2.227 and earlier, as well as LTS versions 2.204.5 and earlier, are affected.

Yes, upgrading to Audit Trail Plugin version 3.7 or later, and Jenkins version 2.228 or later (or LTS version 2.204.6 or later) will fix this vulnerability.

No, there are no known workarounds. It is recommended to apply the fix by upgrading the Audit Trail Plugin and Jenkins.

Related vulnerabilities

Recent vulnerabilities recorded for org.jenkins-ci.plugins:audit-trail.

How To Fix

Minimum fixed version

3.7

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback