cve/2022/CVE-2022-0661.md

18 lines
1.1 KiB
Markdown
Raw Permalink Normal View History

2024-05-25 21:48:12 +02:00
### [CVE-2022-0661](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-0661)
![](https://img.shields.io/static/v1?label=Product&message=Ad%20Injection&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=1.2.0.19%3C%3D%201.2.0.19%20&color=brighgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-94%20Improper%20Control%20of%20Generation%20of%20Code%20('Code%20Injection')&color=brighgreen)
### Description
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.
### POC
#### Reference
- https://wpscan.com/vulnerability/3c5a7b03-d4c3-46b9-af65-fb50e58b0bfd
#### Github
- https://github.com/ARPSyndicate/cvemon