1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Know About Symlink Attack

Discussion in 'Security' started by Bullten Webhosting, Jan 19, 2012.

  1. #1
    A Symlink Aka symbolic link is a virtual link pointing to a file in a directory. In shared Linux environment hard disk space in divided in several parts for different account. When proper security measures are not taken it may happen a shared hosting account can take over to another shared hosting account on same server by launching symlink attack. Certain measures have been taken by companies to block these types of attack and they have build their own private patches to harden server security. But what are you doing to stop symlink? Search online you will get solutions like blocking follow symlink or changing some settings in httpd.conf. Enough post and solutions are still not available only or by search in depth you will find for every solution there is a break thru. There are many ways and means to bypass those settings and initiate symlink attacks to break server security but I am not going to explain how to do it. Lets see how this attack can be initiated.

    How It’s Done?

    Well just by passing a proper symlink query will do the job.

    Syntax:

    ln -s target_file_path new_file_name
    Code (markup):
    Suppose you have a site xyz.com a wordpress site on a cpanel server and its user is xyz and another user abc.com just have to run below command to get that file:
    ln -s /home/xyz/public_html/wp-config.php wo.txt
    Code (markup):
    This will get full source code of that file and known as full file disclosure vulnerability. Run the symlink attack on your server to make sure you are safe.

    Article Source: What is symlink attack
     
    Bullten Webhosting, Jan 19, 2012 IP
  2. SolidShellSecurity

    SolidShellSecurity Banned

    Messages:
    262
    Likes Received:
    3
    Best Answers:
    1
    Trophy Points:
    45
    #2
    When we compiled Apache we added a custom security patch that protects against all forms of SymLink attacks.
     
    SolidShellSecurity, Jan 20, 2012 IP