logo

CVE-2022-43433 io.jenkins.plugins:screenrecorder

Package

Manager: maven
Name: io.jenkins.plugins:screenrecorder
Vulnerable Version: >=0 <=0.7

Severity

Level: High

CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H

CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

EPSS: 0.00297 pctl0.52587

Details

Content-Security-Policy protection for user content disabled by Jenkins ScreenRecorder Plugin Jenkins sets the `Content-Security-Policy` header to static files served by Jenkins (specifically `DirectoryBrowserSupport`), such as workspaces, `/userContent`, or archived artifacts, unless a Resource Root URL is specified. ScreenRecorder Plugin 0.7 and earlier programmatically updates [the Java system property](https://www.jenkins.io/doc/book/managing/system-properties/#hudson-model-directorybrowsersupport-csp) allowing administrators to customize the `Content-Security-Policy` header for static files served by Jenkins to include `media-src: 'self'`. On a Jenkins instance with default configuration, this effectively disables all other directives in the default rule set, including `script-src`. This allows cross-site scripting (XSS) attacks by users with the ability to control files in workspaces, archived artifacts, etc. Jenkins instances with [Resource Root URL](https://www.jenkins.io/doc/book/security/user-content/#resource-root-url) configured are unaffected.

Metadata

Created: 2022-10-19T19:00:22Z
Modified: 2022-12-16T19:59:12Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/10/GHSA-cvxj-4745-843x/GHSA-cvxj-4745-843x.json
CWE IDs: ["CWE-693"]
Alternative ID: GHSA-cvxj-4745-843x
Finding: F115
Auto approve: 1