Skip to content

Commit

Permalink
Merge pull request #586 from sl33pingmathrapt0r/patch-1
Browse files Browse the repository at this point in the history
buggy authbypass
  • Loading branch information
digininja committed Oct 11, 2023
2 parents c5fcfc1 + 4ae428d commit 9b787fc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions vulnerabilities/authbypass/change_user_details.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

if (dvwaSecurityLevelGet() == "impossible" && dvwaCurrentUser() != "admin") {
print json_encode (array ("result" => "fail", "error" => "Access denied"));
exit;
}

if ($_SERVER['REQUEST_METHOD'] != "POST") {
Expand Down

0 comments on commit 9b787fc

Please sign in to comment.