Byzro Networks Smart S80 management platform has rce vulnerability
version:s80
Vulnerability location:/importhtml.php
Code analysis
The sql parameters in the code are controllable and brought into the exportHtmlWebSend() function.
In this function, the sql statement is directly brought into mysql_query() for execution. We can write any file into the file through intooutfile, causing an rce vulnerability.
- The login interface is as shown in the figure.
- Construct the url, write the comment.php file, construct the poc, and successfully execute the command
POC