WebDyneの脆弱性で遠隔からPerlプログラムを実行されるおそれ
Summary
WebDyneの2.031以降3.022より前の版には、ファイル名に.pspを含むファイルがPerlのページとして実行される脆弱性があり、CVSSは9.8です。拡張子を最後だけで確認するアップロード機能を持つアプリケーションでは、遠隔の攻撃者が偽装したファイルを実行するおそれがあります。修正版の3.022で対処できます。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
WebDyneの2.031以降3.022より前の版には、ファイル名に.pspを含むファイルがPerlのページとして実行される脆弱性があり、CVSSは9.8です。拡張子を最後だけで確認するアップロード機能を持つアプリケーションでは、遠隔の攻撃者が偽装したファイルを実行するおそれがあります。修正版の3.022で対処できます。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| CPANWebDyne |
≥ 2.031, < 3.022→ 3.022 |
3.022 |
Original description The description as published by the source.
WebDyne versions from 2.031 before 3.022 for Perl execute files with .psp anywhere in the name as Perl pages.
WebDyne decides whether to run a requested file as a page by matching its name against WEBDYNE_PSP_EXT_RE, which has no end anchor.
An application that accepts uploads by checking only the final extension lets a remote attacker upload a file such as report.psp.pdf and run its embedded Perl by requesting it.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory metacpan.org
- advisory nvd.nist.gov
- advisory github.com
- package github.com
- web github.com
- web cpan.org