GHSA-fq56-c7rj-j3j9

    Dashboard / Vulnerabilities / GHSA-fq56-c7rj-j3j9

    GHSA-fq56-c7rj-j3j9

    Published: 16 Feb 2022Last Modified: 16 Feb 2024

    Summary: Missing permission checks in Jenkins Chef Sinatra Plugin allow XXE

    Details: Jenkins Chef Sinatra Plugin 1.20 and earlier does not perform a permission check in a method implementing form validation. This allows attackers with Overall/Read permission to have Jenkins send an HTTP request to an attacker-controlled URL and have it parse the response as XML. As the plugin does not configure its XML parser to prevent XML external entity (XXE) attacks, attackers can have Jenkins parse a crafted XML response that uses external entities for extraction of secrets from the Jenkins controller or server-side request forgery. Additionally, this form validation method does not require POST requests, resulting in a cross-site request forgery (CSRF) vulnerability.

    Affected packages

    Package

    Name: org.jenkins-ci.plugins:sinatra-chef-builder

    Purl: pkg:maven/org.jenkins-ci.plugins/sinatra-chef-builder

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -None

    Affected versions

    1.14

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High