Re: Run-time taint support proposal

From: Date: Fri, 15 Dec 2006 23:18:04 +0000
Subject: Re: Run-time taint support proposal
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-26997@lists.php.net to get a copy of this message
And here is your first exploit, let's say we say mysql_real_escape_string() takes tainted data and makes it untainted, what happens when this "safe" data is passed to exec(). You are going to
I'd say you have really weird code if you do mysql_real_escape_string() in order to pass the data to exec() ;)
need to deal with different levels of taint-untainted and 1 bit is not going to give you that flexibility. You are going to need an int/long, maybe even a long long.
What would be stored in this long long? -- Stanislav Malyshev, Zend Products Engineer stas@zend.com http://www.zend.com/

« previous php.internals (#26997) next »