{"id":"CVE-2020-4040","published":"2020-06-08T22:00:16Z","modified":"2024-08-04T07:52:20Z","title":"CSRF issue on preview pages in Bolt CMS","vendor":"bolt","product":"bolt","tier":"tail","description":{"text":"Bolt CMS before version 3.7.1 lacked CSRF protection in the preview generating endpoint. Previews are intended to be generated by the admins, developers, chief-editors, and editors, who are authorized to create content in the application. But due to lack of proper CSRF protection, unauthorized users could generate a preview. This has been fixed in Bolt 3.7.1","provenance":"source","from":"CVE.org"},"cvss":{"score":8.6,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01766,"percentile":0.78022,"provenance":"source"},"cwes":[{"id":"CWE-352","name":"Cross-Site Request Forgery"}],"references":[{"url":"https://github.com/bolt/bolt/security/advisories/GHSA-2q66-6cc3-6xm8","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/bolt/bolt/pull/7853","tags":["x_refsource_MISC"]},{"url":"https://github.com/bolt/bolt/commit/b42cbfcf3e3108c46a80581216ba03ef449e419f","tags":["x_refsource_MISC"]},{"url":"http://packetstormsecurity.com/files/158299/Bolt-CMS-3.7.0-XSS-CSRF-Shell-Upload.html","tags":["x_refsource_MISC"]},{"url":"http://seclists.org/fulldisclosure/2020/Jul/4","tags":["mailing-list","x_refsource_FULLDISC"]}],"priority":{"score":26.6,"factors":[{"name":"EPSS percentile","points":15.6},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":6.02}]},"vendorSlug":"bolt","affectedVersions":[{"vendor":"bolt","product":"bolt","versions":["< 3.7.1"]}],"affected":[{"ecosystem":"Packagist","package":"bolt/bolt","vulnerableRanges":["<3.7.1"],"patched":["3.7.1"],"from":["GHSA-2q66-6cc3-6xm8"],"provenance":"source"}],"euvd":{"id":"EUVD-2020-0450","exploited":false,"provenance":"source"},"exploitRefs":["http://packetstormsecurity.com/files/158299/Bolt-CMS-3.7.0-XSS-CSRF-Shell-Upload.html"],"lineage":{"familyId":"fam-bolt-cve-2019-10874","parents":[{"from":"CVE-2019-10874","to":"CVE-2020-4040","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/Config.php"],"commits":["https://github.com/bolt/bolt/commit/91187aef36363a870d60b0a3c1bf8507af34c9e4","https://github.com/bolt/bolt/commit/b42cbfcf3e3108c46a80581216ba03ef449e419f"],"basis":"shared function","functions":["parseGeneral"]}]}],"packageHistory":[{"cve":"CVE-2019-15483","published":"2019-08-23","fixed":"3.6.10","kev":false},{"cve":"CVE-2019-15484","published":"2019-08-23","fixed":"3.6.10","kev":false},{"cve":"CVE-2019-15485","published":"2019-08-23","fixed":"3.6.10","kev":false,"link":{"from":"CVE-2019-15485","to":"CVE-2020-4040","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:bolt/bolt","fromFixed":"3.6.10","toFixed":"3.7.1","daysApart":290}]}},{"cve":"CVE-2020-4040","published":"2020-06-08","fixed":"3.7.1","kev":false},{"cve":"CVE-2020-4041","published":"2020-06-08","fixed":"3.7.1","kev":false},{"cve":"CVE-2020-28925","published":"2020-12-30","fixed":"3.7.2","kev":false,"link":{"from":"CVE-2020-4040","to":"CVE-2020-28925","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:bolt/bolt","fromFixed":"3.7.1","toFixed":"3.7.2","daysApart":205}]}}],"package":"Packagist:bolt/bolt"}}