{"dataType": "CVE_RECORD", "containers": {"adp": [{"metrics": [{"cvssV2_0": {"version": "2.0", "baseScore": 7.5, "accessVector": "NETWORK", "vectorString": "AV:N/AC:L/Au:N/C:P/I:P/A:P", "authentication": "NONE", "integrityImpact": "PARTIAL", "accessComplexity": "LOW", "availabilityImpact": "PARTIAL", "confidentialityImpact": "PARTIAL"}}, {"other": {"type": "Unknown", "content": {"data": "{\"description\":\"MODERATE\"}"}}}], "affected": [{"vendor": "oraclelinux", "product": "php", "versions": [{"status": "affected", "version": "0", "lessThan": "0:5.1.6-20.el5_2.1", "versionType": "rpm"}], "platforms": ["cpe:/o:oracle:linux:5"], "defaultStatus": "unaffected"}, {"vendor": "oraclelinux", "product": "php-bcmath", "versions": [{"status": "affected", "version": "0", "lessThan": "0:5.1.6-20.el5_2.1", "versionType": "rpm"}], "platforms": ["cpe:/o:oracle:linux:5"], "defaultStatus": "unaffected"}, {"vendor": "oraclelinux", "product": "php-cli", "versions": [{"status": "affected", "version": "0", "lessThan": "0:5.1.6-20.el5_2.1", "versionType": "rpm"}], "platforms": ["cpe:/o:oracle:linux:5"], "defaultStatus": "unaffected"}, {"vendor": "oraclelinux", "product": "php-common", "versions": [{"status": "affected", "version": "0", "lessThan": "0:5.1.6-20.el5_2.1", "versionType": "rpm"}], "platforms": ["cpe:/o:oracle:linux:5"], "defaultStatus": "unaffected"}, {"vendor": "oraclelinux", "product": "php-dba", "versions": [{"status": "affected", "version": "0", "lessThan": "0:5.1.6-20.el5_2.1", "versionType": "rpm"}], "platforms": ["cpe:/o:oracle:linux:5"], "defaultStatus": "unaffected"}, {"vendor": "oraclelinux", "product": "php-devel", "versions": [{"status": "affected", "version": "0", "lessThan": "0:5.1.6-20.el5_2.1", "versionType": "rpm"}], "platforms": ["cpe:/o:oracle:linux:5"], "defaultStatus": "unaffected"}, {"vendor": "oraclelinux", "product": "php-gd", "versions": [{"status": "affected", "version": "0", "lessThan": "0:5.1.6-20.el5_2.1", "versionType": "rpm"}], "platforms": ["cpe:/o:oracle:linux:5"], "defaultStatus": "unaffected"}, {"vendor": "oraclelinux", "product": "php-imap", "versions": [{"status": "affected", "version": "0", "lessThan": "0:5.1.6-20.el5_2.1", "versionType": "rpm"}], "platforms": ["cpe:/o:oracle:linux:5"], "defaultStatus": "unaffected"}, {"vendor": "oraclelinux", "product": "php-ldap", "versions": [{"status": "affected", "version": "0", "lessThan": "0:5.1.6-20.el5_2.1", "versionType": "rpm"}], "platforms": ["cpe:/o:oracle:linux:5"], "defaultStatus": "unaffected"}, {"vendor": "oraclelinux", "product": "php-mbstring", "versions": [{"status": "affected", "version": "0", "lessThan": "0:5.1.6-20.el5_2.1", "versionType": "rpm"}], "platforms": ["cpe:/o:oracle:linux:5"], "defaultStatus": "unaffected"}, {"vendor": "oraclelinux", "product": "php-mysql", "versions": [{"status": "affected", "version": "0", "lessThan": "0:5.1.6-20.el5_2.1", "versionType": "rpm"}], "platforms": ["cpe:/o:oracle:linux:5"], "defaultStatus": "unaffected"}, {"vendor": "oraclelinux", "product": "php-ncurses", "versions": [{"status": "affected", "version": "0", "lessThan": "0:5.1.6-20.el5_2.1", "versionType": "rpm"}], "platforms": ["cpe:/o:oracle:linux:5"], "defaultStatus": "unaffected"}, {"vendor": "oraclelinux", "product": "php-odbc", "versions": [{"status": "affected", "version": "0", "lessThan": "0:5.1.6-20.el5_2.1", "versionType": "rpm"}], "platforms": ["cpe:/o:oracle:linux:5"], "defaultStatus": "unaffected"}, {"vendor": "oraclelinux", "product": "php-pdo", "versions": [{"status": "affected", "version": "0", "lessThan": "0:5.1.6-20.el5_2.1", "versionType": "rpm"}], "platforms": ["cpe:/o:oracle:linux:5"], "defaultStatus": "unaffected"}, {"vendor": "oraclelinux", "product": "php-pgsql", "versions": [{"status": "affected", "version": "0", "lessThan": "0:5.1.6-20.el5_2.1", "versionType": "rpm"}], "platforms": ["cpe:/o:oracle:linux:5"], "defaultStatus": "unaffected"}, {"vendor": "oraclelinux", "product": "php-snmp", "versions": [{"status": "affected", "version": "0", "lessThan": "0:5.1.6-20.el5_2.1", "versionType": "rpm"}], "platforms": ["cpe:/o:oracle:linux:5"], "defaultStatus": "unaffected"}, {"vendor": "oraclelinux", "product": "php-soap", "versions": [{"status": "affected", "version": "0", "lessThan": "0:5.1.6-20.el5_2.1", "versionType": "rpm"}], "platforms": ["cpe:/o:oracle:linux:5"], "defaultStatus": "unaffected"}, {"vendor": "oraclelinux", "product": "php-xml", "versions": [{"status": "affected", "version": "0", "lessThan": "0:5.1.6-20.el5_2.1", "versionType": "rpm"}], "platforms": ["cpe:/o:oracle:linux:5"], "defaultStatus": "unaffected"}, {"vendor": "oraclelinux", "product": "php-xmlrpc", "versions": [{"status": "affected", "version": "0", "lessThan": "0:5.1.6-20.el5_2.1", "versionType": "rpm"}], "platforms": ["cpe:/o:oracle:linux:5"], "defaultStatus": "unaffected"}], "references": [{"url": "https://linux.oracle.com/cve/CVE-2008-2107.html"}], "descriptions": [{"lang": "en", "value": "The GENERATE_SEED macro in PHP 4.x before 4.4.8 and 5.x before 5.2.5, when running on 32-bit systems, performs a multiplication using values that can produce a zero seed in rare circumstances, which allows context-dependent attackers to predict subsequent values of the rand and mt_rand functions and possibly bypass protection mechanisms that rely on an unknown initial seed."}], "providerMetadata": {"orgId": "00000000-0000-4000-A000-000000000006", "shortName": "oraclelinux", "dateUpdated": "2008-07-16T00:00:00Z", "x_subShortName": "oraclelinux"}}, {"metrics": [{"other": {"type": "Unknown", "content": {"data": "{\"description\":\"Moderate\"}"}}}], "affected": [{"vendor": "redhat", "product": "php", "versions": [{"status": "affected", "version": "0", "lessThan": "0:5.1.6-20.el5_2.1", "versionType": "rpm"}], "platforms": ["cpe:/o:redhat:enterprise_linux:5"], "defaultStatus": "unaffected"}, {"vendor": "redhat", "product": "php-bcmath", "versions": [{"status": "affected", "version": "0", "lessThan": "0:5.1.6-20.el5_2.1", "versionType": "rpm"}], "platforms": ["cpe:/o:redhat:enterprise_linux:5"], "defaultStatus": "unaffected"}, {"vendor": "redhat", "product": "php-cli", "versions": [{"status": "affected", "version": "0", "lessThan": "0:5.1.6-20.el5_2.1", "versionType": "rpm"}], "platforms": ["cpe:/o:redhat:enterprise_linux:5"], "defaultStatus": "unaffected"}, {"vendor": "redhat", "product": "php-common", "versions": [{"status": "affected", "version": "0", "lessThan": "0:5.1.6-20.el5_2.1", "versionType": "rpm"}], "platforms": ["cpe:/o:redhat:enterprise_linux:5"], "defaultStatus": "unaffected"}, {"vendor": "redhat", "product": "php-dba", "versions": [{"status": "affected", "version": "0", "lessThan": "0:5.1.6-20.el5_2.1", "versionType": "rpm"}], "platforms": ["cpe:/o:redhat:enterprise_linux:5"], "defaultStatus": "unaffected"}, {"vendor": "redhat", "product": "php-devel", "versions": [{"status": "affected", "version": "0", "lessThan": "0:5.1.6-20.el5_2.1", "versionType": "rpm"}], "platforms": ["cpe:/o:redhat:enterprise_linux:5"], "defaultStatus": "unaffected"}, {"vendor": "redhat", "product": "php-gd", "versions": [{"status": "affected", "version": "0", "lessThan": "0:5.1.6-20.el5_2.1", "versionType": "rpm"}], "platforms": ["cpe:/o:redhat:enterprise_linux:5"], "defaultStatus": "unaffected"}, {"vendor": "redhat", "product": "php-imap", "versions": [{"status": "affected", "version": "0", "lessThan": "0:5.1.6-20.el5_2.1", "versionType": "rpm"}], "platforms": ["cpe:/o:redhat:enterprise_linux:5"], "defaultStatus": "unaffected"}, {"vendor": "redhat", "product": "php-ldap", "versions": [{"status": "affected", "version": "0", "lessThan": "0:5.1.6-20.el5_2.1", "versionType": "rpm"}], "platforms": ["cpe:/o:redhat:enterprise_linux:5"], "defaultStatus": "unaffected"}, {"vendor": "redhat", "product": "php-mbstring", "versions": [{"status": "affected", "version": "0", "lessThan": "0:5.1.6-20.el5_2.1", "versionType": "rpm"}], "platforms": ["cpe:/o:redhat:enterprise_linux:5"], "defaultStatus": "unaffected"}, {"vendor": "redhat", "product": "php-mysql", "versions": [{"status": "affected", "version": "0", "lessThan": "0:5.1.6-20.el5_2.1", "versionType": "rpm"}], "platforms": ["cpe:/o:redhat:enterprise_linux:5"], "defaultStatus": "unaffected"}, {"vendor": "redhat", "product": "php-ncurses", "versions": [{"status": "affected", "version": "0", "lessThan": "0:5.1.6-20.el5_2.1", "versionType": "rpm"}], "platforms": ["cpe:/o:redhat:enterprise_linux:5"], "defaultStatus": "unaffected"}, {"vendor": "redhat", "product": "php-odbc", "versions": [{"status": "affected", "version": "0", "lessThan": "0:5.1.6-20.el5_2.1", "versionType": "rpm"}], "platforms": ["cpe:/o:redhat:enterprise_linux:5"], "defaultStatus": "unaffected"}, {"vendor": "redhat", "product": "php-pdo", "versions": [{"status": "affected", "version": "0", "lessThan": "0:5.1.6-20.el5_2.1", "versionType": "rpm"}], "platforms": ["cpe:/o:redhat:enterprise_linux:5"], "defaultStatus": "unaffected"}, {"vendor": "redhat", "product": "php-pgsql", "versions": [{"status": "affected", "version": "0", "lessThan": "0:5.1.6-20.el5_2.1", "versionType": "rpm"}], "platforms": ["cpe:/o:redhat:enterprise_linux:5"], "defaultStatus": "unaffected"}, {"vendor": "redhat", "product": "php-snmp", "versions": [{"status": "affected", "version": "0", "lessThan": "0:5.1.6-20.el5_2.1", "versionType": "rpm"}], "platforms": ["cpe:/o:redhat:enterprise_linux:5"], "defaultStatus": "unaffected"}, {"vendor": "redhat", "product": "php-soap", "versions": [{"status": "affected", "version": "0", "lessThan": "0:5.1.6-20.el5_2.1", "versionType": "rpm"}], "platforms": ["cpe:/o:redhat:enterprise_linux:5"], "defaultStatus": "unaffected"}, {"vendor": "redhat", "product": "php-xml", "versions": [{"status": "affected", "version": "0", "lessThan": "0:5.1.6-20.el5_2.1", "versionType": "rpm"}], "platforms": ["cpe:/o:redhat:enterprise_linux:5"], "defaultStatus": "unaffected"}, {"vendor": "redhat", "product": "php-xmlrpc", "versions": [{"status": "affected", "version": "0", "lessThan": "0:5.1.6-20.el5_2.1", "versionType": "rpm"}], "platforms": ["cpe:/o:redhat:enterprise_linux:5"], "defaultStatus": "unaffected"}], "references": [{"url": "https://access.redhat.com/errata/RHSA-2008:0544"}, {"url": "https://access.redhat.com/security/cve/CVE-2008-2107"}], "descriptions": [{"lang": "en", "value": "PHP is an HTML-embedded scripting language commonly used with the Apache\nHTTP Web server.\n\nIt was discovered that the PHP escapeshellcmd() function did not properly\nescape multi-byte characters which are not valid in the locale used by the\nscript. This could allow an attacker to bypass quoting restrictions imposed\nby escapeshellcmd() and execute arbitrary commands if the PHP script was\nusing certain locales. Scripts using the default UTF-8 locale are not\naffected by this issue. (CVE-2008-2051)\n\nPHP functions htmlentities() and htmlspecialchars() did not properly\nrecognize partial multi-byte sequences. Certain sequences of bytes could be\npassed through these functions without being correctly HTML-escaped.\nDepending on the browser being used, an attacker could use this flaw to\nconduct cross-site scripting attacks. (CVE-2007-5898)\n\nA PHP script which used the transparent session ID configuration option, or\nwhich used the output_add_rewrite_var() function, could leak session\nidentifiers to external web sites. If a page included an HTML form with an\nACTION attribute referencing a non-local URL, the user's session ID would\nbe included in the form data passed to that URL. (CVE-2007-5899)\n\nIt was discovered that PHP fnmatch() function did not restrict the length\nof the string argument. An attacker could use this flaw to crash the PHP\ninterpreter where a script used fnmatch() on untrusted input data.\n(CVE-2007-4782)\n\nIt was discovered that PHP did not properly seed its pseudo-random number\ngenerator used by functions such as rand() and mt_rand(), possibly allowing\nan attacker to easily predict the generated pseudo-random values.\n(CVE-2008-2107, CVE-2008-2108)\n\nUsers of PHP should upgrade to these updated packages, which contain\nbackported patches to correct these issues."}], "providerMetadata": {"orgId": "53f830b8-0a3f-465b-8143-3b8a9948e749", "shortName": "redhat", "dateUpdated": "2008-05-06T00:00:00Z", "x_subShortName": "redhat_5"}}], "cna": {"metrics": [{"format": "CVSS", "cvssV2_0": {"version": "2.0", "baseScore": 7.5, "accessVector": "NETWORK", "vectorString": "AV:N/AC:L/Au:N/C:P/I:P/A:P", "authentication": "NONE", "integrityImpact": "PARTIAL", "accessComplexity": "LOW", "availabilityImpact": "PARTIAL", "confidentialityImpact": "PARTIAL"}}], "affected": [{"cpes": ["cpe:2.3:a:php:php:*:*:*:*:*:*:*:*", "cpe:2.3:a:php:php:5.0.0:beta1:*:*:*:*:*:*", "cpe:2.3:a:php:php:5.0.0:beta2:*:*:*:*:*:*", "cpe:2.3:a:php:php:5.0.0:beta3:*:*:*:*:*:*", "cpe:2.3:a:php:php:5.0.0:rc1:*:*:*:*:*:*", "cpe:2.3:a:php:php:5.0.0:rc2:*:*:*:*:*:*", "cpe:2.3:a:php:php:5.0.0:rc3:*:*:*:*:*:*", "cpe:2.3:a:php:php:5.0.1:*:*:*:*:*:*:*", "cpe:2.3:a:php:php:5.0.2:*:*:*:*:*:*:*", "cpe:2.3:a:php:php:5.0.3:*:*:*:*:*:*:*", "cpe:2.3:a:php:php:5.0.4:*:*:*:*:*:*:*", "cpe:2.3:a:php:php:5.0.5:*:*:*:*:*:*:*", "cpe:2.3:a:php:php:5.1.0:*:*:*:*:*:*:*", "cpe:2.3:a:php:php:5.1.1:*:*:*:*:*:*:*", "cpe:2.3:a:php:php:5.1.2:*:*:*:*:*:*:*", "cpe:2.3:a:php:php:5.1.3:*:*:*:*:*:*:*", "cpe:2.3:a:php:php:5.1.4:*:*:*:*:*:*:*", "cpe:2.3:a:php:php:5.1.5:*:*:*:*:*:*:*", "cpe:2.3:a:php:php:5.1.6:*:*:*:*:*:*:*", "cpe:2.3:a:php:php:5.2.0:*:*:*:*:*:*:*", "cpe:2.3:a:php:php:5.2.1:*:*:*:*:*:*:*", "cpe:2.3:a:php:php:5.2.2:*:*:*:*:*:*:*", "cpe:2.3:a:php:php:5.2.3:*:*:*:*:*:*:*", "cpe:2.3:a:php:php:5.2.4:*:*:*:*:*:*:*", "cpe:2.3:a:php:php:5:*:*:*:*:*:*:*"], "vendor": "php", "product": "php", "versions": [{"status": "affected", "version": "0", "versionType": "custom", "lessThanOrEqual": "4.4.7"}, {"status": "affected", "version": "5"}, {"status": "affected", "version": "5.0.0"}, {"status": "affected", "version": "5.0.1"}, {"status": "affected", "version": "5.0.2"}, {"status": "affected", "version": "5.0.3"}, {"status": "affected", "version": "5.0.4"}, {"status": "affected", "version": "5.0.5"}, {"status": "affected", "version": "5.1.0"}, {"status": "affected", "version": "5.1.1"}, {"status": "affected", "version": "5.1.2"}, {"status": "affected", "version": "5.1.3"}, {"status": "affected", "version": "5.1.4"}, {"status": "affected", "version": "5.1.5"}, {"status": "affected", "version": "5.1.6"}, {"status": "affected", "version": "5.2.0"}, {"status": "affected", "version": "5.2.1"}, {"status": "affected", "version": "5.2.2"}, {"status": "affected", "version": "5.2.3"}, {"status": "affected", "version": "5.2.4"}], "defaultStatus": "unaffected"}], "references": [{"url": "http://archives.neohapsis.com/archives/fulldisclosure/2008-05/0103.html", "tags": ["exploit"]}, {"url": "http://www.sektioneins.de/advisories/SE-2008-02.txt", "tags": ["exploit"]}, {"url": "http://lists.opensuse.org/opensuse-security-announce/2008-07/msg00001.html"}, {"url": "http://secunia.com/advisories/30757"}, {"url": "http://secunia.com/advisories/30828"}, {"url": "http://secunia.com/advisories/30967"}, {"url": "http://secunia.com/advisories/31119"}, {"url": "http://secunia.com/advisories/31124"}, {"url": "http://secunia.com/advisories/31200"}, {"url": "http://secunia.com/advisories/32746"}, {"url": "http://secunia.com/advisories/35003"}, {"url": "http://security.gentoo.org/glsa/glsa-200811-05.xml"}, {"url": "http://securityreason.com/securityalert/3859"}, {"url": "http://www.debian.org/security/2009/dsa-1789"}, {"url": "http://www.mandriva.com/security/advisories?name=MDVSA-2008:125"}, {"url": "http://www.mandriva.com/security/advisories?name=MDVSA-2008:126"}, {"url": "http://www.mandriva.com/security/advisories?name=MDVSA-2008:127"}, {"url": "http://www.mandriva.com/security/advisories?name=MDVSA-2008:128"}, {"url": "http://www.mandriva.com/security/advisories?name=MDVSA-2008:129"}, {"url": "http://www.mandriva.com/security/advisories?name=MDVSA-2008:130"}, {"url": "http://www.redhat.com/support/errata/RHSA-2008-0505.html"}, {"url": "http://www.redhat.com/support/errata/RHSA-2008-0544.html"}, {"url": "http://www.redhat.com/support/errata/RHSA-2008-0545.html"}, {"url": "http://www.redhat.com/support/errata/RHSA-2008-0546.html"}, {"url": "http://www.redhat.com/support/errata/RHSA-2008-0582.html"}, {"url": "http://www.securityfocus.com/archive/1/491683/100/0/threaded"}, {"url": "http://www.ubuntu.com/usn/usn-628-1"}, {"url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/42226"}, {"url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/42284"}, {"url": "https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10644"}, {"url": "https://www.redhat.com/archives/fedora-package-announce/2008-June/msg00773.html"}, {"url": "https://www.redhat.com/archives/fedora-package-announce/2008-June/msg00779.html"}], "descriptions": [{"lang": "en", "value": "The GENERATE_SEED macro in PHP 4.x before 4.4.8 and 5.x before 5.2.5, when running on 32-bit systems, performs a multiplication using values that can produce a zero seed in rare circumstances, which allows context-dependent attackers to predict subsequent values of the rand and mt_rand functions and possibly bypass protection mechanisms that rely on an unknown initial seed."}, {"lang": "es", "value": "La macro GENERATE_SEED de PHP 4.x versiones anteriores a la 4.4.8 y 5.x versiones anteriores a la 5.2.5, cuando se ejecuta en sistemas de 32 bits, realiza un producto usando valores que pueden generar una semilla cero en circunstancias excepcionales, lo cual permite a atacantes según contexto, adivinar valores posteriores de la secuencia generada y las funciones mt_rand, y posiblemente evitar los mecanismos de protección que dependen de una semilla inicial desconocida."}], "problemTypes": [{"descriptions": [{"lang": "en", "cweId": "CWE-189", "description": "CWE-189"}]}], "providerMetadata": {"orgId": "00000000-0000-4000-A000-000000000003", "shortName": "nvd", "dateUpdated": "2008-05-07T21:20:00Z", "x_subShortName": "nvd"}}}, "cveMetadata": {"cveId": "CVE-2008-2107", "state": "PUBLISHED", "dateUpdated": "2025-04-09T00:30:58Z", "assignerOrgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca", "datePublished": "2008-05-07T21:20:00Z", "assignerShortName": "mitre"}, "dataVersion": "5.0"}