CVE-2022-45374 WordPress Yet Another Related Posts Plugin (YARPP) plugin <= 5.30.4 - Local File Inclusion
Attackers can exploit a path traversal flaw in the YARPP WordPress plugin to include arbitrary local files, potentially leading to code execution or data disclosure.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2022-45374?
CVE-2022-45374 is a high-severity path traversal vulnerability in YARPP, published on 17 May 2024. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') vulnerability in YARPP allows PHP Local File Inclusion.This issue affects YARPP: from n/a through 5.30.4.
Weakness: CWE-22
Which versions are affected by CVE-2022-45374?
It affects 1 product.
Products include Yarpp Yet Another Related Posts Plugin.
How do I fix CVE-2022-45374?
No fix has been published for CVE-2022-45374 yet. Limit exposure of the affected software until one is available.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2022-45374 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-45374 exists.
Other vulnerabilities in YARPP
- CVE-2023-0579 YARPP - Yet Another Related Posts Plugin < 5.30.3 - Subscriber+ SQLi
- CVE-2022-4471 YARPP - Yet Another Related Posts Plugin < 5.30.3 - Contributor+ Stored XSS
- CVE-2023-2433 YARPP – Yet Another Related Posts Plugin <= 5.30.3 - Authenticated (Contributor+) Stored Cross-Site Scripting
- CVE-2024-43919 WordPress Yet Another Related Posts Plugin (YARPP) plugin <= 5.30.10 - Broken Access Control vulnerability
- CVE-2023-6495 YARPP – Yet Another Related Posts Plugin <= 5.30.9 - Authenticated(Administrator+) Cross-Site Scripting
Sources
Also known as GHSA-cjv7-w6rc-6cxq.