CVE-2020-2176: XSS vulnerability in Jenkins useMango Runner Plugin

Summary

24/05/2022
Yes i
Moderate
5.4

CVE-2020-2176: XSS vulnerability in Jenkins useMango Runner Plugin. Affects it.infuse.jenkins:usemango-runner versions < 1.5. Fixed in 1.5. 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 useMango Runner Plugin is a Maven package that is used in Jenkins, an open-source automation server. This plugin allows users to run tests and validate forms using the useMango service. It provides a convenient way to integrate useMango functionality into Jenkins workflows. The useMango service is responsible for providing values for form validation endpoints. However, versions 1.4 and earlier of the useMango Runner Plugin do not properly escape the values received from the useMango service, leading to a cross-site scripting (XSS) vulnerability. This vulnerability can be exploited by users who can control the values returned from the useMango service.

Vulnerability Detail

The XSS vulnerability in the useMango Runner Plugin arises from the lack of proper value escaping in form validation endpoints. When users are able to control the values returned from the useMango service, they can inject malicious scripts into the form validation messages. This can lead to the execution of arbitrary code in the context of other users who view the affected form validation messages. The impact of this vulnerability can range from unauthorized access to sensitive information to complete system compromise. The vulnerability has been assigned a CVSS score of 5.4, indicating a moderate severity level.

How To Fix

Minimum fixed version

1.5

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

If upgrading to version 1.5 is not immediately feasible, a temporary workaround is to disable or restrict access to the useMango Runner Plugin. This can be done by disabling the plugin in the Jenkins plugin manager or by restricting user permissions to prevent them from accessing the vulnerable functionality. However, it is strongly recommended to upgrade to the latest version of the plugin as soon as possible to fully address the vulnerability.

Conclusion

The XSS vulnerability in the useMango Runner Plugin can be mitigated by upgrading to version 1.5 or later. It is important to promptly address this vulnerability to prevent potential unauthorized access or system compromise. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for it.infuse.jenkins:usemango-runner →

Share this vulnerability

FAQ

The useMango Runner Plugin is a Maven package used in Jenkins to integrate the useMango service for running tests and validating forms.

Versions 1.4 and earlier of the useMango Runner Plugin are affected by the XSS vulnerability.

The XSS vulnerability allows users to inject malicious scripts into form validation messages, potentially leading to unauthorized access or system compromise.

To fix the vulnerability, it is recommended to upgrade to version 1.5 or later of the useMango Runner Plugin.

A temporary workaround is to disable or restrict access to the useMango Runner Plugin until the plugin can be upgraded.

How To Fix

Minimum fixed version

1.5

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