// For flags

CVE-2022-0661

Ad Injection <= 1.2.0.19 - Admin+ Stored Cross-Site Scripting & RCE

Severity Score

7.2
*CVSS v3.1

Exploit Likelihood

*EPSS

Affected Versions

*CPE

Public Exploits

1
*Multiple Sources

Exploited in Wild

-
*KEV

Decision

-
*SSVC
Descriptions

The Ad Injection WordPress plugin through 1.2.0.19 does not properly sanitize the body of the adverts injected into the pages, allowing a high privileged user (Admin+) to inject arbitrary HTML or javascript even with unfiltered_html disallowed, leading to a stored cross-site scripting (XSS) vulnerability. Further it is also possible to inject PHP code, leading to a Remote Code execution (RCE) vulnerability, even if the DISALLOW_FILE_EDIT and DISALLOW_FILE_MOD constants are both set.

El plugin Ad Injection de WordPress versiones hasta 1.2.0.19, no sanea correctamente el cuerpo de los anuncios inyectados en las páginas, lo que permite a un usuario con altos privilegios (Admin+) inyectar HTML o javascript arbitrario incluso con unfiltered_html deshabilitado, conllevando a una vulnerabilidad de tipo Cross-Site Scripting (XSS) almacenada. Además, también es posible inyectar código PHP, conllevando a una vulnerabilidad de ejecución de código remota (RCE), incluso si las constantes DISALLOW_FILE_EDIT y DISALLOW_FILE_MOD están establecidas

*Credits: Asif Nawaz Minhas
CVSS Scores
Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
None
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None
Attack Vector
Network
Attack Complexity
Low
Authentication
Single
Confidentiality
Partial
Integrity
Partial
Availability
Partial
* Common Vulnerability Scoring System
SSVC
  • Decision:-
Exploitation
-
Automatable
-
Tech. Impact
-
* Organization's Worst-case Scenario
Timeline
  • 2022-02-17 CVE Reserved
  • 2022-03-22 CVE Published
  • 2024-08-02 CVE Updated
  • 2024-08-02 First Exploit
  • 2024-12-17 EPSS Updated
  • ---------- Exploited in Wild
  • ---------- KEV Due Date
CWE
  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
  • CWE-94: Improper Control of Generation of Code ('Code Injection')
CAPEC
Affected Vendors, Products, and Versions
Vendor Product Version Other Status
Vendor Product Version Other Status <-- --> Vendor Product Version Other Status
Ad Injection Project
Search vendor "Ad Injection Project"
Ad Injection
Search vendor "Ad Injection Project" for product "Ad Injection"
<= 1.2.0.19
Search vendor "Ad Injection Project" for product "Ad Injection" and version " <= 1.2.0.19"
wordpress
Affected