| Title | PHPOfficeのPhpSpreadsheetにおける複数の脆弱性 |
|---|---|
| Summary | PhpSpreadsheetはスプレッドシートファイルの読み書き用のライブラリです。バージョン1.30.2以前、2.0.0から2.1.14、2.2.0から2.4.3、3.3.0から3.10.3、および4.0.0から5.5.0において、IOFactory::load()のfilename引数がユーザーによって制御可能な場合、攻撃者はis_file()チェックをFile::assertFile()で通過するPHPストリームラッパーパス(phar://、ftp://、ssh2.sftp://など)を指定することができます。phar://ラッパーはPHARメタデータのデシリアライズを引き起こし、適切なガジェットチェーンがアプリケーション内に存在すると、リモートコード実行に繋がる可能性があります。ftp://およびssh2.sftp://ラッパーはサーバーサイドリクエストフォージェリに悪用される可能性があります。この問題はバージョン1.30.3、2.1.15、2.4.4、3.10.4、および5.6.0で修正されました。 |
| Possible impacts | 当該ソフトウェアが扱う全ての情報が外部に漏れる可能性があります。 また、当該ソフトウェアが扱う全ての情報が書き換えられる可能性があります。 さらに、当該ソフトウェアが完全に停止する可能性があります。 そして、この脆弱性を悪用した攻撃の影響は、他のソフトウェアには及びません。 |
| Solution | 正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。 |
| Publication Date | May 5, 2026, midnight |
| Registration Date | May 11, 2026, 11:12 a.m. |
| Last Update | May 11, 2026, 11:12 a.m. |
| CVSS3.0 : 緊急 | |
| Score | 9.8 |
|---|---|
| Vector | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| PHPOffice |
| PhpSpreadsheet 1.30.3 未満 |
| PhpSpreadsheet 2.0.0 以上 2.1.15 未満 |
| PhpSpreadsheet 2.2.0 以上 2.4.4 未満 |
| PhpSpreadsheet 3.3.0 以上 3.10.4 未満 |
| PhpSpreadsheet 4.0.0 以上 5.6.0 未満 |
| No | Changed Details | Date of change |
|---|---|---|
| 1 | [2026年05月11日] 掲載 |
May 11, 2026, 11:12 a.m. |
| Summary | PhpSpreadsheet is a library for reading and writing spreadsheet files. In versions 1.30.2 and earlier, 2.0.0 through 2.1.14, 2.2.0 through 2.4.3, 3.3.0 through 3.10.3, and 4.0.0 through 5.5.0, when the filename argument to IOFactory::load() is user-controlled, an attacker can supply a PHP stream wrapper path (such as phar://, ftp://, or ssh2.sftp://) that passes the is_file() check in File::assertFile(). The phar:// wrapper triggers deserialization of the PHAR metadata, which can lead to remote code execution if a suitable gadget chain is available in the application. The ftp:// and ssh2.sftp:// wrappers can be used for server-side request forgery. This issue has been fixed in versions 1.30.3, 2.1.15, 2.4.4, 3.10.4, and 5.6.0. |
|---|---|
| Publication Date | May 6, 2026, 5:16 a.m. |
| Registration Date | May 7, 2026, 4:07 a.m. |
| Last Update | May 9, 2026, 2:10 a.m. |
| Configuration1 | or higher | or less | more than | less than | |
| cpe:2.3:a:phpoffice:phpspreadsheet:*:*:*:*:*:*:*:* | 1.30.3 | ||||
| cpe:2.3:a:phpoffice:phpspreadsheet:*:*:*:*:*:*:*:* | 2.0.0 | 2.1.15 | |||
| cpe:2.3:a:phpoffice:phpspreadsheet:*:*:*:*:*:*:*:* | 2.2.0 | 2.4.4 | |||
| cpe:2.3:a:phpoffice:phpspreadsheet:*:*:*:*:*:*:*:* | 3.3.0 | 3.10.4 | |||
| cpe:2.3:a:phpoffice:phpspreadsheet:*:*:*:*:*:*:*:* | 4.0.0 | 5.6.0 | |||