Recently, NSFOCUS CERT found that Strapi has officially issued a security notice, which fixes several Strapi security vulnerabilities. Due to a flaw in the Strapi system, when there are any entries created or updated by super administrator users on publicly accessed entries, attackers can execute arbitrary code on the target system by combining the vulnerabilities of CVE-2023-22894 and CVE-2023-22621. Please take measures to protect the affected users as soon as possible.
Strapi Information Disclosure Vulnerability (CVS 2023-22894):
There is an information leakage vulnerability in Strapi, which allows unauthenticated attackers to hijack the Strapi administrator account and gain access to the Strapi super administrator by leaking a password reset token and changing the administrator password.
Strapi Remote Code Execution Vulnerability (CVS 2023-22621):
There is a server-side template injection (SSTI) vulnerability in Strpi, which allows attackers with super administrator privileges to bypass the verification check of the function isValidEmailTemplate by injecting malicious payloads into email templates, ultimately enabling the execution of arbitrary code on the target system.
Strapi vulnerability status:
|Vulnerability Details||Vulnerability PoC||Vulnerability EXP||Utilization in the wilderness|
|Published||Published||Unpublished||Not currently present|
Scope of Impact
- Strapi <= 4.5.5
- 3.2.1 <= Strapi < 4.8.0
- Strapi >=4.5.6
- Strapi >=4.8.0
Currently, the official security version has been released to fix this vulnerability. It is recommended that affected users upgrade their protection as soon as possible:
This advisory is only used to describe a potential risk. NSFOCUS does not provide any commitment or promise on this advisory. NSFOCUS and the author will not bear any liability for any direct and/or indirect consequences and losses caused by transmitting and/or using this advisory. NSFOCUS reserves all the rights to modify and interpret this advisory. Please include this statement paragraph when reproducing or transferring this advisory. Do not modify this advisory, add/delete any information to/from it, or use this advisory for commercial purposes without permission from NSFOCUS.
NSFOCUS, Inc., a global network and cyber security leader, protects enterprises and carriers from advanced cyber attacks. The company’s Intelligent Hybrid Security strategy utilizes both cloud and on-premises security platforms, built on a foundation of real-time global threat intelligence, to provide multi-layered, unified and dynamic protection against advanced cyber attacks.
NSFOCUS works with Fortune Global 500 companies, including four of the world’s five largest financial institutions, organizations in insurance, retail, healthcare, critical infrastructure industries as well as government agencies. NSFOCUS has technology and channel partners in more than 60 countries, is a member of both the Microsoft Active Protections Program (MAPP), and the Cloud Security Alliance (CSA).
A wholly owned subsidiary of NSFOCUS Technologies Group Co., Ltd., the company has operations in the Americas, Europe, the Middle East and Asia Pacific.