Saturday, May 24, 2025
Homecyber securityMultiple Jenkins Vulnerabilities Allow Attackers to Expose Secrets

Multiple Jenkins Vulnerabilities Allow Attackers to Expose Secrets

Published on

SIEM as a Service

Follow Us on Google News

Jenkins, the widely-used open-source automation server, issued a high-priority security advisory on March 5, 2025, disclosing four medium-severity vulnerabilities affecting its core platform.

The flaws—tracked as CVE-2025-27622 through CVE-2025-27625—impact secrets management, cross-site request forgery (CSRF) protections, and URL validation.

Immediate upgrades to Jenkins 2.500 (weekly) or 2.492.2 (LTS) are recommended to mitigate risks.

- Advertisement - Google News

Exposure of Encrypted Secrets via API/CLI Access

Two vulnerabilities (CVE-2025-27622 and CVE-2025-27623) stemmed from improper redaction of encrypted secrets in agent and view configurations.

Attackers with Agent/Extended Read or View/Read permissions could exploit unpatched systems to access sensitive data stored in config.xml files via REST API or CLI endpoints.

Jenkins 2.499 and earlier, along with LTS 2.492.1 and earlier, failed to mask encrypted values—a regression from the 2016 SECURITY-266 fix.

The resolved versions now enforce role-based access controls, restricting decrypted secret visibility to users with Configure permissions.

CSRF and Open Redirect Vulnerabilities

A CSRF flaw (CVE-2025-27624) allowed unauthorized toggling of side panel widgets (e.g., Build Queue) via malicious HTTP requests.

Attackers could inject arbitrary panel IDs into user profiles, enabling persistent UI manipulation.

Concurrently, an open redirect issue (CVE-2025-27625) permitted phishing attacks by interpreting backslash-based URLs (e.g., \example.com) as valid redirects.

Browsers resolved these as scheme-relative paths, bypassing Jenkins’ URL safelist.

Patches enforce POST requests for sidepanel endpoints and reject backslash-initial redirects, aligning with OWASP CSRF prevention guidelines and RFC 3986 URI normalization standards.

Remediation and Upgrade Recommendations

Affected versions include Jenkins weekly ≤2.499 and LTS ≤2.492.1. The fixes—rolled out in 2.500 (weekly) and 2.492.2 (LTS)—introduce:

  • Enhanced secret redaction for REST/CLI interfaces
  • Stricter HTTP method enforcement
  • Redirect path validation using regex-based safelists

Administrators should prioritize upgrades and audit user permissions, particularly for roles with Read-only access.

For environments requiring delayed patches, temporary mitigations include revoking unnecessary permissions and implementing reverse proxy rules to block malicious redirect patterns.

Jenkins emphasized these updates as part of its quarterly security hardening cycle, underscoring the importance of continuous dependency scanning in CI/CD pipelines.

With CVSS scores averaging 6.5, proactive remediation is critical to prevent credential exfiltration and session hijacking in DevOps workflows.

Collect Threat Intelligence on the Latest Malware and Phishing Attacks with ANY.RUN TI Lookup -> Try for free

Anupriya
Anupriya
Any Priya is a cybersecurity reporter at GBHackers On Security, specializing in cyber attacks, dark web monitoring, data breaches, vulnerabilities, and malware. She delivers in-depth analysis on emerging threats and digital security trends.

Latest articles

Zero-Trust Policy Bypass Enables Exploitation of Vulnerabilities and Manipulation of NHI Secrets

A new project has exposed a critical attack vector that exploits protocol vulnerabilities to...

Threat Actor Sells Burger King Backup System RCE Vulnerability for $4,000

A threat actor known as #LongNight has reportedly put up for sale remote code...

Chinese Nexus Hackers Exploit Ivanti Endpoint Manager Mobile Vulnerability

Ivanti disclosed two critical vulnerabilities, identified as CVE-2025-4427 and CVE-2025-4428, affecting Ivanti Endpoint Manager...

Hackers Target macOS Users with Fake Ledger Apps to Deploy Malware

Hackers are increasingly targeting macOS users with malicious clones of Ledger Live, the popular...

Resilience at Scale

Why Application Security is Non-Negotiable

The resilience of your digital infrastructure directly impacts your ability to scale. And yet, application security remains a critical weak link for most organizations.

Application Security is no longer just a defensive play—it’s the cornerstone of cyber resilience and sustainable growth. In this webinar, Karthik Krishnamoorthy (CTO of Indusface) and Phani Deepak Akella (VP of Marketing – Indusface), will share how AI-powered application security can help organizations build resilience by

Discussion points


Protecting at internet scale using AI and behavioral-based DDoS & bot mitigation.
Autonomously discovering external assets and remediating vulnerabilities within 72 hours, enabling secure, confident scaling.
Ensuring 100% application availability through platforms architected for failure resilience.
Eliminating silos with real-time correlation between attack surface and active threats for rapid, accurate mitigation

More like this

Zero-Trust Policy Bypass Enables Exploitation of Vulnerabilities and Manipulation of NHI Secrets

A new project has exposed a critical attack vector that exploits protocol vulnerabilities to...

Threat Actor Sells Burger King Backup System RCE Vulnerability for $4,000

A threat actor known as #LongNight has reportedly put up for sale remote code...

Chinese Nexus Hackers Exploit Ivanti Endpoint Manager Mobile Vulnerability

Ivanti disclosed two critical vulnerabilities, identified as CVE-2025-4427 and CVE-2025-4428, affecting Ivanti Endpoint Manager...