CVE-2024-47945
JSON

9.1critical

Predictable Session ID

Severity
9.1critical CVSS:3.1 by CISA-ADP
Exploit likelihood
0.87% (higher than 59% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
SEC-VLab

Description

The devices are vulnerable to session hijacking due to insufficient entropy in its session ID generation algorithm. The session IDs are predictable, with only 32,768 possible values per user, which allows attackers to pre-generate valid session IDs, leading to unauthorized access to user sessions. This is not only due to the use of an (insecure) rand() function call but also because of missing initialization via srand(). As a result only the PIDs are effectively used as seed.

Affected

Product or packageVersionsReported by
RITTAL GmbH & Co. KG IoT Interface & CMC III Processing Unit<6.21.00.2CVE List
rittal_gmbh_and_co.kg iot_interface_and_cmc_iii_processing_unitbefore 6.21.00.2CVE List
rittal iot_interface_firmwarebefore 6.21.00.2NVD
rittal cmc_iii_processing_units_firmwarebefore 6.21.00.2NVD

All scores

CISA-ADP9.1critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
NVD9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-331CWE-340

SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total.

What each source says

CVE List

The devices are vulnerable to session hijacking due to insufficient entropy in its session ID generation algorithm. The session IDs are predictable, with only 32,768 possible values per user, which allows attackers to pre-generate valid session IDs, leading to unauthorized access to user sessions. This is not only due to the use of an (insecure) rand() function call but also because of missing initialization via srand(). As a result only the PIDs are effectively used as seed.

NVD (es)

Los dispositivos son vulnerables al secuestro de sesiones debido a la entropía insuficiente en su algoritmo de generación de identificadores de sesión. Los identificadores de sesión son predecibles, con solo 32 768 valores posibles por usuario, lo que permite a los atacantes generar previamente identificadores de sesión válidos, lo que conduce a un acceso no autorizado a las sesiones de usuario. Esto no solo se debe al uso de una llamada a la función rand() (insegura), sino también a la falta de inicialización a través de srand(). Como resultado, solo los identificadores PID se utilizan de manera efectiva como semilla.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-47945 changed 2025-11-03CVE Terms of Use
NVDCVE-2024-47945 changed 2026-06-17Public domain