CVE-2024-45291
概要

PHPSpreadsheet is a pure PHP library for reading and writing spreadsheet files. It's possible for an attacker to construct an XLSX file that links images from arbitrary paths. When embedding images has been enabled in HTML writer with `$writer->setEmbedImages(true);` those files will be included in the output as `data:` URLs, regardless of the file's type. Also URLs can be used for embedding, resulting in a Server-Side Request Forgery vulnerability. When embedding images has been enabled, an attacker can read arbitrary files on the server and perform arbitrary HTTP GET requests. Note that any PHP protocol wrappers can be used, meaning that if for example the `expect://` wrapper is enabled, also remote code execution is possible. This issue has been addressed in release versions 1.29.2, 2.1.1, and 2.3.0. All users are advised to upgrade. there are no known workarounds for this vulnerability.

公表日 2024年10月8日6:15
登録日 2024年10月8日12:00
最終更新日 2024年10月17日4:09
CVSS3.1 : HIGH
スコア 8.8
ベクター CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
攻撃元区分(AV) ネットワーク
攻撃条件の複雑さ(AC)
攻撃に必要な特権レベル(PR)
利用者の関与(UI) 不要
影響の想定範囲(S) 変更なし
機密性への影響(C)
完全性への影響(I)
可用性への影響(A)
影響を受けるソフトウェアの構成
構成1 以上 以下 より上 未満
cpe:2.3:a:phpoffice:phpspreadsheet:*:*:*:*:*:*:*:* 2.2.0 2.3.0
cpe:2.3:a:phpoffice:phpspreadsheet:*:*:*:*:*:*:*:* 2.0.0 2.1.1
cpe:2.3:a:phpoffice:phpspreadsheet:*:*:*:*:*:*:*:* 1.29.2
関連情報、対策とツール
共通脆弱性一覧

JVN脆弱性情報
PHPOffice の PhpSpreadsheet におけるパストラバーサルの脆弱性
タイトル PHPOffice の PhpSpreadsheet におけるパストラバーサルの脆弱性
概要

PHPOffice の PhpSpreadsheet には、パストラバーサルの脆弱性、サーバサイドのリクエストフォージェリの脆弱性が存在します。

想定される影響 情報を取得される、情報を改ざんされる、およびサービス運用妨害 (DoS) 状態にされる可能性があります。
対策

参考情報を参照して適切な対策を実施してください。

公表日 2024年10月7日0:00
登録日 2024年10月17日11:06
最終更新日 2024年10月17日11:06
影響を受けるシステム
PHPOffice
PhpSpreadsheet 1.29.2 未満
PhpSpreadsheet 2.0.0 以上 2.1.1 未満
PhpSpreadsheet 2.2.0 以上 2.3.0 未満
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
その他
変更履歴
No 変更内容 変更日
1 [2024年10月17日]
  掲載
2024年10月17日11:06