Cyber Resilience

CVE-2022-0787

CriticalPublic PoC

Published: 28 March 2022

Published
28 March 2022
Modified
21 November 2024
KEV Added
Patch
CVSS Score v3.1 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS Score 0.4725 97.8th percentile
Risk Priority 48 60% EPSS · 20% KEV · 20% CVSS

Summary

CVE-2022-0787 is a critical-severity SQL Injection (CWE-89) vulnerability in Limit Login Attempts Project Limit Login Attempts. Its CVSS base score is 9.8 (Critical).

Operationally, ranked in the top 2.2% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

Deeper analysis

The Limit Login Attempts (Spam Protection) WordPress plugin before version 5.1 is affected by an SQL injection vulnerability tracked as CVE-2022-0787. The root cause is insufficient sanitization and escaping of certain parameters supplied to SQL statements executed through AJAX actions, classified under CWE-89 with a CVSS 3.1 score of 9.8.

Unauthenticated remote attackers can invoke the exposed AJAX endpoints to inject arbitrary SQL, enabling full compromise of the confidentiality, integrity, and availability of the underlying database and potentially the WordPress site itself.

The referenced WPScan advisory identifies the flaw in versions prior to 5.1; the current EPSS score of 0.4725 shows no material increase from its recorded peak.

EU & UK References

Vulnerability details

The Limit Login Attempts (Spam Protection) WordPress plugin before 5.1 does not sanitise and escape some parameters before using them in SQL statements via AJAX actions (available to unauthenticated users), leading to SQL Injections

CWE(s)

Related Threats

No named actor attribution yet. ATT&CK technique mapping in progress for this CVE.

Affected Assets

limit login attempts project
limit login attempts
≤ 5.1

Mitigating Controls

Likely Mitigating Controls AI

Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.

addresses: CWE-89

Penetration testing uses SQL injection payloads against database interfaces, identifying and supporting fixes for SQL injection weaknesses.

addresses: CWE-89

Validates query inputs to prevent SQL syntax or command manipulation.

References