{"id":15129,"date":"2026-09-04T19:02:27","date_gmt":"2026-09-04T11:02:27","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-13577"},"modified":"2026-09-04T19:02:27","modified_gmt":"2026-09-04T11:02:27","slug":"cve-2026-13577","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-13577","title":{"rendered":"CVE-2026-13577 [HIGH] &#8211; Dancer2 versions through 2.1.0 for Perl generate insecure session ids when required CSPRNG"},"content":{"rendered":"<p>Dancer2 versions through 2.1.0 for Perl generate insecure session ids when required CSPRNG modules are unavailable.<\/p>\n<p>Dancer2::Core::Role::SessionFactory::generate_id silently falls back to a built-in rand-derived session id unless both Math::Random::ISAAC::XS and Crypt::URandom are available.<\/p>\n<p>The fallback session id is generated from a SHA-1 hash of a call to the built-in rand function, the absolute path of the Dancer2::Core::Role::SessionFactory module, an internal counter, the process id, the module instance memory address, and a shuffled string of characters (using the List::Util::shuffle function, which also uses the built-in rand function).<\/p>\n<p>These are all low-entropy and easily guessed sources.<\/p>\n<p>The built-in rand() function is seeded with 32-bits and considered unsuitable for security applications.<\/p>\n<p>Predictable session ids could allow an attacker to gain access to systems.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Dancer2 versions through 2.1.0 for Perl generate insecure session ids when required CSPRNG modules are unavailable.<\/p>\n<p>Dancer2::Core::Role::SessionFactory::generate_id silently falls back to a built-in <\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-15129","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/15129","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln"}],"about":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/types\/vuln"}],"wp:attachment":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=15129"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=15129"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=15129"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}