CGI::Session::ID::md5 versions before 4.49 for Perl generate predictable session ids from low-entropy sources
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| MARKSTOS | CGI::Session::ID::md5 | unaffected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Markstos | Cgi::session::id::md5 |
|
Vendor Solution
Upgrade to CGI::Session 4.49 or later, which generates session ids from Crypt::SysRandom.
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.513% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Markstos
Markstos cgi::session::id::md5 |
|
| Vendors & Products |
Markstos
Markstos cgi::session::id::md5 |
| Type | Values Removed | Values Added |
|---|---|---|
| Weaknesses | CWE-331 | |
| References |
| |
| Metrics |
threat_severity
|
threat_severity
|
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
cvssV3_1
|
| Type | Values Removed | Values Added |
|---|---|---|
| Description | CGI::Session::ID::md5 versions before 4.49 for Perl generate predictable session ids from low-entropy sources. The generate_id method builds the session id from a MD5 digest of the process id, the epoch time, and the built-in rand() function. All three are predictable, low-entropy sources: the PID is drawn from a small range, the epoch time can be guessed or read from the HTTP Date header, and Perl's rand() is unsuitable for security purposes because it is predictable and reversible. An attacker who predicts a session id can impersonate the corresponding session and bypass authentication. | |
| Title | CGI::Session::ID::md5 versions before 4.49 for Perl generate predictable session ids from low-entropy sources | |
| Weaknesses | CWE-338 CWE-340 |
|
| References |
|