The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How are people able to write files to /dev/shm?

Discussion in 'General Discussion' started by BianchiDude, Jul 21, 2005.

  1. BianchiDude

    BianchiDude Well-Known Member
    PartnerNOC

    Joined:
    Jul 2, 2005
    Messages:
    619
    Likes Received:
    0
    Trophy Points:
    16
    How are people able to write files to /dev/shm?
     
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    It's a file system. You should mount it noexec,nosuid,nodev in /etc/fstab. It won't stop writing to it, but it will stop direct execution - and update whichever scripts are being exploited.
     
Loading...

Share This Page