{"api_version":"1","generated_at":"2026-07-23T05:58:08+00:00","cve":"CVE-2008-2108","urls":{"html":"https://cve.report/CVE-2008-2108","api":"https://cve.report/api/cve/CVE-2008-2108.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2008-2108","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2008-2108"},"summary":{"title":"CVE-2008-2108","description":"The GENERATE_SEED macro in PHP 4.x before 4.4.8 and 5.x before 5.2.5, when running on 64-bit systems, performs a multiplication that generates a portion of zero bits during conversion due to insufficient precision, which produces 24 bits of entropy and simplifies brute force attacks against protection mechanisms that use the rand and mt_rand functions.","state":"PUBLISHED","assigner":"mitre","published_at":"2008-05-07 21:20:00","updated_at":"2026-04-23 00:35:47"},"problem_types":["CWE-331","n/a"],"metrics":[{"version":"3.1","source":"nvd@nist.gov","type":"Primary","score":"9.8","severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","baseScore":9.8,"baseSeverity":"CRITICAL","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"}},{"version":"2.0","source":"nvd@nist.gov","type":"Primary","score":"7.5","severity":"","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","data":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:P/I:P/A:P","baseScore":7.5,"accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL"}}],"references":[{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/42226","name":"https://exchange.xforce.ibmcloud.com/vulnerabilities/42226","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory","VDB Entry"],"title":"IBM X-Force Exchange","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://secunia.com/advisories/31124","name":"http://secunia.com/advisories/31124","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Broken Link"],"title":"Red Hat update for php - Secunia Advisories - Vulnerability Intelligence - Secunia.com","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://secunia.com/advisories/31119","name":"http://secunia.com/advisories/31119","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Broken Link"],"title":"Red Hat update for php - Secunia Advisories - Vulnerability Intelligence - Secunia.com","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://secunia.com/advisories/30828","name":"http://secunia.com/advisories/30828","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Broken Link"],"title":"Fedora update for php - Secunia Advisories - Vulnerability Intelligence - Secunia.com","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2008:128","name":"http://www.mandriva.com/security/advisories?name=MDVSA-2008:128","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Broken Link"],"title":"Support / Security / Advisories /  / MDVSA-2008:128 | Mandriva","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.securityfocus.com/archive/1/491683/100/0/threaded","name":"http://www.securityfocus.com/archive/1/491683/100/0/threaded","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Broken Link","Third Party Advisory","VDB Entry"],"title":"SecurityFocus","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.redhat.com/support/errata/RHSA-2008-0546.html","name":"http://www.redhat.com/support/errata/RHSA-2008-0546.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Broken Link"],"title":"rhn.redhat.com | Red Hat Support","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://archives.neohapsis.com/archives/fulldisclosure/2008-05/0103.html","name":"http://archives.neohapsis.com/archives/fulldisclosure/2008-05/0103.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Broken Link","Exploit"],"title":"","mime":"text/html","httpstatus":"-1","archivestatus":"200"},{"url":"http://www.redhat.com/support/errata/RHSA-2008-0545.html","name":"http://www.redhat.com/support/errata/RHSA-2008-0545.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Broken Link"],"title":"rhn.redhat.com | Red Hat Support","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://secunia.com/advisories/30757","name":"http://secunia.com/advisories/30757","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Broken Link"],"title":"Fedora update for php - Secunia Advisories - Vulnerability Intelligence - Secunia.com","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2008:126","name":"http://www.mandriva.com/security/advisories?name=MDVSA-2008:126","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Broken Link"],"title":"Advisories | Mandriva","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.sektioneins.de/advisories/SE-2008-02.txt","name":"http://www.sektioneins.de/advisories/SE-2008-02.txt","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Broken Link","Exploit"],"title":"404 Not Found","mime":"text/plain","httpstatus":"404","archivestatus":"200"},{"url":"http://secunia.com/advisories/31200","name":"http://secunia.com/advisories/31200","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Broken Link"],"title":"About Secunia Research | Flexera","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.redhat.com/archives/fedora-package-announce/2008-June/msg00773.html","name":"https://www.redhat.com/archives/fedora-package-announce/2008-June/msg00773.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Mailing List"],"title":"[SECURITY] Fedora 8 Update: php-5.2.6-2.fc8","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2008:130","name":"http://www.mandriva.com/security/advisories?name=MDVSA-2008:130","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Broken Link"],"title":"Support / Security / Advisories /  / MDVSA-2008:130 | Mandriva","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2008:127","name":"http://www.mandriva.com/security/advisories?name=MDVSA-2008:127","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Broken Link"],"title":"Advisories | Mandriva","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://security.gentoo.org/glsa/glsa-200811-05.xml","name":"http://security.gentoo.org/glsa/glsa-200811-05.xml","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"],"title":"PHP: Multiple vulnerabilities — Gentoo Linux Documentation","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://securityreason.com/securityalert/3859","name":"http://securityreason.com/securityalert/3859","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Mailing List"],"title":"SecurityReason - PHP GENERATE_SEED() Weak Random Number Seed Vulnerability","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.redhat.com/archives/fedora-package-announce/2008-June/msg00779.html","name":"https://www.redhat.com/archives/fedora-package-announce/2008-June/msg00779.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Mailing List"],"title":"[SECURITY] Fedora 9 Update: php-5.2.6-2.fc9","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10844","name":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10844","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Broken Link"],"title":"Repository  /  Oval Repository","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://secunia.com/advisories/32746","name":"http://secunia.com/advisories/32746","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Broken Link"],"title":"Gentoo update for php - Secunia Advisories - Vulnerability Information - Secunia.com","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.ubuntu.com/usn/usn-628-1","name":"http://www.ubuntu.com/usn/usn-628-1","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"],"title":"USN-628-1: PHP vulnerabilities | Ubuntu","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.redhat.com/support/errata/RHSA-2008-0544.html","name":"http://www.redhat.com/support/errata/RHSA-2008-0544.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Broken Link"],"title":"rhn.redhat.com | Red Hat Support","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://secunia.com/advisories/35003","name":"http://secunia.com/advisories/35003","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Broken Link"],"title":"Debian update for php5 - Secunia Advisories - Vulnerability Information - Secunia.com","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.redhat.com/support/errata/RHSA-2008-0582.html","name":"http://www.redhat.com/support/errata/RHSA-2008-0582.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Broken Link"],"title":"rhn.redhat.com | Red Hat Support","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.debian.org/security/2009/dsa-1789","name":"http://www.debian.org/security/2009/dsa-1789","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Mailing List"],"title":"Debian -- Security Information -- DSA-1789-1 php5","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2008:129","name":"http://www.mandriva.com/security/advisories?name=MDVSA-2008:129","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Broken Link"],"title":"Support / Security / Advisories /  / MDVSA-2008:129 | Mandriva","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.redhat.com/support/errata/RHSA-2008-0505.html","name":"http://www.redhat.com/support/errata/RHSA-2008-0505.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Broken Link"],"title":"rhn.redhat.com | Red Hat Support","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2008:125","name":"http://www.mandriva.com/security/advisories?name=MDVSA-2008:125","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Broken Link"],"title":"Advisories | Mandriva","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2008-2108","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2008-2108","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"n/a","product":"n/a","version":"affected n/a","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2008","cve_id":"2108","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"php","cpe5":"php","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"providerMetadata":{"dateUpdated":"2024-08-07T08:49:57.790Z","orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE"},"references":[{"name":"FEDORA-2008-3606","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred"],"url":"https://www.redhat.com/archives/fedora-package-announce/2008-June/msg00779.html"},{"name":"32746","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"],"url":"http://secunia.com/advisories/32746"},{"name":"20080506 Advisory SE-2008-02: PHP GENERATE_SEED() Weak Random Number Seed Vulnerability","tags":["mailing-list","x_refsource_FULLDISC","x_transferred"],"url":"http://archives.neohapsis.com/archives/fulldisclosure/2008-05/0103.html"},{"name":"GLSA-200811-05","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred"],"url":"http://security.gentoo.org/glsa/glsa-200811-05.xml"},{"name":"RHSA-2008:0546","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"],"url":"http://www.redhat.com/support/errata/RHSA-2008-0546.html"},{"name":"FEDORA-2008-3864","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred"],"url":"https://www.redhat.com/archives/fedora-package-announce/2008-June/msg00773.html"},{"name":"30828","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"],"url":"http://secunia.com/advisories/30828"},{"name":"MDVSA-2008:128","tags":["vendor-advisory","x_refsource_MANDRIVA","x_transferred"],"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2008:128"},{"name":"3859","tags":["third-party-advisory","x_refsource_SREASON","x_transferred"],"url":"http://securityreason.com/securityalert/3859"},{"name":"RHSA-2008:0582","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"],"url":"http://www.redhat.com/support/errata/RHSA-2008-0582.html"},{"name":"USN-628-1","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred"],"url":"http://www.ubuntu.com/usn/usn-628-1"},{"name":"RHSA-2008:0545","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"],"url":"http://www.redhat.com/support/errata/RHSA-2008-0545.html"},{"name":"php-generateseed-weak-security(42226)","tags":["vdb-entry","x_refsource_XF","x_transferred"],"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/42226"},{"name":"31124","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"],"url":"http://secunia.com/advisories/31124"},{"name":"31119","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"],"url":"http://secunia.com/advisories/31119"},{"name":"MDVSA-2008:129","tags":["vendor-advisory","x_refsource_MANDRIVA","x_transferred"],"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2008:129"},{"name":"31200","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"],"url":"http://secunia.com/advisories/31200"},{"name":"30757","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"],"url":"http://secunia.com/advisories/30757"},{"name":"RHSA-2008:0544","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"],"url":"http://www.redhat.com/support/errata/RHSA-2008-0544.html"},{"name":"35003","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"],"url":"http://secunia.com/advisories/35003"},{"name":"MDVSA-2008:125","tags":["vendor-advisory","x_refsource_MANDRIVA","x_transferred"],"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2008:125"},{"name":"RHSA-2008:0505","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"],"url":"http://www.redhat.com/support/errata/RHSA-2008-0505.html"},{"name":"oval:org.mitre.oval:def:10844","tags":["vdb-entry","signature","x_refsource_OVAL","x_transferred"],"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10844"},{"name":"MDVSA-2008:130","tags":["vendor-advisory","x_refsource_MANDRIVA","x_transferred"],"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2008:130"},{"name":"MDVSA-2008:126","tags":["vendor-advisory","x_refsource_MANDRIVA","x_transferred"],"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2008:126"},{"name":"20080506 Advisory SE-2008-02: PHP GENERATE_SEED() Weak Random Number Seed Vulnerability","tags":["mailing-list","x_refsource_BUGTRAQ","x_transferred"],"url":"http://www.securityfocus.com/archive/1/491683/100/0/threaded"},{"name":"MDVSA-2008:127","tags":["vendor-advisory","x_refsource_MANDRIVA","x_transferred"],"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2008:127"},{"tags":["x_refsource_MISC","x_transferred"],"url":"http://www.sektioneins.de/advisories/SE-2008-02.txt"},{"name":"DSA-1789","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred"],"url":"http://www.debian.org/security/2009/dsa-1789"}],"title":"CVE Program Container"}],"cna":{"affected":[{"product":"n/a","vendor":"n/a","versions":[{"status":"affected","version":"n/a"}]}],"datePublic":"2008-05-06T00:00:00.000Z","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 64-bit systems, performs a multiplication that generates a portion of zero bits during conversion due to insufficient precision, which produces 24 bits of entropy and simplifies brute force attacks against protection mechanisms that use the rand and mt_rand functions."}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"dateUpdated":"2018-10-11T19:57:01.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","shortName":"mitre"},"references":[{"name":"FEDORA-2008-3606","tags":["vendor-advisory","x_refsource_FEDORA"],"url":"https://www.redhat.com/archives/fedora-package-announce/2008-June/msg00779.html"},{"name":"32746","tags":["third-party-advisory","x_refsource_SECUNIA"],"url":"http://secunia.com/advisories/32746"},{"name":"20080506 Advisory SE-2008-02: PHP GENERATE_SEED() Weak Random Number Seed Vulnerability","tags":["mailing-list","x_refsource_FULLDISC"],"url":"http://archives.neohapsis.com/archives/fulldisclosure/2008-05/0103.html"},{"name":"GLSA-200811-05","tags":["vendor-advisory","x_refsource_GENTOO"],"url":"http://security.gentoo.org/glsa/glsa-200811-05.xml"},{"name":"RHSA-2008:0546","tags":["vendor-advisory","x_refsource_REDHAT"],"url":"http://www.redhat.com/support/errata/RHSA-2008-0546.html"},{"name":"FEDORA-2008-3864","tags":["vendor-advisory","x_refsource_FEDORA"],"url":"https://www.redhat.com/archives/fedora-package-announce/2008-June/msg00773.html"},{"name":"30828","tags":["third-party-advisory","x_refsource_SECUNIA"],"url":"http://secunia.com/advisories/30828"},{"name":"MDVSA-2008:128","tags":["vendor-advisory","x_refsource_MANDRIVA"],"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2008:128"},{"name":"3859","tags":["third-party-advisory","x_refsource_SREASON"],"url":"http://securityreason.com/securityalert/3859"},{"name":"RHSA-2008:0582","tags":["vendor-advisory","x_refsource_REDHAT"],"url":"http://www.redhat.com/support/errata/RHSA-2008-0582.html"},{"name":"USN-628-1","tags":["vendor-advisory","x_refsource_UBUNTU"],"url":"http://www.ubuntu.com/usn/usn-628-1"},{"name":"RHSA-2008:0545","tags":["vendor-advisory","x_refsource_REDHAT"],"url":"http://www.redhat.com/support/errata/RHSA-2008-0545.html"},{"name":"php-generateseed-weak-security(42226)","tags":["vdb-entry","x_refsource_XF"],"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/42226"},{"name":"31124","tags":["third-party-advisory","x_refsource_SECUNIA"],"url":"http://secunia.com/advisories/31124"},{"name":"31119","tags":["third-party-advisory","x_refsource_SECUNIA"],"url":"http://secunia.com/advisories/31119"},{"name":"MDVSA-2008:129","tags":["vendor-advisory","x_refsource_MANDRIVA"],"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2008:129"},{"name":"31200","tags":["third-party-advisory","x_refsource_SECUNIA"],"url":"http://secunia.com/advisories/31200"},{"name":"30757","tags":["third-party-advisory","x_refsource_SECUNIA"],"url":"http://secunia.com/advisories/30757"},{"name":"RHSA-2008:0544","tags":["vendor-advisory","x_refsource_REDHAT"],"url":"http://www.redhat.com/support/errata/RHSA-2008-0544.html"},{"name":"35003","tags":["third-party-advisory","x_refsource_SECUNIA"],"url":"http://secunia.com/advisories/35003"},{"name":"MDVSA-2008:125","tags":["vendor-advisory","x_refsource_MANDRIVA"],"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2008:125"},{"name":"RHSA-2008:0505","tags":["vendor-advisory","x_refsource_REDHAT"],"url":"http://www.redhat.com/support/errata/RHSA-2008-0505.html"},{"name":"oval:org.mitre.oval:def:10844","tags":["vdb-entry","signature","x_refsource_OVAL"],"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10844"},{"name":"MDVSA-2008:130","tags":["vendor-advisory","x_refsource_MANDRIVA"],"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2008:130"},{"name":"MDVSA-2008:126","tags":["vendor-advisory","x_refsource_MANDRIVA"],"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2008:126"},{"name":"20080506 Advisory SE-2008-02: PHP GENERATE_SEED() Weak Random Number Seed Vulnerability","tags":["mailing-list","x_refsource_BUGTRAQ"],"url":"http://www.securityfocus.com/archive/1/491683/100/0/threaded"},{"name":"MDVSA-2008:127","tags":["vendor-advisory","x_refsource_MANDRIVA"],"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2008:127"},{"tags":["x_refsource_MISC"],"url":"http://www.sektioneins.de/advisories/SE-2008-02.txt"},{"name":"DSA-1789","tags":["vendor-advisory","x_refsource_DEBIAN"],"url":"http://www.debian.org/security/2009/dsa-1789"}],"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2008-2108","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"The GENERATE_SEED macro in PHP 4.x before 4.4.8 and 5.x before 5.2.5, when running on 64-bit systems, performs a multiplication that generates a portion of zero bits during conversion due to insufficient precision, which produces 24 bits of entropy and simplifies brute force attacks against protection mechanisms that use the rand and mt_rand functions."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"FEDORA-2008-3606","refsource":"FEDORA","url":"https://www.redhat.com/archives/fedora-package-announce/2008-June/msg00779.html"},{"name":"32746","refsource":"SECUNIA","url":"http://secunia.com/advisories/32746"},{"name":"20080506 Advisory SE-2008-02: PHP GENERATE_SEED() Weak Random Number Seed Vulnerability","refsource":"FULLDISC","url":"http://archives.neohapsis.com/archives/fulldisclosure/2008-05/0103.html"},{"name":"GLSA-200811-05","refsource":"GENTOO","url":"http://security.gentoo.org/glsa/glsa-200811-05.xml"},{"name":"RHSA-2008:0546","refsource":"REDHAT","url":"http://www.redhat.com/support/errata/RHSA-2008-0546.html"},{"name":"FEDORA-2008-3864","refsource":"FEDORA","url":"https://www.redhat.com/archives/fedora-package-announce/2008-June/msg00773.html"},{"name":"30828","refsource":"SECUNIA","url":"http://secunia.com/advisories/30828"},{"name":"MDVSA-2008:128","refsource":"MANDRIVA","url":"http://www.mandriva.com/security/advisories?name=MDVSA-2008:128"},{"name":"3859","refsource":"SREASON","url":"http://securityreason.com/securityalert/3859"},{"name":"RHSA-2008:0582","refsource":"REDHAT","url":"http://www.redhat.com/support/errata/RHSA-2008-0582.html"},{"name":"USN-628-1","refsource":"UBUNTU","url":"http://www.ubuntu.com/usn/usn-628-1"},{"name":"RHSA-2008:0545","refsource":"REDHAT","url":"http://www.redhat.com/support/errata/RHSA-2008-0545.html"},{"name":"php-generateseed-weak-security(42226)","refsource":"XF","url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/42226"},{"name":"31124","refsource":"SECUNIA","url":"http://secunia.com/advisories/31124"},{"name":"31119","refsource":"SECUNIA","url":"http://secunia.com/advisories/31119"},{"name":"MDVSA-2008:129","refsource":"MANDRIVA","url":"http://www.mandriva.com/security/advisories?name=MDVSA-2008:129"},{"name":"31200","refsource":"SECUNIA","url":"http://secunia.com/advisories/31200"},{"name":"30757","refsource":"SECUNIA","url":"http://secunia.com/advisories/30757"},{"name":"RHSA-2008:0544","refsource":"REDHAT","url":"http://www.redhat.com/support/errata/RHSA-2008-0544.html"},{"name":"35003","refsource":"SECUNIA","url":"http://secunia.com/advisories/35003"},{"name":"MDVSA-2008:125","refsource":"MANDRIVA","url":"http://www.mandriva.com/security/advisories?name=MDVSA-2008:125"},{"name":"RHSA-2008:0505","refsource":"REDHAT","url":"http://www.redhat.com/support/errata/RHSA-2008-0505.html"},{"name":"oval:org.mitre.oval:def:10844","refsource":"OVAL","url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10844"},{"name":"MDVSA-2008:130","refsource":"MANDRIVA","url":"http://www.mandriva.com/security/advisories?name=MDVSA-2008:130"},{"name":"MDVSA-2008:126","refsource":"MANDRIVA","url":"http://www.mandriva.com/security/advisories?name=MDVSA-2008:126"},{"name":"20080506 Advisory SE-2008-02: PHP GENERATE_SEED() Weak Random Number Seed Vulnerability","refsource":"BUGTRAQ","url":"http://www.securityfocus.com/archive/1/491683/100/0/threaded"},{"name":"MDVSA-2008:127","refsource":"MANDRIVA","url":"http://www.mandriva.com/security/advisories?name=MDVSA-2008:127"},{"name":"http://www.sektioneins.de/advisories/SE-2008-02.txt","refsource":"MISC","url":"http://www.sektioneins.de/advisories/SE-2008-02.txt"},{"name":"DSA-1789","refsource":"DEBIAN","url":"http://www.debian.org/security/2009/dsa-1789"}]}}}},"cveMetadata":{"assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","assignerShortName":"mitre","cveId":"CVE-2008-2108","datePublished":"2008-05-07T21:00:00.000Z","dateReserved":"2008-05-07T00:00:00.000Z","dateUpdated":"2024-08-07T08:49:57.790Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.1"},"nvd":{"publishedDate":"2008-05-07 21:20:00","lastModifiedDate":"2026-04-23 00:35:47","problem_types":["CWE-331","n/a"],"metrics":{"cvssMetricV31":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","baseScore":9.8,"baseSeverity":"CRITICAL","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":3.9,"impactScore":5.9}],"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:N/AC:L/Au:N/C:P/I:P/A:P","baseScore":7.5,"accessVector":"NETWORK","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL"},"baseSeverity":"HIGH","exploitabilityScore":10,"impactScore":6.4,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":true,"userInteractionRequired":false}]},"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:php:php:*:*:*:*:*:*:*:*","versionStartIncluding":"4.0.0","versionEndExcluding":"4.4.8","matchCriteriaId":"F6C219FD-2507-491C-B38F-777D1A626FEC"},{"vulnerable":true,"criteria":"cpe:2.3:a:php:php:*:*:*:*:*:*:*:*","versionStartIncluding":"5.0.0","versionEndExcluding":"5.2.5","matchCriteriaId":"77177C9F-D96D-4FA7-B8D4-079A4BF52546"}]}]},{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:fedoraproject:fedora:8:*:*:*:*:*:*:*","matchCriteriaId":"72E4DB7F-07C3-46BB-AAA2-05CD0312C57F"},{"vulnerable":true,"criteria":"cpe:2.3:o:fedoraproject:fedora:9:*:*:*:*:*:*:*","matchCriteriaId":"743CBBB1-C140-4FEF-B40E-FAE4511B1140"}]}]},{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:canonical:ubuntu_linux:6.06:*:*:*:*:*:*:*","matchCriteriaId":"454A5D17-B171-4F1F-9E0B-F18D1E5CA9FD"},{"vulnerable":true,"criteria":"cpe:2.3:o:canonical:ubuntu_linux:7.04:*:*:*:*:*:*:*","matchCriteriaId":"6EBDAFF8-DE44-4E80-B6BD-E341F767F501"},{"vulnerable":true,"criteria":"cpe:2.3:o:canonical:ubuntu_linux:7.10:*:*:*:*:*:*:*","matchCriteriaId":"823BF8BE-2309-4F67-A5E2-EAD98F723468"},{"vulnerable":true,"criteria":"cpe:2.3:o:canonical:ubuntu_linux:8.04:*:*:*:-:*:*:*","matchCriteriaId":"7EBFE35C-E243-43D1-883D-4398D71763CC"}]}]},{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:debian:debian_linux:4.0:*:*:*:*:*:*:*","matchCriteriaId":"0F92AB32-E7DE-43F4-B877-1F41FA162EC7"}]}]}]},"legacy_mitre":{"record":{"CveYear":"2008","CveId":"2108","Ordinal":"1","Title":"CVE-2008-2108","CVE":"CVE-2008-2108","Year":"2008"},"notes":[{"CveYear":"2008","CveId":"2108","Ordinal":"1","NoteData":"The GENERATE_SEED macro in PHP 4.x before 4.4.8 and 5.x before 5.2.5, when running on 64-bit systems, performs a multiplication that generates a portion of zero bits during conversion due to insufficient precision, which produces 24 bits of entropy and simplifies brute force attacks against protection mechanisms that use the rand and mt_rand functions.","Type":"Description","Title":"CVE-2008-2108"},{"CveYear":"2008","CveId":"2108","Ordinal":"2","NoteData":"2008-05-07","Type":"Other","Title":"Published"},{"CveYear":"2008","CveId":"2108","Ordinal":"3","NoteData":"2018-10-11","Type":"Other","Title":"Modified"}]}}}