CVE-2018-10899: Cross-Site Request Forgery in Jolokia

org.jolokia:jolokia-core Updated 02 Oct 2025

Summary

24/05/2022
Yes i
High
8.1

CVE-2018-10899: Cross-Site Request Forgery in Jolokia. Affects org.jolokia:jolokia-core versions >= 1.2, < 1.6.1. Fixed in 1.6.1. 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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

Jolokia is a Java library that provides an agent-based approach for remote JMX (Java Management Extensions) access over HTTP. It allows users to interact with JMX MBeans (Managed Beans) in a simple and secure manner. Jolokia is commonly used in Java applications to expose JMX functionality over RESTful APIs. However, versions 1.2 to 1.6.1 of Jolokia are vulnerable to a system-wide Cross-Site Request Forgery (CSRF) attack, even when strict checking for origin and referrer headers is enabled. This vulnerability can potentially lead to Remote Code Execution (RCE) attacks.

Vulnerability Detail

The vulnerability in Jolokia versions 1.2 to 1.6.1 is due to insufficient CSRF protection. A remote attacker can craft a malicious request and trick a user with a valid session into performing unintended actions on the affected system. This can result in the execution of arbitrary code with the privileges of the user running the Jolokia agent. The impact of this vulnerability can be severe, allowing an attacker to gain unauthorized access, modify sensitive data, or disrupt the normal operation of the system.

How To Fix

Minimum fixed version

1.6.1

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 the latest version is not immediately feasible, a possible workaround is to implement additional CSRF protection measures at the application level. This can include validating CSRF tokens in requests, implementing strict origin and referrer header checks, and using anti-CSRF libraries or frameworks. However, it is strongly recommended to upgrade to the latest version of Jolokia as soon as possible to ensure comprehensive security.

Conclusion

In conclusion, Jolokia versions 1.2 to 1.6.1 are vulnerable to a system-wide CSRF attack, which can lead to Remote Code Execution. It is crucial to upgrade to Jolokia version 1.6.1 or later to mitigate this vulnerability. Developers should also consider implementing additional CSRF protection measures at the application level. For further assistance and support in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for org.jolokia:jolokia-core →

Share this vulnerability

FAQ

Jolokia is a Java library that provides remote JMX access over HTTP. It allows users to interact with JMX MBeans in a simple and secure manner.

Versions 1.2 to 1.6.1 of Jolokia are affected by this vulnerability.

This vulnerability can potentially lead to Remote Code Execution (RCE) attacks, allowing an attacker to execute arbitrary code with the privileges of the user running the Jolokia agent.

To fix this vulnerability, it is recommended to upgrade to Jolokia version 1.6.1 or later. Developers should update their Jolokia dependencies in their Maven project by modifying the pom.xml file.

If upgrading to the latest version is not immediately feasible, implementing additional CSRF protection measures at the application level can serve as a temporary workaround.

Related vulnerabilities

Recent vulnerabilities recorded for org.jolokia:jolokia-core.

How To Fix

Minimum fixed version

1.6.1

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