YARPP <= 5.30.4 - Authenticated (Subscriber+) Local File Inclusion

8.8
Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion')
CVE CVE-2022-45374
CVSS 8.8 (High)
Publicly Published April 18, 2023
Last Updated January 22, 2024
Researcher Rafie Muhammad - Awesome Motive, Inc.

Description

The YARPP plugin for WordPress is vulnerable to Local File Inclusion in versions up to, and including, 5.30.4 via the yarpp shortcode due to insufficient validation on the 'template' user attribute. This allows subscriber-level attackers, and above, to include and execute arbitrary files on the server, allowing the execution of any PHP code in those files. This can be used to bypass access controls, obtain sensitive data, or achieve code execution in cases where images and other “safe” file types can be uploaded and included.

References

Share

Vulnerability Details for YARPP – Yet Another Related Posts Plugin

Software Type Plugin
Software Slug yet-another-related-posts-plugin (view on wordpress.org)
Patched? Yes
Remediation Update to version 5.30.5, or a newer patched version
Affected Version
  • <= 5.30.4
Patched Version
  • 5.30.5

Recent vulnerabilities in YARPP – Yet Another Related Posts Plugin

# Title CVE ID CVSS Researchers Date
1 YARPP <= 5.30.10 - Missing Authorization CVE-2024-43919 5.3 Rafie Muhammad August 26, 2024
2 YARPP – Yet Another Related Posts Plugin <= 5.30.9 - Authenticated(Administrator+) Cross-Site Scripting CVE-2023-6495 4.4 Akbar Kustirama June 18, 2024
3 Yet Another Related Posts Plugin (YARPP) <= 5.30.9 - Authenticated(Administrator+) Stored Cross-Site Scripting via settings CVE-2024-0602 4.4 Akbar Kustirama February 20, 2024
4 YARPP – Yet Another Related Posts Plugin <= 5.30.3 - Authenticated (Contributor+) Stored Cross-Site Scripting CVE-2023-2433 6.4 István Márton July 17, 2023
5 YARPP - Yet Another Related Posts Plugin <= 5.30.2 - Authenticated (Subscriber+) SQL Injection via Shortcode CVE-2023-0579 8.8 Erwan LR April 25, 2023
6 YARPP – Yet Another Related Posts Plugin <= 5.30.2 - Authenticated (Contributor+) Stored Cross-Site Scripting via Shortcode CVE-2022-4471 6.4 István Márton January 19, 2023
7 YARPP – Yet Another Related Posts Plugin < 4.2.5 - Cross-Site Request Forgery 9.8 Evex May 8, 2015

Did you know Wordfence Intelligence provides free personal and commercial API access to our comprehensive WordPress vulnerability database, along with a free webhook integration to stay on top of the latest vulnerabilities added and updated in the database? Get started today!

Learn more

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.

Documentation