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

SchoolCMS_File_Upload_Vuln #3

Open
PearlyNautilus opened this Issue Mar 5, 2019 · 0 comments

Comments

Projects
None yet
1 participant
@PearlyNautilus
Copy link
Owner

PearlyNautilus commented Mar 5, 2019

There is another file upload vulnerability on upload Theme, SchoolCMS V2.3.1
(The Product HomePage: http://www.schoolcms.org/)
Show case:
11
Edit a php file with special name
22
Transform it to a zip file like this
33
Theme file uploading...
444

We can find it from backstage processes.
\schoolcms v2.3.1\Application\Admin\Controller\ThemeController.class.php line 180 function Upload()
55
66
With function file_put_contents(), 1_Static.php that we uploaded save in a specified location: \schoolcms v2.3.1\Public\Home\1_Static.php
77
88

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.