GithubHelp home page GithubHelp logo

esp8266_wifi_file_manager's People

Contributors

breagan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

esp8266_wifi_file_manager's Issues

ESP8266 WiFi File Manager – Multiple Cross-Site Scripting (XSS) in “send_Compile.php”

Product: ESP8266 WiFi File Manager
Download: https://github.com/breagan/ESP8266_WiFi_File_Manager
Vunlerable Version: latest version
Tested Version: latest version
Author: ADLab of Venustech

Advisory Details:
Multiple Cross-Site Scripting (XSS) were discovered in “ESP8266 WiFi File Manager latest version”, which can be exploited to execute arbitrary code.
The vulnerabilities exist due to insufficient filtration of user-supplied data in multiple parameters passed to the “ESP8266_WiFi_File_Manager-master/PHP_files/send_Compile.php” URL. An attacker could execute arbitrary HTML and script code in a browser in the context of the vulnerable website.
The exploitation examples below use the "alert()" JavaScript function to see a pop-up messagebox:
Poc:
(1)
Post:IP= ><script>alert(1);</script><
To
http://localhost/.../ESP8266_WiFi_File_Manager-master/PHP_files/send_Compile.php
(2)
Post: filename=><script>alert(1);</script><
To
http://localhost/.../ESP8266_WiFi_File_Manager-master/PHP_files/send_Compile.php

ESP8266 WiFi File Manager – Cross-Site Scripting (XSS) in “send_Restart.php”

Product: ESP8266 WiFi File Manager
Download: https://github.com/breagan/ESP8266_WiFi_File_Manager
Vunlerable Version: latest version
Tested Version: latest version
Author: ADLab of Venustech

Advisory Details:
A Cross-Site Scripting (XSS) was discovered in “ESP8266 WiFi File Manager latest version”, which can be exploited to execute arbitrary code.
The vulnerability exists due to insufficient filtration of user-supplied data in the “chipIP” HTTP POST parameter passed to the “ESP8266_WiFi_File_Manager-master/PHP_files/send_Restart.php” URL. An attacker could execute arbitrary HTML and script code in a browser in the context of the vulnerable website.
The exploitation example below uses the "alert()" JavaScript function to see a pop-up messagebox:
Poc:
(1)
Post:chipIP= ><script>alert(1);</script><
To
http://localhost/.../ESP8266_WiFi_File_Manager-master/PHP_files/send_Restart.php

security contact?

Hello, could you please provide an email for a vulnerability report? Additionally, adding a SECURITY.md with instructions for researchers would be helpful. Thanks!

tag @breagan

ESP8266 WiFi File Manager – Multiple Cross-Site Scripting (XSS) in “send_Delfile.php”

Product: ESP8266 WiFi File Manager
Download: https://github.com/breagan/ESP8266_WiFi_File_Manager
Vunlerable Version: latest version
Tested Version: latest version
Author: ADLab of Venustech

Advisory Details:
Multiple Cross-Site Scripting (XSS) were discovered in “ESP8266 WiFi File Manager latest version”, which can be exploited to execute arbitrary code.
The vulnerabilities exist due to insufficient filtration of user-supplied data in multiple parameters passed to the “ESP8266_WiFi_File_Manager-master/PHP_files/send_Delfile.php” URL. An attacker could execute arbitrary HTML and script code in a browser in the context of the vulnerable website.
The exploitation examples below use the "alert()" JavaScript function to see a pop-up messagebox:
Poc:
(1)
Post:IP= ><script>alert(1);</script><
To
http://localhost/.../ESP8266_WiFi_File_Manager-master/PHP_files/send_Delfile.php
(2)
Post: filename=><script>alert(1);</script><
To
http://localhost/.../ESP8266_WiFi_File_Manager-master/PHP_files/send_Compile.php

ESP8266 WiFi File Manager – Multiple Cross-Site Scripting (XSS) in “send_Dofile.php”

Product: ESP8266 WiFi File Manager
Download: https://github.com/breagan/ESP8266_WiFi_File_Manager
Vunlerable Version: latest version
Tested Version: latest version
Author: ADLab of Venustech

Advisory Details:
Multiple Cross-Site Scripting (XSS) were discovered in “ESP8266 WiFi File Manager latest version”, which can be exploited to execute arbitrary code.
The vulnerabilities exist due to insufficient filtration of user-supplied data in multiple parameters passed to the “ESP8266_WiFi_File_Manager-master/PHP_files/send_Dofile.php” URL. An attacker could execute arbitrary HTML and script code in a browser in the context of the vulnerable website.
The exploitation examples below use the "alert()" JavaScript function to see a pop-up messagebox:
Poc:
(1)
Post:IP= ><script>alert(1);</script><
To
http://localhost/.../ESP8266_WiFi_File_Manager-master/PHP_files/send_Dofile.php.php
(2)
Post: filename=><script>alert(1);</script><
To
http://localhost/.../ESP8266_WiFi_File_Manager-master/PHP_files/send_Dofile.php.php

ESP8266 auto discovery

First thing, thank you for your work. I had the exact same issues as you before finding this repo.

Have you already though about ESP8266 auto discovery (instead of manually set the ip address) ? This can easily be done by using UDP multicast address. By easy I mean this kind of protocol exists, I have no idea if it can be implemented in LUA nor PHP.

I'm more of a Java person, so if it's available in LUA but not PHP I can make a webapp using Java.

ESP8266 WiFi File Manager – Cross-Site Scripting (XSS) in “writeIP.php”

Product: ESP8266 WiFi File Manager
Download: https://github.com/breagan/ESP8266_WiFi_File_Manager
Vunlerable Version: latest version
Tested Version: latest version
Author: ADLab of Venustech

Advisory Details:
A Cross-Site Scripting (XSS) was discovered in “ESP8266 WiFi File Manager latest version”, which can be exploited to execute arbitrary code.
The vulnerability exists due to insufficient filtration of user-supplied data in the “chipIP” HTTP POST parameter passed to the “ESP8266_WiFi_File_Manager-master/PHP_files/writeIP.php” URL. An attacker could execute arbitrary HTML and script code in a browser in the context of the vulnerable website.
The exploitation example below uses the "alert()" JavaScript function to see a pop-up messagebox:
Poc:
(1)
Post:chipIP= ><script>alert(1);</script><
To
http://localhost/.../ESP8266_WiFi_File_Manager-master/PHP_files/writeIP.php

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.