CVE-2022-45396

Jenkins SourceMonitor Plugin 0.2 and earlier does not configure its XML parser to prevent XML external entity (XXE) attacks

Critical · published November 15, 2022

CVSS v3.1
9.8
EPSS
1%
Percentile
63.8
In the wild
Unconfirmed
What it is

🚨 An unprotected XML parser is an open invitation for attackers! This vulnerability in Jenkins SourceMonitor Plugin prior to version 0.3 could lead to devastating XML External Entity (XXE) attacks. 🔥 Think of it like a library that not only allows you to borrow books but also accepts and orders any book you reference — without checking its contents! In this case, the parser fetches external entities, thus reading potentially harmful files instead of just well-catalogued ones. An attacker could exploit this vulnerability to read any file on the server, potentially exposing sensitive information or even executing dangerous commands. The consequences could be catastrophic, leading to data leaks and a complete breach of your Jenkins environment!

Put simply

Think of it like a library that not only allows you to borrow books but also accepts and orders any book you reference — without checking its contents! In this case, the parser fetches external entities, thus reading potentially harmful files instead of just well-catalogued ones. This vulnerability arises because the Jenkins SourceMonitor Plugin does not configure its XML parser to prevent XML External Entity (XXE) attacks, allowing attackers to reference malicious external entities in XML data.

What to do

An attacker could exploit this vulnerability to read any file on the server, potentially exposing sensitive information or even executing dangerous commands. The consequences could be catastrophic, leading to data leaks and a complete breach of your Jenkins environment! To safeguard your Jenkins environment, update the SourceMonitor Plugin to version 0.3 or later. Additionally, review your XML parsing configurations to ensure that external entities are disabled, providing an extra layer of security. You've got this! Take these steps, and you'll ensure your Jenkins setup is secure and resilient against XXE attacks! 🛡️

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.01045 · 63.8th percentile
Published
2022-11-15T00:00Z
EPSS history
Timeline
  • 15 NOV 00:00Z
    Jenkins SourceMonitor Plugin 0.2 and earlier does not configure its XML parser to prevent XML external entity (XXE) attacks
    cvelistv5