CVE-2025-40932 Apache::SessionX versions through 2.01 for Perl create insecure session id
HighCVSS 8.2
EPSS 0.23%
- Published
- Updated
- Exploit status
- No public exploit known
Description
Apache::SessionX versions through 2.01 for Perl create insecure session id.
Apache::SessionX generates session ids insecurely. The default session id generator in Apache::SessionX::Generate::MD5 returns a MD5 hash seeded with the built-in rand() function, the epoch time, and the PID. The PID will come from a small set of numbers, and the epoch time may be guessed, if it is not leaked from the HTTP Date header. The built-in rand function is unsuitable for cryptographic usage. Predicable session ids could allow an attacker to gain access to systems.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/libapache-sessionx-perl(Debian:12) | All versions | No fix listed |
| debian/libapache-sessionx-perl(Debian:12) | = 2.01-5 | No fix listed |
| debian/libapache-sessionx-perl(Debian:12) | = 2.01-6 | No fix listed |
| debian/libapache-sessionx-perl(Debian:12) | = 2.01-7 | No fix listed |
| debian/libapache-sessionx-perl(Debian:12) | = 2.01-8 | No fix listed |
| GRICHTER Apache::SessionX | <= 2.01 | No fix listed |
| ubuntu/libapache-sessionx-perl(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/libapache-sessionx-perl(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/libapache-sessionx-perl(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/libapache-sessionx-perl(Ubuntu:26.10) | All versions | No fix listed |
References
- Debian Security Tracker CVE-2025-40932 vendor-advisory
- metacpan.org issue-tracking related
- Ubuntu CVE tracker vendor-advisory
- www.cve.org
- bugs.debian.org issue-tracking