Possible Security Flaw in Concrete5
Permalink
I don't know if this has been fixed in the current version, but one of our sites failed a security test. The download_file url in concrete allows malicious users to change the url to add directory traversing such as ../ This means they could look a link to the file manager that is something like this:
and change it to something like this:
is there a way to prevent this behavior?
http://www.mainstreetartsfest.org/index.php/download_file/1234/567
and change it to something like this:
http://www.mainstreetartsfest.org/index.php/download_file/1234/567/../../../../somedir/MySecureFile.xml
is there a way to prevent this behavior?
Can you post an example of an inappropriate file being served?