{"id":11188,"date":"2026-09-04T18:51:44","date_gmt":"2026-09-04T10:51:44","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-75870"},"modified":"2026-09-04T18:51:44","modified_gmt":"2026-09-04T10:51:44","slug":"cve-2026-75870","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-75870","title":{"rendered":"CVE-2026-75870 [CRITICAL] &#8211; Punk versions before 0.18 for Perl allow session cookie forgery via an empty default HMAC"},"content":{"rendered":"<p>Punk versions before 0.18 for Perl allow session cookie forgery via an empty default HMAC key when a session is declared without a secret.<\/p>\n<p>The session keyword freezes its options onto the application as given: it does not require a secret, warn, or refuse to start when one is absent. The cookie read and the write-back both default that key to the empty string, so a declaration with no secret option, or with an undefined or empty one, signs and verifies with a zero-length HMAC-SHA256 key.<\/p>\n<p>An attacker who knows the cookie format can then mint one offline carrying any contents the session holds, such as a user identifier or a role. Nothing marks the misconfiguration at runtime: cookies are well formed and sessions round-trip as expected.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Punk versions before 0.18 for Perl allow session cookie forgery via an empty default HMAC key when a session is declared without a secret.<\/p>\n<p>The session keyword freezes its options onto the application<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-11188","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/11188","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=11188"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=11188"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=11188"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}