Input validation error in PHP - CVE-2007-0906

 

Input validation error in PHP - CVE-2007-0906

Published: October 30, 2018 / Updated: June 8, 2025


Vulnerability identifier: #VU110459
CSH Severity: Medium
CVSS v4: []
CVE-ID: CVE-2007-0906
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows attackers to perform a denial of service (DoS) attack.

The vulnerability exists due to insufficient validation of user-supplied input. A remote attacker can cause a denial of service and possibly execute arbitrary code via unspecified vectors in the (1) session, (2) zip, (3) imap, and (4) sqlite extensions; (5) stream filters; and the (6) str_replace, (7) mail, (8) ibase_delete_user, (9) ibase_add_user, and (10) ibase_modify_user functions. NOTE: vector 6 might actually be an integer overflow (CVE-2007-1885).


Affected software

PHP
Gentoo Linux
Ubuntu
php5-cli (Ubuntu package)
php5-cgi (Ubuntu package)
php5-odbc (Ubuntu package)
php5-common (Ubuntu package)
libapache2-mod-php5 (Ubuntu package)
dev-lang/php

How to mitigate CVE-2007-0906

Install update from vendor's website.

PHP - addressed in versions 4.4.5, 4.10, 5.2.0
php5-cli (Ubuntu package) - addressed in versions 5.0.5-2ubuntu1.7, 5.1.2-1ubuntu3.5, 5.1.6-1ubuntu2.2
php5-cgi (Ubuntu package) - addressed in versions 5.0.5-2ubuntu1.7, 5.1.2-1ubuntu3.5, 5.1.6-1ubuntu2.2
php5-odbc (Ubuntu package) - addressed in versions 5.0.5-2ubuntu1.7, 5.1.2-1ubuntu3.5, 5.1.6-1ubuntu2.2
php5-common (Ubuntu package) - addressed in versions 5.0.5-2ubuntu1.7, 5.1.2-1ubuntu3.5, 5.1.6-1ubuntu2.2
libapache2-mod-php5 (Ubuntu package) - addressed in versions 5.0.5-2ubuntu1.7, 5.1.2-1ubuntu3.5, 5.1.6-1ubuntu2.2
dev-lang/php - update to 5.2.1-r3

External References

Related Security Bulletins