Skip to content

Latest commit

 

History

History
28 lines (25 loc) · 1.07 KB

readme.md

File metadata and controls

28 lines (25 loc) · 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.