Re: [Full-Disclosure] How secure is PHP ?

From: Adam Jacob Muller (adam_at_gotlinux.us)
Date: 11/02/04

  • Next message: KF_lists: "Re: [Full-Disclosure] Should the industry be expecting a hacker response to election results?"
    Date: Tue, 2 Nov 2004 17:01:16 -0500
    
    

    What you should do, is write a PHP program without looking at the
    security doc. Then make the final exam to harden that program, they are
    students, make them do the work for you.

    Adam

    Civil disobedience is not our problem. Our problem is civil obedience.
    Our problem is that numbers of people all over the world have obeyed
    the dictates of the leaders of their government and have gone to war,
    and millions have been killed because of this obedience. . . Our
    problem is that people are obedient all over the world in the face of
    poverty and starvation and stupidity, and war, and cruelty. Our problem
    is that people are obedient while the jails are full of petty thieves,
    and all the while the grand thieves are running the country. That's our
    problem.
    -Howard Zinn

    On Nov 1, 2004, at 2:05 PM, Gary E. Miller wrote:

    > -----BEGIN PGP SIGNED MESSAGE-----
    > Hash: SHA1
    >
    > Yo Nayana!
    >
    > On Mon, 1 Nov 2004, Nayana Somaratna wrote:
    >
    >> However, when browsing the web, I found an article which said that "it
    >> requires an expert to lockdown php" (Sorry, but I can't quite recall
    >> the URL).
    >
    > Saying PHP in insecure is like saying C is insecure.  Until their is
    > a programmer involved, writing bad code, there is no problem.  Just
    > like
    > C if the programmer carefully validates and contrains ALL input then
    > the program is not only secure but robust.
    >
    >> So, I'd like to ask the members of this list - how difficult is it to
    >> secure php ? Do you really need a security "expert" to do this ?
    >
    > PHP has very good write ups on security in the online doc.  Here is the
    > chapter:
    >
    >     http://www.php.net/manual/en/security.php
    >
    > If you can read, understand and FOLLOW those recomendatins then you
    > are OK.
    > If not, then get the assistance of an "expert" that does.
    >
    > RGDS
    > GARY
    > -
    > -----------------------------------------------------------------------
    > ----
    > Gary E. Miller Rellim 20340 Empire Blvd, Suite E-3, Bend, OR 97701
    >     gem@rellim.com  Tel:+1(541)382-8588 Fax: +1(541)382-8676
    >
    > -----BEGIN PGP SIGNATURE-----
    > Version: GnuPG v1.2.3 (GNU/Linux)
    >
    > iD8DBQFBhoju8KZibdeR3qURAmzpAJ928ofMk+NqtWLPHNg/FwWQ7HE/UwCfVwpW
    > eANLHG73S0GOZcgi5zyIVW0=
    > =VsB9
    > -----END PGP SIGNATURE-----
    >
    > _______________________________________________
    > Full-Disclosure - We believe in it.
    > Charter: http://lists.netsys.com/full-disclosure-charter.html
    >
    >
    > !DSPAM:4186a5b6167422090414872!
    >
    On Nov 1, 2004, at 2:05 PM, Gary E. Miller wrote:

    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1

    Yo Nayana!

    On Mon, 1 Nov 2004, Nayana Somaratna wrote:

    However, when browsing the web, I found an article which said that "it
    requires an expert to lockdown php" (Sorry, but I can't quite recall
    the URL).

    Saying PHP in insecure is like saying C is insecure.  Until their is
    a programmer involved, writing bad code, there is no problem.  Just like
    C if the programmer carefully validates and contrains ALL input then
    the program is not only secure but robust.

    So, I'd like to ask the members of this list - how difficult is it to
    secure php ? Do you really need a security "expert" to do this ?

    PHP has very good write ups on security in the online doc.  Here is the
    chapter:

        http://www.php.net/manual/en/security.php

    If you can read, understand and FOLLOW those recomendatins then you are
    OK.
    If not, then get the assistance of an "expert" that does.

    RGDS
    GARY
    -
    ------------------------------------------------------------------------

    ---
    Gary E. Miller Rellim 20340 Empire Blvd, Suite E-3, Bend, OR 97701
        gem@rellim.com  Tel:+1(541)382-8588 Fax: +1(541)382-8676
    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.2.3 (GNU/Linux)
    iD8DBQFBhoju8KZibdeR3qURAmzpAJ928ofMk+NqtWLPHNg/FwWQ7HE/UwCfVwpW
    eANLHG73S0GOZcgi5zyIVW0=
    =VsB9
    -----END PGP SIGNATURE-----
    _______________________________________________
    Full-Disclosure - We believe in it.
    Charter: http://lists.netsys.com/full-disclosure-charter.html
    !DSPAM:4186a5b6167422090414872!
    _______________________________________________
    Full-Disclosure - We believe in it.
    Charter: http://lists.netsys.com/full-disclosure-charter.html
    

  • Next message: KF_lists: "Re: [Full-Disclosure] Should the industry be expecting a hacker response to election results?"

    Relevant Pages

    • TSLSA-2005-0059 - multi
      ... Affected versions: Trustix Secure Linux 2.2 ... PHP is an HTML-embedded scripting language. ... use of Rest with FTP servers and Range with HTTP servers to retrieve files ... - New Upstream and Multiple Vendor Security Fixes ...
      (Bugtraq)
    • [NEWS] PHP Security Vulnerability in Multipart FORM Data Handling
      ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... The PHP Group has learned of a serious security vulnerability in PHP ... code with the privileges of the web server. ...
      (Securiteam)
    • TSLSA-2007-0017 - multi
      ... Affected versions: Trustix Secure Linux 2.2 ... PHP is an HTML-embedded scripting language. ... SECURITY Fix: Arnaud Giersch has reported a weakness in ELinks, ... The Common Vulnerabilities and Exposures project ...
      (Bugtraq)
    • Re: Securing an Email script
      ... request to our sales office. ... Since you do ZERO checking on the values it's nothing BUT security issues. ... very powerful PHP function to validate form fields and other strings - ...
      (comp.lang.php)
    • [ GLSA 200511-08 ] PHP: Multiple vulnerabilities
      ... PHP suffers from multiple issues, resulting in security functions ... bypass, local Denial of service, cross-site scripting or PHP variables ...
      (Bugtraq)

  • Quantcast