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

72crm v9 has sql injection vulnerability #34

Open
xunyang1 opened this issue Jul 28, 2022 · 0 comments
Open

72crm v9 has sql injection vulnerability #34

xunyang1 opened this issue Jul 28, 2022 · 0 comments

Comments

@xunyang1
Copy link

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

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

1 participant