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

There is an Arbitrary Code Execution Vulnerability #1

Open
MRdoulestar opened this issue May 14, 2019 · 0 comments
Open

There is an Arbitrary Code Execution Vulnerability #1

MRdoulestar opened this issue May 14, 2019 · 0 comments

Comments

@MRdoulestar
Copy link

Vulnerability description:

There is a vulnerability which allows remote attackers to execute arbitrary code. The user can control the value of the field 'condition' of the database table 'vae_admin_rule', which is used for the parameters of the code execution function in the administrator privilege check module.

Payload:

123);system("echo ".base64_decode("Ijw/cGhwIHBocGluZm8oKTsi").">yunsle.php"

POC:

Firstly, we put the payload into the place as follows:
image

Then we create a new role group, which has limited privileges:
image

And we create a user that belongs to this role group:
image

We login as 'test', and it's obvious that user 'test' has no privilege to access any page:
image

But the payload has been executed when the system checked the privileges:
image

image

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