CVE-2024-12613
Published: 16 January 2025
Summary
CVE-2024-12613 is a high-severity SQL Injection (CWE-89) vulnerability in Hirewebxperts Passwords Manager. Its CVSS base score is 7.5 (High).
Operationally, exploitation aligns with the MITRE ATT&CK technique Exploit Public-Facing Application (T1190); ranked in the top 23.3% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.
The strongest mitigations our analysis identified are NIST 800-53 SI-10 (Information Input Validation) and SI-2 (Flaw Remediation).
Deeper analysis
CVE-2024-12613 is a SQL injection vulnerability in the Passwords Manager plugin for WordPress, affecting all versions up to and including 1.4.8. The flaw occurs in several AJAX functions via the $wpdb->prefix value, stemming from insufficient escaping of user-supplied parameters and inadequate preparation of existing SQL queries, as classified under CWE-89.
Unauthenticated attackers can exploit this vulnerability over the network with low attack complexity, no privileges, and no user interaction required. Exploitation enables appending additional SQL queries to existing ones, allowing extraction of sensitive information from the database, consistent with the CVSS v3.1 base score of 7.5 (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N).
A patch addressing the issue is available in the WordPress plugin repository via changeset 3221505 in the file include/pms-passwords-ajax-action.php. Further details on the vulnerability, including threat intelligence, are documented in the Wordfence advisory. Security practitioners should update the plugin immediately to mitigate risks.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2024-50996
Vulnerability details
The Passwords Manager plugin for WordPress is vulnerable to SQL Injection via the $wpdb->prefix value in several AJAX fuctions in all versions up to, and including, 1.4.8 due to insufficient escaping on the user supplied parameter and lack of sufficient…
more
preparation on the existing SQL query. This makes it possible for unauthenticated attackers to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database.
- CWE(s)
Related Threats
MITRE ATT&CK Enterprise TechniquesAI
Why these techniques?
Unauthenticated SQL injection in a publicly exposed WordPress plugin directly enables remote exploitation of a public-facing web application to extract database contents.
CVEs Like This One
Affected Assets
Mitigating Controls
Mitigating Controls (NIST 800-53 r5) AI
Directly remediates the SQL injection vulnerability by requiring timely identification, reporting, and patching of the flaw in the Passwords Manager plugin as provided in changeset 3221505.
Prevents SQL injection attacks by enforcing validation and sanitization of user-supplied parameters in the plugin's AJAX functions before incorporation into SQL queries.
Mitigates injection risks by restricting the types and quantities of user inputs accepted in AJAX endpoints, reducing opportunities for appending malicious SQL queries.