org.owasp:csrfguard@3.1.0 vulnerabilities

  • latest version

    4.4.0-jakarta

  • latest non vulnerable version

  • first published

    11 years ago

  • latest version published

    4 months ago

  • licenses detected

  • package manager

  • Direct Vulnerabilities

    Known vulnerabilities in the org.owasp:csrfguard package. This does not include vulnerabilities belonging to this package’s dependencies.

    How to fix?

    Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.

    Fix for free
    VulnerabilityVulnerable Version
    • L
    Cross-site Request Forgery (CSRF)

    Affected versions of this package are vulnerable to Cross-site Request Forgery (CSRF) which can occur because the CSRF cookie may be retrieved by using only a session token.

    Note:

    1. CSRFGuard uses headers which don't retrieve a CSRF cookie.
    2. token-per-page can be used with token rotation, which would assign unique, single-use tokens for each secured page.
    3. Validation of referrer headers could be done.

    In order to bypass these validations, incorrect CSP/CORS rules along with a separate XSS vulnerability must be used.

    How to fix Cross-site Request Forgery (CSRF)?

    Upgrade org.owasp:csrfguard to version 4.0.0 or higher.

    [0,4.0.0)