製品・ソフトウェアに関する情報
PHP における整数オーバーフローの脆弱性
Title PHP における整数オーバーフローの脆弱性
Summary

PHP の str_replace 関数には、整数オーバーフローの脆弱性が存在します。

Possible impacts 攻撃者により、文字列を置換する単一文字と組み合わせた単一文字検索文字列を介して、"一つずれオーバーフロー" を誘発され、不特定の影響を受ける可能性があります。
Solution

ベンダより正式な対策が公開されています。ベンダ情報を参照して適切な対策を実施してください。

Publication Date March 31, 2007, midnight
Registration Date Sept. 25, 2012, 4:47 p.m.
Last Update Sept. 25, 2012, 4:47 p.m.
CVSS2.0 : 警告
Score 6.8
Vector AV:N/AC:M/Au:N/C:P/I:P/A:P
Affected System
The PHP Group
PHP 4.4.5 および 5.2.1
CVE (情報セキュリティ 共通脆弱性識別子)
ベンダー情報
Change Log
No Changed Details Date of change
0 [2012年09月25日]
  掲載
Feb. 17, 2018, 10:37 a.m.

NVD Vulnerability Information
CVE-2007-1886
Summary

Integer overflow in the str_replace function in PHP 4.4.5 and PHP 5.2.1 allows context-dependent attackers to have an unknown impact via a single character search string in conjunction with a single character replacement string, which causes an "off by one overflow."

Publication Date April 6, 2007, 10:19 a.m.
Registration Date Jan. 29, 2021, 2:10 p.m.
Last Update July 29, 2017, 10:31 a.m.
Affected software configurations
Configuration1 or higher or less more than less than
cpe:2.3:a:php:php:4.4.5:*:*:*:*:*:*:*
cpe:2.3:a:php:php:5.2.1:*:*:*:*:*:*:*
Related information, measures and tools
Common Vulnerabilities List