Cross-Site Request Forgery (CSRF) Affecting bolt/bolt package, versions <3.7.0


0.0
medium

Snyk CVSS

    Attack Complexity Low
    User Interaction Required

    Threat Intelligence

    EPSS 5.55% (94th percentile)
Expand this section
NVD
8.8 high

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-PHP-BOLTBOLT-174113
  • published 5 Apr 2019
  • disclosed 5 Apr 2019
  • credit Felipe Gaspar

How to fix?

Upgrade bolt/bolt to version 3.7.0 or higher.

Overview

bolt/bolt is a sophisticated, lightweight & simple CMS.

Affected versions of this package are vulnerable to Cross-Site Request Forgery (CSRF). By deceiving an authenticated privileged user into clicking on a crafted URL, it is possible to steal the user's CSRF token and use it to perform harmful operations by uploading a malicious JavaScript file. The obtained token can be used to edit the /edit/config/config.yml configuration file within the CMS platform to then execute arbitrary code by uploading a PHP extension with malicious code.