-
-
Notifications
You must be signed in to change notification settings - Fork 317
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
Non-executable files set with executable permissions #2172
Comments
This is not intentional. Thanks for reporting. Out of curiosity what is the bug you are having? |
No bug. By saying "I often find it as a bug" I wanted to indicate that usually it is not intentional. |
So, do you think the maintainers need to take action on this or can we close this then, because it does not seem to break someones production site, right? I am happy to accept a PR that changes those files permissions, though. |
That is actually a good question. In general I think that only executable files should be executables as that indicates what can be executed. I'm happy to fix that in this repo, so if you don't mind lets keep it open till tomorrow (when I can submit a patch). One security case that I've seen that could exploit that, is with types mismatch (it did happen) when png files were executables with cryptojacking code. |
Hey there,
While reviewing the source code of
alchemy_cms
I've noticed, that several files in theapp/assets
directory have executable permissions while not being an executables.For example:
is that something intended? If so, I would appreciate explanation as I often find it as a bug.
Thank you 🙏
The text was updated successfully, but these errors were encountered: