advanced search
Welcome, {user_name}
[logout]
 Menu 
Home
Meeting Info
History
Files
Presentations
Projects
Charter

 Upcoming Events 
There are no upcoming events

 Topics 
Home
Website News (2/0)
General News (5/0)
LUG News / Business (2/0)
Geeklog News (8/0)

 User Functions 
Username:

Password:

SHA disabled
Don't have an account yet? Sign up as a New User

 Older Stories 
Sunday 28-May
  • Z4CK 2, novel (16)

  • Thursday 18-May
  • Dapper Drake (61)

  • Wednesday 03-May
  • Debian Wiki (38)
  • Internet and Congress (43)

  • Friday 10-Mar
  • Loaded Debian SPARC on Sun Blade 150 (40)

  • Wednesday 01-Feb
  • Linux-Med (26)

  • Friday 28-Oct
  • New Site is up! (28)


  •  

     
     Home »  Support »  OWASP Models
    Prev Topic Next Next Topic Printable Version
    OWASP Models Views: 3298
     Friday, May 12 2006 @ 08:55 PM EDT
    Configuration of linux apps and the OWASP security model.

    The main app i'm concerned with is apache, and it's communication to mysql with php.

    There are many suggestions in what modules should be used with apache, theory of what a secure app. should do, how to appropriately code php, what not to do with mysql.

    This is just an initial string to start communication.

    Lewis

           
     Quote 
     
     Friday, May 12 2006 @ 09:45 PM EDT
    from the OWASP manual
    http://www.owasp.org/documentation/guide/guide_downloads.html

    PHP. Starting on page 257 there are outlined guidelines on writing php.

    At the risk of showing my newbness in php, but not using superglobals makes things quite difficult for me.. anybody have any suggested techniques?

    There was no mention of stripslashes(), stripcslashes(), strip_tags()

    Starting on page 270 are there any comments questions on these suggestions?

    Ok, it sayeth some rot about not using apps built using C or C++.... so only java programs are super secure? because of OOP?

      Profile      Email   
     Quote 
     
     Monday, May 15 2006 @ 08:51 PM EDT
    finding SUID root files

    find / -perm +4000 -user root -type f -print
    Result:
    /usr/bin/newgrp
    /usr/bin/chfn
    /usr/bin/chsh
    /usr/bin/gpasswd
    /usr/bin/passwd
    /usr/bin/at
    /usr/bin/cardinfo
    /usr/bin/traceroute.lbl
    /usr/bin/gpg
    /usr/bin/lpq
    /usr/bin/lprm
    /usr/bin/lpr
    /usr/bin/mtr
    /usr/bin/procmail
    /usr/bin/fileshareset
    /usr/bin/kgrantpty
    /usr/bin/kpac_dhcp_helper
    /usr/bin/cdrecord
    /usr/bin/cdrecord.mmap
    /usr/bin/cdrecord.shm
    /usr/bin/sudo
    /usr/bin/pumount
    /usr/bin/pmount
    /usr/bin/kppp
    /usr/bin/gpg2
    /usr/bin/cpufreq-selector
    /usr/bin/smbumount
    /usr/bin/smbmnt
    /usr/bin/v4l-conf
    /usr/lib/pt_chown
    /usr/lib/ssh-keysign
    /usr/lib/apache/suexec.disabled
    /usr/sbin/exim4
    /usr/sbin/pppd
    /usr/sbin/pppoe
    /usr/X11R6/bin/X
    /bin/login
    /bin/su
    /bin/mount
    /bin/umount
    /bin/ping
    /bin/ping6
    find: /proc/4538/task: No such file or directory
    find: /proc/4843/task/4843/fd/4: No such file or directory
    /sbin/unix_chkpwd
    /sbin/cardctl

    find / -perm +2000 -group root -type f -print
    Result:
    /usr/X11R6/bin/X
    find: /proc/4538/task: No such file or directory
    find: /proc/4905/task/4905/fd/4: No such file or directory

    I read this in a book.. at a coffee shop...

    should these files need to priviliged.
    chmod them as no u/g-s


           
     Quote 
     
     Monday, May 15 2006 @ 08:59 PM EDT
    Unneccessary accounts in linux, (unless they are necessary)
    UUCP
    games
    x-windows managers
    xfs
    rpcusers
    rpc,

    any others? that wouldn't be neccessary in a secure environment?

           
     Quote 
     
     Monday, May 15 2006 @ 09:34 PM EDT
    to remove services

    update-rc.d -f "service_name" remove

    or change the service name in the init level of your choice

           
     Quote 
     
     Friday, May 26 2006 @ 04:50 PM EDT
    Secure PHP Wiki
    http://www.securephpwiki.com/index.php/Main_Page?seenIEPage=1

      Profile      Email   
     Quote 
     

     
    Topic Legend:
    Normal Topic Normal Topic
    Locked Topic Locked Topic
    Sticky Topic Sticky Topic
    New Post New Post
    Sticky Topic W/ New Post Sticky Topic W/ New Post
    Locked Topic W/ New Post Locked Topic W/ New Post
    Subscribe to this topic Subscribe to this topic
    You may not post messages
    Full HTML is allowed
    Words are censored

     Copyright © 1999-2005 Melbourne Linux Users Group, Inc.
     All trademarks and copyrights on this page are owned by their respective owners.
    Powered By GeekLog v1.3.11sr7-1 
    Created this page in 0.99 seconds