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

Cross-site Scripting (XSS) in bigtreecms 4.2.22 #333

Closed
l1nk3rlin opened this issue Apr 17, 2018 · 4 comments
Closed

Cross-site Scripting (XSS) in bigtreecms 4.2.22 #333

l1nk3rlin opened this issue Apr 17, 2018 · 4 comments

Comments

@l1nk3rlin
Copy link

Cross-site Scripting (XSS) in bigtreecms 4.2.22

The vulnerability is in /core/inc/lib/less.php/test/index.php。
image
POC:
localhost/BigTree-CMS/core/inc/lib/less.php/test/index.php?dir=aaa"><script>alert(1)</script>&file=charsets
image
thank you~

@timbuckingham
Copy link
Collaborator

This is a submodule of https://github.com/oyejorge/less.php -- I would report the issue there.

@fgeek
Copy link

fgeek commented Dec 25, 2018

@timbuckingham check the comment in oyejorge/less.php#361

@timbuckingham
Copy link
Collaborator

I've adjusted the build scripts for BigTree 4.2.x to explicitly delete /core/inc/lib/less.php/test when building a production zip file (so it should be removed in the next 4.2.x release). BigTree 4.3.x already moved to using composer to install the LESS library so it should be fixed there. Thanks for the follow up!

@fgeek
Copy link

fgeek commented Dec 25, 2018

Great, thanks! I think that this issue report can be closed.

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

3 participants