Skip to content

SQL Injection Vulnerabilities #261

Open
@xiaoxianghuayu

Description

There are 2 time-based SQL Injection Vulnerabilities, in /load_data_for_groups.php and /load_data_for_topusers.php respectively.

ENV:
ubuntu14.04
php 5.5.9
mysql 5.5.62

SQL Injection in /load_data_for_groups.php

vulnerable code:

Line16: the $page_size is user controllable and directly used in sql statement which may cause a time-based sql injection

image

POC:

trigger the sql injection(my mysql version is 5.5.62):

image

do not trigger:

image

SQL Injection in /load_data_for_topusers.php

vulnerable code:

Line30: the $page_size is user controllable and directly used in sql statement which may cause a time-based sql injection

image

POC:

trigger the sql injection(my mysql version is 5.5.62):

image

do not trigger:

image

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions