CVE-2022-43183: XXL-JOB vulnerable to Server-Side Request Forgery (SSRF)
Summary
CVE-2022-43183: XXL-JOB vulnerable to Server-Side Request Forgery (SSRF). Affects com.xuxueli:xxl-job-core versions < 2.4.0. Fixed in 2.4.0. How to fix ↓
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.
No signup required · Results in about 60 seconds
Background
XXL-Job is a Maven package that provides job scheduling and task execution capabilities. It is commonly used in Java applications to manage and execute background jobs. The package allows developers to define and schedule jobs, monitor their execution, and handle job logs. However, XXL-Job versions before 2.3.1 are vulnerable to Server-Side Request Forgery (SSRF).
Vulnerability Detail
The vulnerability in XXL-Job arises from the component JobLogController.java located at /admin/controller/JobLogController.java. This component does not properly validate user-supplied input, allowing an attacker to forge requests to internal resources. By exploiting this vulnerability, an attacker can perform unauthorized actions, such as accessing internal resources, bypassing security controls, or launching attacks against other systems. The severity of this vulnerability is rated as HIGH with a CVSS score of 8.8.
How To Fix
Minimum fixed version
2.4.0
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
As a temporary workaround, developers can implement input validation and filtering to prevent malicious input from being processed by the vulnerable component. This can be achieved by validating user-supplied URLs and ensuring they are restricted to trusted domains or IP ranges. Additionally, implementing a whitelist of allowed protocols can help mitigate the risk of SSRF attacks.
Conclusion
XXL-Job versions before 2.3.1 are vulnerable to Server-Side Request Forgery (SSRF). It is crucial to upgrade to the fixed version to mitigate the risk of unauthorized access and potential attacks. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for com.xuxueli:xxl-job-core →
FAQ
XXL-Job is a Maven package used for job scheduling and task execution in Java applications.
Server-Side Request Forgery (SSRF) is a vulnerability that allows an attacker to make requests to internal resources from a targeted server.
Exploiting this vulnerability can lead to unauthorized access to internal resources, bypassing security controls, and launching attacks against other systems.
This vulnerability is rated as HIGH with a CVSS score of 8.8.
To fix this vulnerability, upgrade to XXL-Job version 2.3.1 or later.
References
Related vulnerabilities
Recent vulnerabilities recorded for com.xuxueli:xxl-job-core.