CVE-2023-22894: Critical severity strapi vulnerability

Published Apr 19, 2023
·
Updated

Summary

Strapi through 4.7.1 allows unauthenticated attackers to discover sensitive user details for Strapi administrators and API users.

Details

Strapi through 4.7.1 allows unauthenticated attackers to discover sensitive user details for Strapi administrators and API users. The unauthenticated attacker can filter users by columns that contain sensitive information and infer the values by the changes in the API responses. An unauthenticated attacker can exploit this vulnerability to hijack Strapi administrator accounts and gain unauthorized Strapi Super Administrator access by leaking the password reset token and changing the admin password. This can be exploited on all Strapi versions <=4.7.1.

IoC

The exploitation of CVE-2023-22894 is easily detectable, since the payload is within the GET parameters and are normally included in request logs. The following regex pattern will extract requests that are exploiting this vulnerability to leak user's email, password and password reset token columns.

/(\[|%5B)\s(email|password|resetpasswordtoken|resetPasswordToken)\s(\]|%5D)/

You can search log files for this IoC by using the following grep command.

grep -iE '(\[|%5B)\s(email|password|resetpasswordtoken|resetPasswordToken)\s(\]|%5D)' $PATHTOLOGFILE

If the above regex pattern matches any lines in your log files, take extra precaution to look out for multiple requests that include password, resetpasswordtoken or resetPasswordToken. This would indicate that an attacker has leaked the password hashes and reset tokens on your Strapi server and you need to immediately start an incident response!

Impact

All Strapi users below 4.8.0

Other sources

Strapi through 4.5.5 allows attackers (with access to the admin panel) to discover sensitive user details by exploiting the query filter. The attacker can filter users by columns that contain sensitive information and infer a value from API responses. If the attacker has super admin access, then this can be exploited to discover the password hash and password reset token of all users. If the attacker has admin panel access to an account with permission to access the username and email of API users with a lower privileged role (e.g., Editor or Author), then this can be exploited to discover sensitive information for all API users but not other admin accounts.

MITRE

Affected Software

2 affected componentsFixes available
npm/@strapi/strapi>=3.2.1<4.8.0
4.8.0
Strapi Strapi>=3.2.1<4.8.0

Event History

Apr 19, 2023
CVE Published
via MITRE·12:00 AM
Data Sourced
via MITRE·12:00 AM
Description
Data Sourced
via NVD·04:15 PM
DescriptionSeverityWeaknessAffected Software
Advisory Published
09:41 PM
Aug 14, 57822
Event
via NVD·04:29 AM

Frequently Asked Questions

1

What is CVE-2023-22894?

CVE-2023-22894 is a vulnerability in Strapi versions up to 4.5.5 that allows attackers with access to the admin panel to discover sensitive user details.

2

How can an attacker exploit CVE-2023-22894?

An attacker can exploit CVE-2023-22894 by exploiting the query filter in Strapi and filtering users by columns that contain sensitive information.

3

What is the severity of CVE-2023-22894?

The severity of CVE-2023-22894 is medium with a severity value of 4.9.

4

How do I fix CVE-2023-22894?

To fix CVE-2023-22894, upgrade Strapi to version 4.8.0 or newer.

5

Where can I find more information about CVE-2023-22894?

You can find more information about CVE-2023-22894 on the following references: [GitHub](https://github.com/strapi/strapi/releases), [Strapi Blog](https://strapi.io/blog/security-disclosure-of-vulnerabilities-cve), [GhostCamm Blog](https://www.ghostccamm.com/blog/multi_strapi_vulns/).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203