Security of GNU/Linux Systems

I was surprised to see Brazil in the list of systems compromised by “Anonymous” recently. To demonstrate the compromise, /etc/passwd from some systems was published. GNU/Linux has a simple and reliable system of authentication which should prevent access to that file except by root, the administrative user. The actual passwords are not revealed but the usernames and real names of accounts are in there as well as user and group id numbers and /home directories.

A clue to the nature of the compromise comes from others in the list, Zimbabwe, Anguilla, Mosmon Council in Australia,… The latter included MySQL database dumps from “teens.mosmanlibraryblogs.com” and other sites. Mosmon Council also ran Lose 2K until 2008 when they switched to GNU/Linux on web servers. They have announced the breach:
Mosman Council is aware that an organisation has hacked Council’s websites and is making that content available for download.
However, no ratepayer information from Council’s internal systems has been accessed.
The hack was made via an sql injection exploit on a subsidiary website deployed some years ago. The hack was able to initiate a ‘data dump’ of some of our public-facing websites. The information being made available is essentially what you are able to access when browsing our websites. The web editors’ passwords are encrypted, and are now being changed.
There has been no unauthorised access to Council’s internal systems.
. In other words, Anonymous has likely picked some low-hanging fruit on the web. It happens. One weak password is all it takes. One web application allowing in SQL injections is all it takes. One discarded hard drive not properly wiped is all it takes.

That Anonymous had to reach so far to find low-hanging fruit gives us hope that more challenging targets are a lot more challenging. It’s passed the time where everyone has to work towards better security.

- Robert Pogson

3 Responses to “Security of GNU/Linux Systems”


  1. 1 kolter.online Jun 28th, 2011 at 9:42 am

    sanitize your inputs, people.

  2. 2 Nux Jun 29th, 2011 at 1:34 am

    The /etc/passwd file is readable by any user in the system; it’s not that critical of an issue.

  3. 3 Robert Pogson Jun 29th, 2011 at 4:52 am

    Visitors to a website should not have permission to read that file. That is, Apache or other web service should have its “document root” be a directory like /var/www and not the whole file system including /etc/. A web server probably should not have any “normal user” accounts, because they are not necessary.

Leave a Reply

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>




Archives by Month

My Mission

My observations and opinions about IT are based on 40 years of use in science and technology and lately, in education. I like IT that is fast, cost-effective and reliable. I do not care whether my solution is the same as yours. I like to think for myself.

My first use of GNU/Linux in 2001 was so remarkably better than what I had been using, I feel it is important work to share GNU/Linux with the world. I have been blessed by working in schools where students and school systems have benefited by good, modular software easily installed in most systems.

I have shown GNU/Linux to thousands of students and hundreds of teachers over the years and will continue in some way doing that until I die in spite of the opposition.

Posts

June 2011
S M T W T F S
« May   Jul »
 1234
567891011
12131415161718
19202122232425
2627282930  

    Writing

    3429 articles
    30563 comments

      Comments

      platforms
      linux 17452
      windows 12750
      macos 206
      sun 3
      wp 2

      browsers
      firefox 23894 
      safari 11852 
      chrome 11704 
      ie 4624 
      iceweasel 4259 
      opera 1641 
      konqueror 198 
      netnewswire 14 
      epiphany 2 
      flock 0 
      bonecho 0 
      lynx 0 

Bad Behavior has blocked 6263 access attempts in the last 7 days.