Subversion
Written by: Lorna Jane Mitchell
Featured Refcardz: Top Refcardz:
  1. Git
  2. DNS
  3. Data Mining
  4. Spring Data
  5. Subversion
  1. Spring Data
  2. Subversion
  3. Spring Config.
  4. Spring Annotations
  5. Data Mining

Link Details

Link 131556 thumbnail
User 196387 avatar

By ekabanov
via dow.ngra.de
Published: Nov 04 2008 / 12:40

About 10 years ago a friend of mine showed me an exploit. It was written in C and it tried to spawn a shell at a remote host. It seemed pretty cool. I did not understand the code but the mere idea that almost anybody equipped with a script like that could deface a webpage seemed scary.
  • 30
  • 1
  • 4257
  • 3

Comments

Add your comment
User 201021 avatar

ashiro replied ago:

0 votes Vote down Vote up Reply

I was a script kiddie once - until I became respectable! In my day we didn't have fancy stuff like that.

User 285236 avatar

rkg replied ago:

0 votes Vote down Vote up Reply

Solutions: Chroot your web server. Avoid any suid/sgid tool inside the chroot. Use fastcgi (Lighttpd works OK for me) and let every domain running their own sockets with their own user. This is a nice guide about it:
http://redmine.lighttpd.net/wiki/lighttpd/HowToSetupFastCgiIndividualPermissions

Be careful also with MySQL permissions. End of problem.

User 233461 avatar

antych replied ago:

0 votes Vote down Vote up Reply

behold the power of PHP ;)
this is quite impressive

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.