Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

there is a login bypass vulnerability in admin_verify.php #14

Open
liao10086 opened this issue Jan 17, 2020 · 0 comments
Open

there is a login bypass vulnerability in admin_verify.php #14

liao10086 opened this issue Jan 17, 2020 · 0 comments

Comments

@liao10086
Copy link

version:1.0
No login required.
View source code admin_verify.php
1
he judgment is that if the query results of login name and password are not the same, the judgment is that the password or user name is wrong

This is obviously wrong. According to this meaning, you can log in successfully as long as the user name and password are matched

We test that the login name is admin password arbitrary
image

Login succuss!
suggest:Change this code to
if($name != $row['name'] || $pass != $row['pass']){
author:zionlab@dbappsecurity.com.cn

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant