CVE-2020-4040: CSRF issue on preview pages in Bolt CMS
Impact
Bolt CMS 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.
Patches
This has been fixed in Bolt 3.7.1
References
Related issue: https://github.com/bolt/bolt/pull/7853
Other sources
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
— MITRE
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
composer/bolt/boltto a version that resolves this vulnerability.Fixed in 3.7.1 - Upgrade
Upgrade
Bolt CMSto a version that resolves this vulnerability.Fixed in 3.7.1
Event History
Frequently Asked Questions
What is the severity of CVE-2020-4040?
The severity of CVE-2020-4040 is classified as medium due to its potential to allow unauthorized actions without proper CSRF protection.
How do I fix CVE-2020-4040?
To fix CVE-2020-4040, upgrade Bolt CMS to version 3.7.1 or later, which implements proper CSRF protection in the preview generating endpoint.
What is the impact of CVE-2020-4040?
The impact of CVE-2020-4040 allows unauthorized users to generate content previews, potentially exposing sensitive data or leading to further exploits.
Who is affected by CVE-2020-4040?
CVE-2020-4040 affects all users of Bolt CMS versions prior to 3.7.1 who utilize the content preview functionality.
Is CVE-2020-4040 a Type of Cross-Site Request Forgery?
Yes, CVE-2020-4040 is a type of Cross-Site Request Forgery vulnerability due to the lack of CSRF protection in the affected endpoint.