
CVE-2023-6063 के लिए Python PoC, WP Fastest Cache <=1.2.2 में एक unauthenticated time-based blind SQL injection, जो WordPress password hashes और emails निकालता है।
CVE-2023-6063 के लिए Proof of Concept (PoC), जो एक unauthenticated, time-based blind SQL injection vulnerability है और WP Fastest Cache ≤ 1.2.2 को प्रभावित करती है।
यह vulnerability wordpress_logged_in cookie के माध्यम से trigger की जा सकती है और हमलावर को WordPress database से संवेदनशील जानकारी, जिसमें password hashes और email addresses शामिल हैं, का अनुमान लगाने की अनुमति दे सकती है।
केवल अधिकृत security testing और educational purposes के लिए।
Time-based blind SQL injection testing।
SQL SLEEP() delays का उपयोग करके character-by-character data extraction।
किसी विशिष्ट WordPress username को target करना।
वैकल्पिक password-hash validation।
वैकल्पिक email extraction।
Custom cookie support।
Configurable response delay।
Troubleshooting के लिए Debug mode।
निम्नलिखित का उपयोग करके Selective extraction:
--just-hash--just-emailTarget configuration और database contents के आधार पर, यह PoC निम्नलिखित निकाल सकता है:
wp_users.user_pass से WordPress password hashes।wp_users.user_email से संबंधित email addresses।आवश्यक Python dependencies install करें:
pip install -r requirements.txt
python3 poc.py -u https://vulnerable-website.example --username admin --delay 5
Example URL को उस system से बदलें जिसे test करने के लिए आपको स्पष्ट रूप से authorization प्राप्त है।
-h, --help
Show the help message and exit.
-u URL, --url URL
Full URL of the WordPress installation to test.
--username USERNAME
Specify the WordPress username whose information should be tested.
-d DELAY, --delay DELAY
Response delay used for time-based testing.
Default: 5 seconds.
Minimum: 2 seconds.
-H HASH, --hash HASH
Hash to verify against the wp_users table.
If the hash contains special characters, wrap it in single quotes.
--domain DOMAIN
Domain used for email validation.
-c COOKIE, --cookie COOKIE
Specify a custom cookie name if the target uses a different context.
--status-code STATUS_CODE
Specify the expected positive HTTP status code.
Default: 200.
--debug
Enable additional debugging output.
--just-hash
Extract only the password hash.
--just-email
Extract only the email address.
CVE-2023-6063 WP Fastest Cache versions ≤ 1.2.2 को प्रभावित करती है।
यह vulnerability एक unauthenticated blind SQL injection है जिसे wordpress_logged_in cookie के माध्यम से trigger किया जा सकता है।
इस issue का दुरुपयोग WordPress database के विरुद्ध time-based inference करने के लिए किया जा सकता है। HTTP response times में अंतर मापकर, HTTP response में सीधे queried data प्राप्त किए बिना database values के अलग-अलग characters का संभावित रूप से अनुमान लगाया जा सकता है।
अंतर्निहित technique का एक सरलीकृत उदाहरण है:
" AND (IF(
(SELECT user_pass
FROM wp_users
WHERE user_login="admin") LIKE 'a%',
SLEEP(5),
0
))-- -
यदि tested condition true होती है, तो database एक delay उत्पन्न करता है। विभिन्न characters के साथ इस प्रक्रिया को दोहराने से जानकारी character by character अनुमानित की जा सकती है।
| Security Property | Impact |
|---|---|
| Confidentiality | High |
| Integrity | None |
| Availability | None |
संभावित रूप से उजागर होने वाली जानकारी में WordPress user password hashes और email addresses शामिल हैं।
निम्नलिखित demonstration दिखाता है कि PoC का उपयोग एक authorized test environment के विरुद्ध किया जा रहा है:
जब किसी authorized security assessment के दौरान वैध रूप से WordPress password hash प्राप्त कर लिया गया हो, तो password strength का आकलन करने के लिए John the Ripper या Hashcat जैसे password-auditing tools का उपयोग किया जा सकता है।
उदाहरण के लिए, John the Ripper के साथ:
john --wordlist=/usr/share/wordlists/rockyou.txt hash.txt --format=phpass
Password auditing केवल उन्हीं hashes के विरुद्ध करें जिन्हें रखने और test करने के लिए आपको authorization प्राप्त है।
WP Fastest Cache:
≤ 1.2.2
अनुशंसित mitigation है WP Fastest Cache को उस version में upgrade करना जिसमें security fix शामिल है।
अतिरिक्त defensive measures में शामिल हैं:
Recommended: WP Fastest Cache को 1.2.3 या बाद के version में upgrade करें।
यह project केवल educational purposes और authorized security research के लिए प्रदान किया गया है।
किसी भी system, website, application, या infrastructure के विरुद्ध इस PoC का उपयोग owner की स्पष्ट अनुमति के बिना न करें।
इस software के उपयोग से होने वाले misuse, damage, data loss, unauthorized access, या किसी अन्य परिणाम के लिए author जिम्मेदार नहीं है।
केवल उन्हीं systems को test करें जिनके आप owner हैं या जिनका आकलन करने के लिए आपके पास स्पष्ट authorization है।
यह project GNU General Public License v3.0 (GPLv3) के अंतर्गत जारी किया गया है।
| Property | Details |
|---|
| CVE | CVE-2023-6063 |
| CVSS | 7.5 — High |
| Vulnerability | Blind SQL Injection |
| Injection Type | Time-Based |
| Authentication | Not required |
| Affected Software | WP Fastest Cache |
| Affected Versions | ≤ 1.2.2 |
| Attack Vector | Remote |