CVE-2023-50778

8.8 HIGH

📋 TL;DR

A CSRF vulnerability in Jenkins PaaSLane Estimate Plugin allows attackers to trick authenticated users into making unauthorized requests to attacker-controlled URLs with attacker-specified tokens. This affects all Jenkins instances running PaaSLane Estimate Plugin version 1.0.4 or earlier.

💻 Affected Systems

Products:
  • Jenkins PaaSLane Estimate Plugin
Versions: 1.0.4 and earlier
Operating Systems: All platforms running Jenkins
Default Config Vulnerable: ⚠️ Yes
Notes: Requires the plugin to be installed and enabled. Jenkins must be accessible to attackers for CSRF exploitation.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Attackers could connect Jenkins to malicious external services, potentially leading to data exfiltration, credential theft, or further compromise of the Jenkins environment.

🟠

Likely Case

Attackers could redirect Jenkins to connect to attacker-controlled endpoints, potentially harvesting sensitive information or using Jenkins as a pivot point for further attacks.

🟢

If Mitigated

With proper CSRF protections and network segmentation, impact is limited to potential unauthorized external connections from the Jenkins server.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

Public PoC: ✅ No
Weaponized: UNKNOWN
Unauthenticated Exploit: ✅ No
Complexity: LOW

Exploitation requires tricking an authenticated user into visiting a malicious page while logged into Jenkins.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: 1.0.5 or later

Vendor Advisory: https://www.jenkins.io/security/advisory/2023-12-13/#SECURITY-3179

Restart Required: Yes

Instructions:

1. Update Jenkins PaaSLane Estimate Plugin to version 1.0.5 or later via Jenkins Plugin Manager. 2. Restart Jenkins to apply the update.

🔧 Temporary Workarounds

Disable PaaSLane Estimate Plugin

all

Temporarily disable the vulnerable plugin until patching is possible

Navigate to Jenkins > Manage Jenkins > Manage Plugins > Installed tab > Find 'PaaSLane Estimate Plugin' > Disable

Implement CSRF Protection Headers

all

Add CSRF protection headers to Jenkins web interface

Configure Jenkins with CSRF protection enabled in security settings

🧯 If You Can't Patch

  • Restrict network access to Jenkins to trusted users only
  • Implement web application firewall rules to detect CSRF attempts

🔍 How to Verify

Check if Vulnerable:

Check Jenkins plugin manager for PaaSLane Estimate Plugin version. If version is 1.0.4 or earlier, system is vulnerable.

Check Version:

Navigate to Jenkins > Manage Jenkins > Manage Plugins > Installed tab > Find 'PaaSLane Estimate Plugin'

Verify Fix Applied:

Verify plugin version is 1.0.5 or later in Jenkins plugin manager.

📡 Detection & Monitoring

Log Indicators:

  • Unusual external connection attempts from Jenkins
  • CSRF token validation failures

Network Indicators:

  • Unexpected outbound connections from Jenkins to unknown external URLs

SIEM Query:

source="jenkins" AND ("PaaSLane" OR "CSRF" OR "token validation")

🔗 References

📤 Share & Export