6.4
CVSSv2

CVE-2009-2626

Published: 01/12/2009 Updated: 30/10/2018
CVSS v2 Base Score: 6.4 | Impact Score: 4.9 | Exploitability Score: 10
VMScore: 655
Vector: AV:N/AC:L/Au:N/C:P/I:N/A:P

Vulnerability Summary

The zend_restore_ini_entry_cb function in zend_ini.c in PHP 5.3.0, 5.2.10, and previous versions versions allows context-specific malicious users to obtain sensitive information (memory contents) and cause a PHP crash by using the ini_set function to declare a variable, then using the ini_restore function to restore the variable.

Vulnerable Product Search on Vulmon Subscribe to Product

php php 4.3.6

php php 4.3.5

php php 4.3.0

php php 5.0.0

php php 4.3.7

php php 4.4.4

php php 5.1.0

php php 5.0.2

php php 4.2

php php 4.4.9

php php 3.0.12

php php 3.0.1

php php 3.0.14

php php 3.0.17

php php 3.0.5

php php 3.0.6

php php 4.0

php php 4.0.2

php php 4.0.1

php php 4.1.2

php php 4.0.7

php php 5.2.8

php php 5.2.7

php php 4.3.4

php php 4.3.3

php php 4.2.3

php php 4.2.2

php php 5.0

php php 4.4.2

php php 4.4.3

php php 2.0

php php 4.4.8

php php 3.0.10

php php 3.0.13

php php 3.0.3

php php 3.0.15

php php 3.0.7

php php 3.0.8

php php 4.0.3

php php 5.1.5

php php 5.1.6

php php 5.2.9

php php

php php 5.3.0

php php 4.3.10

php php 4.3.1

php php 4.2.0

php php 4.1.0

php php 4.4.5

php php 4.4.6

php php 4.3.8

php php 4.3.9

php php 5.0.5

php php 5.0.4

php php 5.0.1

php php 5

php php 4

php php 3.0

php php 3.0.2

php php 3.0.16

php php 4.0.6

php php 4.0.5

php php 4.1.1

php php 5.1.1

php php 5.1.2

php php 5.2.6

php php 5.2.4

php php 4.3.2

php php 4.3.11

php php 4.2.1

php php 4.4.7

php php 4.4.0

php php 4.4.1

php php 5.0.3

php php 1.0

php php 2.0b10

php php 3.0.11

php php 3.0.18

php php 3.0.4

php php 3.0.9

php php 4.0.0

php php 4.0.4

php php 5.1.3

php php 5.1.4

php php 5.2.2

php php 5.2.0

Vendor Advisories

Maksymilian Arciemowicz discovered that PHP did not properly handle the ini_restore function An attacker could exploit this issue to obtain random memory contents or to cause the PHP server to crash, resulting in a denial of service (CVE-2009-2626) ...
Debian Bug report logs - #540605 php5: memory disclosure Package: php5; Maintainer for php5 is Debian PHP Maintainers <pkg-php-maint@listsaliothdebianorg>; Source for php5 is src:php5 (PTS, buildd, popcon) Reported by: "Michael S Gilbert" <michaelsgilbert@gmailcom> Date: Sun, 9 Aug 2009 04:30:04 UTC Severity ...
Debian Bug report logs - #535888 php: segfaults on corrupted jpeg files Package: php5; Maintainer for php5 is Debian PHP Maintainers <pkg-php-maint@listsaliothdebianorg>; Source for php5 is src:php5 (PTS, buildd, popcon) Reported by: "Michael S Gilbert" <michaelsgilbert@gmailcom> Date: Sun, 5 Jul 2009 19:57:0 ...

Exploits

Credit/Author: Maksymilian Arciemowicz from SecurityReason Vulnerable: PHP PHP 53 PHP PHP 5210 Debian Linux 50 sparc Debian Linux 50 s/390 Debian Linux 50 powerpc Debian Linux 50 mipsel Debian Linux 50 mips Debian Linux 50 m68k Debian Linux 50 ia-64 Debian Linux 50 ia-32 Debian Linux 50 hppa Debian Linux 50 armel Debian Linux 50 ar ...
source: wwwsecurityfocuscom/bid/36009/info PHP is prone to an information-disclosure vulnerability Attackers can exploit this issue to obtain sensitive information that may lead to further attacks <?php ini_set("open_basedir", "A"); ini_restore("open_basedir"); ini_get("open_basedir"); include("B"); ?> ...
source: wwwsecurityfocuscom/bid/36009/info PHP is prone to an information-disclosure vulnerability Attackers can exploit this issue to obtain sensitive information that may lead to further attacks <?php ini_set("sessionsave_path", "0123456789ABCDEF"); ini_restore("sessionsave_path"); session_start(); ?> ...