PodHawk 1.85 Arbitrary File Upload

Source: Internet
Author: User
Tags upload php

# Title: PodHawk Arbitary File Upload Vulnerability # Vulnerability discoverer: CWH Underground # Website: www.2600.in. th # developer Website: http://podhawk.sourceforge.net# Download: http://jaist.dl.sourceforge.net/project/podhawk/podhawk/podhawk_1_85/podhawk_1_85.zip# Affected Versions: 1.85 # tested systems: window and Linux ##################################### ############### VULNERABILITY: unrestricted File Upload/podhawk/uploadify. php (LINE: 33-44) ------------------------------------------------------------------------------- if (! Empty ($ _ FILES) {if ($ _ GET ['upload _ type'] = 'audio') {$ writable = 'upload'; $ targetPath = UPLOAD_PATH ;} else {$ writable = 'images'; $ targetPath = IMAGES_PATH ;} -----------------------------------------------------------------------------####################################### ############ description of This application has an upload feature that allows an authenticated userwith Administrator roles or User roles to upload arbitrary files cause remote code execution simply request it. ######################################## ############ exploit poc 1. log On User account (Author) account2. Access http://www.bkjia.com /Podhawk/index. php? Page = record13. Upload a file to the upload folder via "Browse" 4. Upload PHP shell (shell. php) and upload it5. For access shell, http://target/podhawk/upload/shell.php6 . Server Compromised !!

 

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.