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

The RfExample plug-in has a remote code execution vulnerability #110

Open
kento996 opened this issue Nov 12, 2023 · 1 comment
Open

The RfExample plug-in has a remote code execution vulnerability #110

kento996 opened this issue Nov 12, 2023 · 1 comment

Comments

@kento996
Copy link

We found a remote command execution vulnerability in the RfExample plugin in the official plugin market.
In the actionCutImage() function of VideoController.php, the load method in the Modle class gets the post data:
image
Then $modle->video is parsed in getLocalFilePath; video is also CutImageForm['video'], which is discovered by debugging
CutImageForm['video'] is controllable and a malicious user can write malicious commands on the front end by controlling this value
image
Here are the results:
image

@xucanjia
Copy link

xucanjia commented Nov 12, 2023 via email

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

2 participants