CVE-2019-1003026: Jenkins Mattermost Notification Plugin SSRF Vulnerability

Summary

13/05/2022
Yes i
Moderate
4.3

CVE-2019-1003026: Jenkins Mattermost Notification Plugin vulnerable to SSRF. Affects org.jenkins-ci.plugins:mattermost versions < 2.6.3. Fixed in 2.6.3. 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 Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The Jenkins Mattermost Notification Plugin is a plugin for the Jenkins automation server that allows users to send notifications to Mattermost, an open-source messaging platform. It integrates Jenkins with Mattermost, enabling users to receive build notifications and other updates in their Mattermost channels. The plugin is written in Java and is part of the Maven ecosystem.

Vulnerability Detail

A server-side request forgery (SSRF) vulnerability has been identified in the Jenkins Mattermost Notification Plugin version 2.6.2 and earlier. The vulnerability exists in the MattermostNotifier.java file, allowing attackers with Overall/Read permission to make Jenkins connect to a specified Mattermost server and room and send a message. This can be exploited to perform unauthorized actions on the Mattermost server, potentially leading to data leakage or further compromise of the system.

How To Fix

Minimum fixed version

2.6.3

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 the plugin is not immediately feasible, a temporary workaround is to restrict access to the Jenkins server and ensure that only trusted users have Overall/Read permission. Additionally, it is recommended to monitor the server logs for any suspicious activity related to the Mattermost Notification Plugin.

Conclusion

The Jenkins Mattermost Notification Plugin is vulnerable to a server-side request forgery (SSRF) vulnerability, allowing attackers to connect to a specified Mattermost server and room and send unauthorized messages. To mitigate this vulnerability, it is recommended to upgrade the plugin to version 2.6.3 or later. If immediate upgrade is not possible, restricting access to the Jenkins server and monitoring server logs can provide temporary protection. For further assistance and support in vulnerability remediation, please contact DevNack.com.

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

Share this vulnerability

FAQ

A server-side request forgery (SSRF) vulnerability is a type of security vulnerability that allows an attacker to make a server perform arbitrary HTTP requests on their behalf. In the case of the Jenkins Mattermost Notification Plugin, this vulnerability enables an attacker to make Jenkins connect to a specified Mattermost server and room and send a message.

Exploiting this vulnerability can allow an attacker to perform unauthorized actions on the targeted Mattermost server. This can include sending malicious messages, accessing sensitive information, or further compromising the system.

Users of Jenkins who have the Mattermost Notification Plugin version 2.6.2 or earlier installed are affected by this vulnerability. Additionally, the attacker must have Overall/Read permission in Jenkins to exploit the vulnerability.

Yes, a fix for this vulnerability is available in version 2.6.3 of the Jenkins Mattermost Notification Plugin. Users are advised to upgrade to this version or later to mitigate the risk.

A temporary workaround for this vulnerability is to restrict access to the Jenkins server and ensure that only trusted users have Overall/Read permission. Monitoring server logs for any suspicious activity related to the Mattermost Notification Plugin is also recommended.

Related vulnerabilities

Recent vulnerabilities recorded for org.jenkins-ci.plugins:mattermost.

How To Fix

Minimum fixed version

2.6.3

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