→ برگشت به فید آسیبپذیریها
CVE-2026-9855 · custom-field-template
تزریق کدهای SQL (SQL Injection) در افزونه Custom Field Template وردپرس
افزونه Custom Field Template وردپرس در نسخههای تا ۲.۷.۸ به دلیل فرار ناکافی پارامتر post_ID و عدم آمادهسازی مناسب کوئری SQL در برابر تزریق SQL آسیبپذیر است. مهاجمان احراز هویتشده با سطح دسترسی Contributor و بالاتر میتوانند با دور زدن بررسی قابلیتها (به دلیل تبدیل داخلی شناسه به عدد صحیح در وردپرس در حالی که رشته کامل به کوئری SQL ارسال میشود) کوئریهای اضافی را اضافه کرده و اطلاعات حساس پایگاه داده را استخراج کنند. با توجه به وجود وصله امنیتی، توصیه میشود فوراً افزونه را به نسخه امن بهروزرسانی کنید.
نسخههای تحت تأثیر
<= 2.7.8
راهنمای اقدام و رفع مشکل (Remediation)
- ۱. پشتیبانگیری: قبل از اعمال هرگونه تغییر، یک بکاپ کامل از پایگاه داده و فایلهای سایت تهیه کنید.
- ۲. بهروزرسانی سریع: افزونه یا هسته custom-field-template را بلافاصله به آخرین نسخه ارائهشده ارتقا دهید.
- ۳. فایروال و مانیتورینگ: در صورت عدم امکان آپدیت فوری، رولهای امنیتی WAF را فعال کرده و لاگهای وبسرور را پایش نمایید.
مراجع رسمی و مستندات
- https://plugins.trac.wordpress.org/browser/custom-field-template/tags/2.7.7/custom-field-template.php#L105 ↗
- https://plugins.trac.wordpress.org/browser/custom-field-template/tags/2.7.7/custom-field-template.php#L3353 ↗
- https://plugins.trac.wordpress.org/browser/custom-field-template/tags/2.7.7/custom-field-template.php#L3479 ↗
- https://plugins.trac.wordpress.org/browser/custom-field-template/tags/2.7.7/custom-field-template.php#L4442 ↗
- https://plugins.trac.wordpress.org/browser/custom-field-template/tags/2.7.8/custom-field-template.php#L105 ↗
- https://plugins.trac.wordpress.org/browser/custom-field-template/tags/2.7.8/custom-field-template.php#L3353 ↗
- https://plugins.trac.wordpress.org/browser/custom-field-template/tags/2.7.8/custom-field-template.php#L3479 ↗
- https://plugins.trac.wordpress.org/browser/custom-field-template/tags/2.7.8/custom-field-template.php#L4442 ↗
- https://plugins.trac.wordpress.org/changeset?reponame=&old=3589466%40custom-field-template&new=3589466%40custom-field-template ↗
- https://www.wordfence.com/threat-intel/vulnerabilities/id/ce924708-935a-45c0-8959-dd122632cef4?source=cve ↗