ID CVE-2009-3294
Summary 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.
References
Vulnerable Configurations
  • cpe:2.3:a:php:php:5.2.0:*:*:*:*:*:*:*
    cpe:2.3:a:php:php:5.2.0:*:*:*:*:*:*:*
  • cpe:2.3:a:php:php:5.2.0:rc1:*:*:*:*:*:*
    cpe:2.3:a:php:php:5.2.0:rc1:*:*:*:*:*:*
  • cpe:2.3:a:php:php:5.2.0:rc2:*:*:*:*:*:*
    cpe:2.3:a:php:php:5.2.0:rc2:*:*:*:*:*:*
  • cpe:2.3:a:php:php:5.2.0:rc3:*:*:*:*:*:*
    cpe:2.3:a:php:php:5.2.0:rc3:*:*:*:*:*:*
  • cpe:2.3:a:php:php:5.2.0:rc4:*:*:*:*:*:*
    cpe:2.3:a:php:php:5.2.0:rc4:*:*:*:*:*:*
  • cpe:2.3:a:php:php:5.2.0:rc5:*:*:*:*:*:*
    cpe:2.3:a:php:php:5.2.0:rc5:*:*:*:*:*:*
  • cpe:2.3:a:php:php:5.2.0:rc6:*:*:*:*:*:*
    cpe:2.3:a:php:php:5.2.0:rc6:*:*:*:*:*:*
  • cpe:2.3:a:php:php:5.2.1:*:*:*:*:*:*:*
    cpe:2.3:a:php:php:5.2.1:*:*:*:*:*:*:*
  • cpe:2.3:a:php:php:5.2.1:-:*:*:*:*:*:*
    cpe:2.3:a:php:php:5.2.1:-:*:*:*:*:*:*
  • cpe:2.3:a:php:php:5.2.1:rc1:*:*:*:*:*:*
    cpe:2.3:a:php:php:5.2.1:rc1:*:*:*:*:*:*
  • cpe:2.3:a:php:php:5.2.1:rc2:*:*:*:*:*:*
    cpe:2.3:a:php:php:5.2.1:rc2:*:*:*:*:*:*
  • cpe:2.3:a:php:php:5.2.1:rc3:*:*:*:*:*:*
    cpe:2.3:a:php:php:5.2.1:rc3:*:*:*:*:*:*
  • cpe:2.3:a:php:php:5.2.1:rc4:*:*:*:*:*:*
    cpe:2.3:a:php:php:5.2.1:rc4:*:*:*:*:*:*
  • cpe:2.3:a:php:php:5.2.2:*:*:*:*:*:*:*
    cpe:2.3:a:php:php:5.2.2:*:*:*:*:*:*:*
  • cpe:2.3:a:php:php:5.2.2:-:*:*:*:*:*:*
    cpe:2.3:a:php:php:5.2.2:-:*:*:*:*:*:*
  • cpe:2.3:a:php:php:5.2.2:rc1:*:*:*:*:*:*
    cpe:2.3:a:php:php:5.2.2:rc1:*:*:*:*:*:*
  • cpe:2.3:a:php:php:5.2.2:rc2:*:*:*:*:*:*
    cpe:2.3:a:php:php:5.2.2:rc2:*:*:*:*:*:*
  • cpe:2.3:a:php:php:5.2.3:*:*:*:*:*:*:*
    cpe:2.3:a:php:php:5.2.3:*:*:*:*:*:*:*
  • cpe:2.3:a:php:php:5.2.3:-:*:*:*:*:*:*
    cpe:2.3:a:php:php:5.2.3:-:*:*:*:*:*:*
  • cpe:2.3:a:php:php:5.2.3:rc1:*:*:*:*:*:*
    cpe:2.3:a:php:php:5.2.3:rc1:*:*:*:*:*:*
  • cpe:2.3:a:php:php:5.2.4:*:*:*:*:*:*:*
    cpe:2.3:a:php:php:5.2.4:*:*:*:*:*:*:*
  • cpe:2.3:a:php:php:5.2.4:-:*:*:*:*:*:*
    cpe:2.3:a:php:php:5.2.4:-:*:*:*:*:*:*
  • cpe:2.3:a:php:php:5.2.4:rc1:*:*:*:*:*:*
    cpe:2.3:a:php:php:5.2.4:rc1:*:*:*:*:*:*
  • cpe:2.3:a:php:php:5.2.4:rc2:*:*:*:*:*:*
    cpe:2.3:a:php:php:5.2.4:rc2:*:*:*:*:*:*
  • cpe:2.3:a:php:php:5.2.4:rc3:*:*:*:*:*:*
    cpe:2.3:a:php:php:5.2.4:rc3:*:*:*:*:*:*
  • cpe:2.3:a:php:php:5.2.5:*:*:*:*:*:*:*
    cpe:2.3:a:php:php:5.2.5:*:*:*:*:*:*:*
  • cpe:2.3:a:php:php:5.2.5:-:*:*:*:*:*:*
    cpe:2.3:a:php:php:5.2.5:-:*:*:*:*:*:*
  • cpe:2.3:a:php:php:5.2.5:rc1:*:*:*:*:*:*
    cpe:2.3:a:php:php:5.2.5:rc1:*:*:*:*:*:*
  • cpe:2.3:a:php:php:5.2.5:rc2:*:*:*:*:*:*
    cpe:2.3:a:php:php:5.2.5:rc2:*:*:*:*:*:*
  • cpe:2.3:a:php:php:5.2.6:*:*:*:*:*:*:*
    cpe:2.3:a:php:php:5.2.6:*:*:*:*:*:*:*
  • cpe:2.3:a:php:php:5.2.6:-:*:*:*:*:*:*
    cpe:2.3:a:php:php:5.2.6:-:*:*:*:*:*:*
  • cpe:2.3:a:php:php:5.2.6:rc1:*:*:*:*:*:*
    cpe:2.3:a:php:php:5.2.6:rc1:*:*:*:*:*:*
  • cpe:2.3:a:php:php:5.2.6:rc2:*:*:*:*:*:*
    cpe:2.3:a:php:php:5.2.6:rc2:*:*:*:*:*:*
  • cpe:2.3:a:php:php:5.2.6:rc3:*:*:*:*:*:*
    cpe:2.3:a:php:php:5.2.6:rc3:*:*:*:*:*:*
  • cpe:2.3:a:php:php:5.2.6:rc4:*:*:*:*:*:*
    cpe:2.3:a:php:php:5.2.6:rc4:*:*:*:*:*:*
  • cpe:2.3:a:php:php:5.2.6:rc5:*:*:*:*:*:*
    cpe:2.3:a:php:php:5.2.6:rc5:*:*:*:*:*:*
  • cpe:2.3:a:php:php:5.2.7:*:*:*:*:*:*:*
    cpe:2.3:a:php:php:5.2.7:*:*:*:*:*:*:*
  • cpe:2.3:a:php:php:5.2.7:-:*:*:*:*:*:*
    cpe:2.3:a:php:php:5.2.7:-:*:*:*:*:*:*
  • cpe:2.3:a:php:php:5.2.7:rc1:*:*:*:*:*:*
    cpe:2.3:a:php:php:5.2.7:rc1:*:*:*:*:*:*
  • cpe:2.3:a:php:php:5.2.7:rc2:*:*:*:*:*:*
    cpe:2.3:a:php:php:5.2.7:rc2:*:*:*:*:*:*
  • cpe:2.3:a:php:php:5.2.7:rc3:*:*:*:*:*:*
    cpe:2.3:a:php:php:5.2.7:rc3:*:*:*:*:*:*
  • cpe:2.3:a:php:php:5.2.7:rc4:*:*:*:*:*:*
    cpe:2.3:a:php:php:5.2.7:rc4:*:*:*:*:*:*
  • cpe:2.3:a:php:php:5.2.7:rc5:*:*:*:*:*:*
    cpe:2.3:a:php:php:5.2.7:rc5:*:*:*:*:*:*
  • cpe:2.3:a:php:php:5.2.8:*:*:*:*:*:*:*
    cpe:2.3:a:php:php:5.2.8:*:*:*:*:*:*:*
  • cpe:2.3:a:php:php:5.2.9:*:*:*:*:*:*:*
    cpe:2.3:a:php:php:5.2.9:*:*:*:*:*:*:*
  • cpe:2.3:a:php:php:5.2.9:-:*:*:*:*:*:*
    cpe:2.3:a:php:php:5.2.9:-:*:*:*:*:*:*
  • cpe:2.3:a:php:php:5.2.9:rc1:*:*:*:*:*:*
    cpe:2.3:a:php:php:5.2.9:rc1:*:*:*:*:*:*
  • cpe:2.3:a:php:php:5.2.9:rc2:*:*:*:*:*:*
    cpe:2.3:a:php:php:5.2.9:rc2:*:*:*:*:*:*
  • cpe:2.3:a:php:php:5.2.9:rc3:*:*:*:*:*:*
    cpe:2.3:a:php:php:5.2.9:rc3:*:*:*:*:*:*
  • cpe:2.3:a:php:php:5.2.10:*:*:*:*:*:*:*
    cpe:2.3:a:php:php:5.2.10:*:*:*:*:*:*:*
  • cpe:2.3:a:php:php:5.2.10:-:*:*:*:*:*:*
    cpe:2.3:a:php:php:5.2.10:-:*:*:*:*:*:*
  • cpe:2.3:a:php:php:5.2.10:rc1:*:*:*:*:*:*
    cpe:2.3:a:php:php:5.2.10:rc1:*:*:*:*:*:*
  • cpe:2.3:a:php:php:5.2.10:rc2:*:*:*:*:*:*
    cpe:2.3:a:php:php:5.2.10:rc2:*:*:*:*:*:*
  • cpe:2.3:a:php:php:5.3.0:*:*:*:*:*:*:*
    cpe:2.3:a:php:php:5.3.0:*:*:*:*:*:*:*
  • cpe:2.3:a:php:php:5.3.0:alpha1:*:*:*:*:*:*
    cpe:2.3:a:php:php:5.3.0:alpha1:*:*:*:*:*:*
  • cpe:2.3:a:php:php:5.3.0:alpha2:*:*:*:*:*:*
    cpe:2.3:a:php:php:5.3.0:alpha2:*:*:*:*:*:*
  • cpe:2.3:a:php:php:5.3.0:alpha3:*:*:*:*:*:*
    cpe:2.3:a:php:php:5.3.0:alpha3:*:*:*:*:*:*
  • cpe:2.3:a:php:php:5.3.0:beta1:*:*:*:*:*:*
    cpe:2.3:a:php:php:5.3.0:beta1:*:*:*:*:*:*
  • cpe:2.3:a:php:php:5.3.0:rc1:*:*:*:*:*:*
    cpe:2.3:a:php:php:5.3.0:rc1:*:*:*:*:*:*
  • cpe:2.3:a:php:php:5.3.0:rc2:*:*:*:*:*:*
    cpe:2.3:a:php:php:5.3.0:rc2:*:*:*:*:*:*
  • cpe:2.3:a:php:php:5.3.0:rc3:*:*:*:*:*:*
    cpe:2.3:a:php:php:5.3.0:rc3:*:*:*:*:*:*
  • cpe:2.3:a:php:php:5.3.0:rc4:*:*:*:*:*:*
    cpe:2.3:a:php:php:5.3.0:rc4:*:*:*:*:*:*
  • cpe:2.3:o:microsoft:windows_server_2008:*:*:*:*:*:*:*:*
    cpe:2.3:o:microsoft:windows_server_2008:*:*:*:*:*:*:*:*
  • cpe:2.3:o:microsoft:windows_7:*:*:*:*:*:*:*:*
    cpe:2.3:o:microsoft:windows_7:*:*:*:*:*:*:*:*
  • cpe:2.3:o:microsoft:windows_xp:*:*:*:*:*:*:*:*
    cpe:2.3:o:microsoft:windows_xp:*:*:*:*:*:*:*:*
CVSS
Base: 5.0 (as of 01-09-2022 - 16:32)
Impact:
Exploitability:
CWE CWE-134
CAPEC
  • String Format Overflow in syslog()
    This attack targets the format string vulnerabilities in the syslog() function. An attacker would typically inject malicious input in the format string parameter of the syslog function. This is a common problem, and many public vulnerabilities and associated exploits have been posted.
  • Format String Injection
    An adversary includes formatting characters in a string input field on the target application. Most applications assume that users will provide static text and may respond unpredictably to the presence of formatting character. For example, in certain functions of the C programming languages such as printf, the formatting character %s will print the contents of a memory location expecting this location to identify a string and the formatting character %n prints the number of DWORD written in the memory. An adversary can use this to read or write to memory locations or files, or simply to manipulate the value of the resulting text in unexpected ways. Reading or writing memory may result in program crashes and writing memory could result in the execution of arbitrary code if the adversary can write to the program stack.
Access
VectorComplexityAuthentication
NETWORK LOW NONE
Impact
ConfidentialityIntegrityAvailability
NONE NONE PARTIAL
cvss-vector via4 AV:N/AC:L/Au:N/C:N/I:N/A:P
refmap via4
confirm
mlist
  • [oss-security] 20090920 Re: CVE Request -- PHP 5 - 5.2.11
  • [oss-security] 20091120 CVE request: php 5.3.1 update
  • [oss-security] 20091120 Re: CVE request: php 5.3.1 update
  • [php-announce] 20091119 5.3.1 Release announcement
osvdb 58188
statements via4
contributor Tomas Hoger
lastmodified 2009-09-24
organization Red Hat
statement Not vulnerable. This issue did not affect the versions of php as shipped with Red Hat Enterprise Linux 3, 4, or 5, and Red Hat Application Stack v2.
Last major update 01-09-2022 - 16:32
Published 22-09-2009 - 10:30
Last modified 01-09-2022 - 16:32
Back to Top