• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 212
  • Last Modified:

Is it bad to have a bunch of data files flagged as executable?

I've found a bunch of files that are flagged as being executable, but most of them are really just data, text files, logs, etc. Basically, it looks like someone did chmod -R on a folder they shouldn't have. My question is, does this pose a serious security or stability problem that needs immediate attention, or can I wait for a slow day to go fix them all?
  • 2
1 Solution
most of the time it isn't harmful , as they are just datafiles , even if they are executable you cant run them , you will get command not found error.

It will be harmful is by any chance the data is such that it can be executed ,
for example its a binary datafile which is similar to an executable file
or its a text data file , which can be shell script commands.

As long as those files are inside the user's shell (anything else shouldn't be possible if your users don't have root or other special rights, executing a file like that by mistake and it does actually execute (see avizit and shellscript commands), it would only be able to compromise that specific user's environment.
billmercerAuthor Commented:
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Train for your Pen Testing Engineer Certification

Enroll today in this bundle of courses to gain experience in the logistics of pen testing, Linux fundamentals, vulnerability assessments, detecting live systems, and more! This series, valued at $3,000, is free for Premium members, Team Accounts, and Qualified Experts.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now