Password-hash disclosure via hidden-attribute filtering
Published Sep 27, 2022 · Updated May 22, 2025
SQL injection in Strapi before 3.6.10 and 4.0.0 through 4.1.9 allows remote authenticated users to disclose user password hashes. The admin users endpoint applies attacker-controlled filters to hidden password attributes, exposing a result-count oracle that reveals each hash character. An account with permission to read user data in Settings can enumerate hashes through repeated network requests; direct password disclosure or code execution is not demonstrated.
Summary
What happened
SQL injection in Strapi before 3.6.10 and 4.0.0 through 4.1.9 allows remote authenticated users to disclose user password hashes. The admin users endpoint applies attacker-controlled filters to hidden password attributes, exposing a result-count oracle that reveals each hash character. An account with permission to read user data in Settings can enumerate hashes through repeated network requests; direct password disclosure or code execution is not demonstrated.
The record
- CVE
- CVE-2022-31367
- Published
- Sep 27, 2022
- Updated
- May 22, 2025
- Vendor
- Unknown vendor
- Product
- Unknown product
- Classifications
- CWE-89, T1212
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- Sep 27, 2022CVE publishedPublication date reported by the CVE source.
- May 22, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
What conditions does exploitation require?
What is affected?
Affected products and versions are unavailable in this record.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- CVE-2022-31367 password-hash extraction scriptfunctional · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo