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

phpcms2008 product.php pagesize parameters RCE #4

Open
blindkey opened this issue Feb 18, 2020 · 0 comments
Open

phpcms2008 product.php pagesize parameters RCE #4

blindkey opened this issue Feb 18, 2020 · 0 comments

Comments

@blindkey
Copy link
Owner

blindkey commented Feb 18, 2020

phpcms 2008 in yp/product.php
image

there is no filter before or after the pagesize value pass to $urlrules
image

and after template render ,we come to a function which will evaluate the data like below:

image

so the evalutate will trigger a arbitry command injection.

poc like this:
/yp/product.php?pagesize=${@phpinfo()}

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