همهٔ گزارش‌ها
زیاد

WordPress Core <= 7.1.1 - Unauthenticated Local File Inclusion via locate_template() Path Traversal

متن اصلی

نسخه‌های متأثر

WordPresswordpress
نسخه‌های متأثر
>=4.7 <=4.7.36 || >=4.8 <=4.8.31 || >=4.9 <=4.9.32 || >=5.0 <=5.0.28 || >=5.1 <=5.1.25 || >=5.2 <=5.2.27 || >=5.3 <=5.3.24 || >=5.4 <=5.4.22 || >=5.5 <=5.5.21 || >=5.6 <=5.6.20 || >=5.7 <=5.7.18 || >=5.8 <=5.8.16 || >=5.9 <=5.9.17 || >=6.0 <=6.0.15 || >=6.1 <=6.1.13 || >=6.2 <=6.2.12 || >=6.3 <=6.3.11 || >=6.4 <=6.4.11 || >=6.5 <=6.5.11 || >=6.6 <=6.6.8 || >=6.7 <=6.7.8 || >=6.8 <=6.8.9 || >=6.9 <=6.9.8 || >=7.0 <=7.0.5 || >=7.1 <=7.1.1
نسخهٔ اصلاح‌شده
4.7.37 · 4.8.32 · 4.9.33 · 5.0.29 · 5.1.26 · 5.2.28 · 5.3.25 · 5.4.23 · 5.5.22 · 5.6.21 · 5.7.19 · 5.8.17 · 5.9.18 · 6.0.16 · 6.1.14 · 6.2.13 · 6.3.12 · 6.4.12 · 6.5.12 · 6.6.9 · 6.7.9 · 6.8.10 · 6.9.9 · 7.0.6 · 7.1.2

بهره‌برداری

CVE-2026-87902

بهره‌برداری واقعی گزارش شده است · CISA KEV

تاریخ ثبت: ۱۴۰۵/۰۷/۰۳

احتمال بهره‌برداری در ۳۰ روز آینده: 95.77%

FIRST EPSS · ۱۴۰۵/۰۹/۰۱

شرح آسیب‌پذیری

WordPress Core is vulnerable to Local File Inclusion via the locate_template() function in various versions up to, and including, 7.1.1. The function resolved a caller-supplied template name against the theme directories without verifying the result stayed within them, so a template name containing '..' could resolve to a readable PHP file outside the active theme and be included. The core-reachable vector is get_page_template(), which builds page-{$pagename}.php from the URL-derived, url-decoded 'pagename' query variable. This makes it possible for unauthenticated attackers to make page-template resolution include a chosen readable local .php file outside the theme directories, which under certain conditions can lead to remote code execution. Exploitation requires (1) the active parent or child theme to contain a top-level directory whose name begins with 'page-' (e.g. 'page-templates' in Twenty Twelve, Twenty Fourteen, Neve, Hestia, Sydney), and (2) a readable .php target on the server accessible to the web-server account (e.g. pearcmd.php with register_argc_argv=On, as in the official PHP Docker image and default cPanel setups on PHP < 8.5), which yields RCE.

پیوندها

گزارش‌دهندگان

  • Robert Ressl

حقوق و مجوز داده‌ها

Wordfence

Copyright 2012-2026 Defiant Inc.

Defiant hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute this software vulnerability information. Any copy of the software vulnerability information you make for such purposes is authorized provided that you include a hyperlink to this vulnerability record and reproduce Defiant's copyright designation and this license in any such copy.

شرایط مجوز

Copyright 1999-2026 The MITRE Corporation

CVE Usage: MITRE hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute Common Vulnerabilities and Exposures (CVE®). Any copy you make for such purposes is authorized provided that you reproduce MITRE's copyright designation and this license in any such copy.

شرایط مجوز