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

EmpireCMS v7.5 has sql injection vulnerability #5

Open
xunyang1 opened this issue Apr 1, 2022 · 0 comments
Open

EmpireCMS v7.5 has sql injection vulnerability #5

xunyang1 opened this issue Apr 1, 2022 · 0 comments

Comments

@xunyang1
Copy link

xunyang1 commented Apr 1, 2022

Brief of this vulnerability

EmpireCMS v7.5 has sql injection vulnerability in adding advertisement category

Test Environment

  • Windows10
  • PHP 5.5.9+Apache/2.4.39

Affect version

EmpireCMS 7.5

Vulnerable Code

e\admin\tool\AdClass.php line 30

The variable $add passed in by the AddAdClass function is inserted into the sql statement without any filtering, resulting in a sql injection vulnerability

image-20220401160151356

Vulnerability display

First enter the background

image-20220401160307629

Click as shown,go to the ad management module

image-20220401160403947

Click to add and capture the packet

image-20220401160426984

image-20220401160506856

Modify parameters
payload:add%5Bclassname%5D=2bob' or updatexml(1,concat(0x7e,version()),0) or '

image-20220401160558820

Successfully obtained the database 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