Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:87208 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 81063 invoked from network); 17 Jul 2015 13:55:58 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 17 Jul 2015 13:55:58 -0000 Authentication-Results: pb1.pair.com smtp.mail=bishop.bettini@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=bishop.bettini@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.215.46 as permitted sender) X-PHP-List-Original-Sender: bishop.bettini@gmail.com X-Host-Fingerprint: 209.85.215.46 mail-la0-f46.google.com Received: from [209.85.215.46] ([209.85.215.46:33242] helo=mail-la0-f46.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id D9/40-07733-C6909A55 for ; Fri, 17 Jul 2015 09:55:57 -0400 Received: by laem6 with SMTP id m6so61606028lae.0 for ; Fri, 17 Jul 2015 06:55:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:sender:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=2AuLpR0rCntLfEhFTSuYmNEa3MSuLSZ7tMhyKvRS0DA=; b=XBGGjzdFKK05TBZprKgpmEu2RwcVK/DKVkUveswIXYHPt7NdCOESelMcId29526PJ5 +sbgKPn3z45TxjXa9E+15kihAKJnKVD0dLKJwGe/fvNGSCWycyRyLFwYxIP1cWUMoSlY H7VUMPd/ag3iGrPXPsMDw4iqsRKWc+rW6yxpg+mdm4Oj+NPRuFhAiAPoZk82INlLVFYA EDXzd0L0u///MZbPUA1v6gqhvQ1g/WYK/91brXktB7V6p8HSgsea+eso0uzo0eZcT3oG VjTOOXxpklO3bw1uqz76U2JgOu0a8kQV83dzgqPphZqnf5RykPgG3W6kxtTXoEF0Z+gP JxNw== MIME-Version: 1.0 X-Received: by 10.112.209.106 with SMTP id ml10mr14425541lbc.112.1437141354130; Fri, 17 Jul 2015 06:55:54 -0700 (PDT) Reply-To: bishop@php.net Sender: bishop.bettini@gmail.com Received: by 10.152.6.137 with HTTP; Fri, 17 Jul 2015 06:55:54 -0700 (PDT) In-Reply-To: <872B5165-6A87-4024-BB9D-514E83A22E6F@craigfrancis.co.uk> References: <872B5165-6A87-4024-BB9D-514E83A22E6F@craigfrancis.co.uk> Date: Fri, 17 Jul 2015 09:55:54 -0400 X-Google-Sender-Auth: IidThByknHI9iTPT2fGUm4MqZJA Message-ID: To: Craig Francis Cc: PHP internals Content-Type: multipart/alternative; boundary=001a11c25ea0e7b2fb051b128bae Subject: Re: [PHP-DEV] [RFC] String Types (security) From: bishop@php.net (Bishop Bettini) --001a11c25ea0e7b2fb051b128bae Content-Type: text/plain; charset=UTF-8 On Fri, Jul 17, 2015 at 9:00 AM, Craig Francis wrote: > Hi, > > I'm looking at creating an RFC to address security issues that relate to > poor string handling / escaping, such as SQL-Injection, XSS, etc. > Sounds like you are describing the taint extension : *Taint is an extension, which is used for detecting XSS codes(tainted string). And also can be used to spot sql injection vulnerabilities, and shell inject, etc.* *When taint is enabled, if you pass a tainted string (comes from $_GET, $_POST or $_COOKIE) to some functions, taint will warn you about that.* See also the taint RFC . Regards, bishop --001a11c25ea0e7b2fb051b128bae--