The popen API function in TSRM/tsrm_win32.c in PHP before 5.2.11 and 5.3.x before 5.3.1, when running on certain Windows operating systems, allows context-dependent attackers to cause a denial of service (crash) via a crafted (1) "e" or (2) "er" string in the second argument (aka mode), possibly related to the _fdopen function in the Microsoft C runtime library. NOTE: this might not cross privilege boundaries except in rare cases in which the mode argument is accessible to an attacker outside of an application that uses the popen function.
The product uses a function that accepts a format string as an argument, but the format string originates from an external source.
Link | Tags |
---|---|
http://www.php.net/ChangeLog-5.php#5.2.11 | vendor advisory |
http://www.openwall.com/lists/oss-security/2009/11/20/3 | mailing list |
http://news.php.net/php.announce/79 | mailing list vendor advisory |
http://www.php.net/releases/5_2_11.php | patch vendor advisory |
http://www.php.net/ChangeLog-5.php | vendor advisory |
http://www.openwall.com/lists/oss-security/2009/11/20/2 | mailing list |
http://bugs.php.net/bug.php?id=44683 | exploit vendor advisory |
http://www.php.net/releases/5_3_1.php | vendor advisory |
http://www.openwall.com/lists/oss-security/2009/09/20/1 | mailing list patch |
http://www.osvdb.org/58188 | vdb entry broken link |
http://svn.php.net/viewvc?view=revision&revision=287779 | vendor advisory |