[CVE-2026-93709] Dancer2 versions before 2.2.0 for Perl serve a layout as a p

CVE-2026-93709 | CVSS: N/A

Dancer2 versions before 2.2.0 for Perl serve a layout as a page when an equivalent spelling of its path misses the guard in the AutoPage handler.

The handler compares the request path against the layout directory name as text, while the lookup that follows canonicalises it. A doubled slash, a dot segment, a percent-encoded slash, or a different capitalisation on a case-insensitive filesystem therefore misses the guard.

The handler is off by default, enabled with auto_page. The layout wrapping every page is already public, so this discloses one of the application's other layouts.

参考链接:
• https://github.com/PerlDancer/Dancer2/commit/293fce08812b0928f34ab2d7b9357450707
• https://github.com/PerlDancer/Dancer2/commit/753b385350a54acb8d4b686723890205268
• https://github.com/PerlDancer/Dancer2/issues/1823

📌 数据来源: NVD 官方

⚠️ 合规声明: 本文内容仅用于网络安全合规学习、科研与授权测试用途。严禁用于任何未授权行为,违者自行承担全部法律责任。
滚动至顶部