CVE-2008-4102
Status: ModifiedHigh (7.5)—
Joomla! 1.5 before 1.5.7 initializes PHP's PRNG with a weak seed, which makes it easier for attackers to guess the pseudo-random values produced by PHP's mt_rand function, as demonstrated by guessing password reset tokens, a different vulnerability than CVE-2008-3681.
CVSS
- Version: 2.0
- Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P
- Base score: 7.5
Exploitation probability (EPSS)
- Probability of exploitation in the next 30 days: 2.38%
- Percentile among all scored CVEs: 83
- Score date: 10/8/2026
EPSS (Exploit Prediction Scoring System, FIRST) estimates how likely a vulnerability is to be exploited in the wild within 30 days. It complements CVSS (impact) and CISA KEV (confirmed exploitation).
Affected technologies (1)
CWEs
- CWE-189
References
- http://developer.joomla.org/security/news/272-20080902-core-random-number-generation-flaw.html
- http://marc.info/?l=oss-security&m=122115344915232&w=2
- http://marc.info/?l=oss-security&m=122118210029084&w=2
- http://marc.info/?l=oss-security&m=122152798516853&w=2
- http://secunia.com/advisories/31789
- http://securityreason.com/securityalert/4271
- http://www.securityfocus.com/archive/1/496237/100/0/threaded
- http://www.sektioneins.de/advisories/SE-2008-04.txt
- http://www.suspekt.org/2008/08/17/mt_srand-and-not-so-random-numbers/
- https://exchange.xforce.ibmcloud.com/vulnerabilities/45068
- http://developer.joomla.org/security/news/272-20080902-core-random-number-generation-flaw.html
- http://marc.info/?l=oss-security&m=122115344915232&w=2
- http://marc.info/?l=oss-security&m=122118210029084&w=2
- http://marc.info/?l=oss-security&m=122152798516853&w=2
- http://secunia.com/advisories/31789
- http://securityreason.com/securityalert/4271
- http://www.securityfocus.com/archive/1/496237/100/0/threaded
- http://www.sektioneins.de/advisories/SE-2008-04.txt
- http://www.suspekt.org/2008/08/17/mt_srand-and-not-so-random-numbers/
- https://exchange.xforce.ibmcloud.com/vulnerabilities/45068
Raw JSON (NVD)
Show
{
"id": "CVE-2008-4102",
"cveTags": [],
"metrics": {
"cvssMetricV2": [
{
"type": "Primary",
"source": "nvd@nist.gov",
"cvssData": {
"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"
},
"acInsufInfo": false,
"impactScore": 6.4,
"baseSeverity": "HIGH",
"obtainAllPrivilege": false,
"exploitabilityScore": 10,
"obtainUserPrivilege": false,
"obtainOtherPrivilege": true,
"userInteractionRequired": false
}
]
},
"affected": [
{
"source": "cve@mitre.org",
"affectedData": [
{
"vendor": "n/a",
"product": "n/a",
"versions": [
{
"status": "affected",
"version": "n/a"
}
]
}
]
}
],
"published": "2008-09-18T17:59:32.907",
"references": [
{
"url": "http://developer.joomla.org/security/news/272-20080902-core-random-number-generation-flaw.html",
"source": "cve@mitre.org"
},
{
"url": "http://marc.info/?l=oss-security&m=122115344915232&w=2",
"source": "cve@mitre.org"
},
{
"url": "http://marc.info/?l=oss-security&m=122118210029084&w=2",
"source": "cve@mitre.org"
},
{
"url": "http://marc.info/?l=oss-security&m=122152798516853&w=2",
"source": "cve@mitre.org"
},
{
"url": "http://secunia.com/advisories/31789",
"source": "cve@mitre.org"
},
{
"url": "http://securityreason.com/securityalert/4271",
"source": "cve@mitre.org"
},
{
"url": "http://www.securityfocus.com/archive/1/496237/100/0/threaded",
"source": "cve@mitre.org"
},
{
"url": "http://www.sektioneins.de/advisories/SE-2008-04.txt",
"source": "cve@mitre.org"
},
{
"url": "http://www.suspekt.org/2008/08/17/mt_srand-and-not-so-random-numbers/",
"source": "cve@mitre.org"
},
{
"url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/45068",
"source": "cve@mitre.org"
},
{
"url": "http://developer.joomla.org/security/news/272-20080902-core-random-number-generation-flaw.html",
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "http://marc.info/?l=oss-security&m=122115344915232&w=2",
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "http://marc.info/?l=oss-security&m=122118210029084&w=2",
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "http://marc.info/?l=oss-security&m=122152798516853&w=2",
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "http://secunia.com/advisories/31789",
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "http://securityreason.com/securityalert/4271",
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "http://www.securityfocus.com/archive/1/496237/100/0/threaded",
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "http://www.sektioneins.de/advisories/SE-2008-04.txt",
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "http://www.suspekt.org/2008/08/17/mt_srand-and-not-so-random-numbers/",
"source": "af854a3a-2127-422b-91ae-364da2661108"
},
{
"url": "https://exchange.xforce.ibmcloud.com/vulnerabilities/45068",
"source": "af854a3a-2127-422b-91ae-364da2661108"
}
],
"vulnStatus": "Modified",
"weaknesses": [
{
"type": "Primary",
"source": "nvd@nist.gov",
"description": [
{
"lang": "en",
"value": "CWE-189"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "Joomla! 1.5 before 1.5.7 initializes PHP's PRNG with a weak seed, which makes it easier for attackers to guess the pseudo-random values produced by PHP's mt_rand function, as demonstrated by guessing password reset tokens, a different vulnerability than CVE-2008-3681."
},
{
"lang": "es",
"value": "Joomla! 1.5 anterior a v1.5.7 inicializa el PHP's PRNG con una semilla débil, lo que facilita a los atacantes obtener valores pseudo-aleatorios originados por la función PHP's mt_rand, como se ha demostrado obteniendo un reinicio de contraseña. Vulnerabilidad distinta de CVE-2008-3681."
}
],
"lastModified": "2026-06-16T22:57:10.997",
"configurations": [
{
"nodes": [
{
"negate": false,
"cpeMatch": [
{
"criteria": "cpe:2.3:a:joomla:joomla:1.5:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "2017D307-89B3-4D94-A266-C7D8D45960A6"
},
{
"criteria": "cpe:2.3:a:joomla:joomla:1.5.1:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "8CCDBF4D-A797-4828-A084-8C775FA94BDF"
},
{
"criteria": "cpe:2.3:a:joomla:joomla:1.5.2:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "BB1B7CF2-B717-4F37-A923-0E188FF3C47F"
},
{
"criteria": "cpe:2.3:a:joomla:joomla:1.5.3:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "CBA35EF1-1F8C-4AEA-89A0-3C1DD2DFBFE8"
},
{
"criteria": "cpe:2.3:a:joomla:joomla:1.5.4:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "3333C204-A022-4B53-B61F-3C5601F21FC0"
},
{
"criteria": "cpe:2.3:a:joomla:joomla:1.5.5:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "F2752717-AA95-4398-8091-24FD5925C4F7"
},
{
"criteria": "cpe:2.3:a:joomla:joomla:1.5.6:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "F7B3B3FB-E67D-4D9A-BE01-855FA2545772"
}
],
"operator": "OR"
}
]
}
],
"sourceIdentifier": "cve@mitre.org"
}