CVE-2007-1887

Buffer overflow in the sqlite_decode_binary function in the bundled sqlite library in PHP 4 before 4.4.5 and PHP 5 before 5.2.1 allows context-dependent attackers to execute arbitrary code via an empty value of the in parameter, as demonstrated by calling the sqlite_udf_decode_binary function with a 0x01 character.
References
Link Resource
http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=c01178795 Broken Link
http://secunia.com/advisories/24909 Not Applicable
http://secunia.com/advisories/25057 Not Applicable
http://secunia.com/advisories/25062 Not Applicable
http://secunia.com/advisories/27037 Not Applicable
http://secunia.com/advisories/27102 Not Applicable
http://secunia.com/advisories/27110 Not Applicable
http://www.debian.org/security/2007/dsa-1283 Third Party Advisory
http://www.gentoo.org/security/en/glsa/glsa-200710-02.xml Third Party Advisory
http://www.mandriva.com/security/advisories?name=MDKSA-2007:088 Broken Link
http://www.mandriva.com/security/advisories?name=MDKSA-2007:089 Broken Link
http://www.php-security.org/MOPB/MOPB-41-2007.html Broken Link Vendor Advisory
http://www.php.net/releases/5_2_1.php Release Notes Vendor Advisory
http://www.php.net/releases/5_2_3.php Release Notes Vendor Advisory
http://www.securityfocus.com/bid/23235 Third Party Advisory VDB Entry
http://www.ubuntu.com/usn/usn-455-1 Third Party Advisory
http://www.vupen.com/english/advisories/2007/2016 Permissions Required
http://www.vupen.com/english/advisories/2007/3386 Permissions Required
https://exchange.xforce.ibmcloud.com/vulnerabilities/33766 Third Party Advisory VDB Entry
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A5348 Third Party Advisory
https://www.redhat.com/archives/fedora-package-announce/2007-September/msg00397.html Mailing List Third Party Advisory
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:php:php:*:*:*:*:*:*:*:*
cpe:2.3:a:php:php:*:*:*:*:*:*:*:*

Configuration 2 (hide)

OR cpe:2.3:o:canonical:ubuntu_linux:6.06:*:*:*:*:*:*:*
cpe:2.3:o:canonical:ubuntu_linux:6.10:*:*:*:*:*:*:*
cpe:2.3:o:canonical:ubuntu_linux:7.04:*:*:*:*:*:*:*

Configuration 3 (hide)

cpe:2.3:o:debian:debian_linux:4.0:*:*:*:*:*:*:*

History

21 Jul 2022, 15:12

Type Values Removed Values Added
CWE NVD-CWE-Other CWE-120
CPE cpe:2.3:a:php:php:4.0.7:*:*:*:*:*:*:*
cpe:2.3:a:php:php:4.3.3:*:*:*:*:*:*:*
cpe:2.3:a:php:php:5.0.3:*:*:*:*:*:*:*
cpe:2.3:a:php:php:4.0:*:*:*:*:*:*:*
cpe:2.3:a:php:php:5.0.5:*:*:*:*:*:*:*
cpe:2.3:a:php:php:4.0.3:patch1:*:*:*:*:*:*
cpe:2.3:a:php:php:4.0.3:*:*:*:*:*:*:*
cpe:2.3:a:php:php:5.0.0:rc1:*:*:*:*:*:*
cpe:2.3:a:php:php:4.0.0:*:*:*:*:*:*:*
cpe:2.3:a:php:php:5.0.0:beta3:*:*:*:*:*:*
cpe:2.3:a:php:php:4.3.9:*:*:*:*:*:*:*
cpe:2.3:a:php:php:4.1.0:*:*:*:*:*:*:*
cpe:2.3:a:php:php:5.1.6:*:*:*:*:*:*:*
cpe:2.3:a:php:php:4.3.11:*:*:*:*:*:*:*
cpe:2.3:a:php:php:4.0.7:rc2:*:*:*:*:*:*
cpe:2.3:a:php:php:4.2.1:*:*:*:*:*:*:*
cpe:2.3:a:php:php:5.2.0:*:*:*:*:*:*:*
cpe:2.3:a:php:php:5.0.0:rc2:*:*:*:*:*:*
cpe:2.3:a:php:php:4.3.4:*:*:*:*:*:*:*
cpe:2.3:a:php:php:4.4.1:*:*:*:*:*:*:*
cpe:2.3:a:php:php:4.0:beta4:*:*:*:*:*:*
cpe:2.3:a:php:php:4.3.2:*:*:*:*:*:*:*
cpe:2.3:a:php:php:4.0.1:patch1:*:*:*:*:*:*
cpe:2.3:a:php:php:4.1.2:*:*:*:*:*:*:*
cpe:2.3:a:php:php:4.1.1:*:*:*:*:*:*:*
cpe:2.3:a:php:php:5.0.0:beta2:*:*:*:*:*:*
cpe:2.3:a:php:php:4.3.7:*:*:*:*:*:*:*
cpe:2.3:a:php:php:4.0.7:rc1:*:*:*:*:*:*
cpe:2.3:a:php:php:4.0.2:*:*:*:*:*:*:*
cpe:2.3:a:php:php:5.0.4:*:*:*:*:*:*:*
cpe:2.3:a:php:php:4.4.0:*:*:*:*:*:*:*
cpe:2.3:a:php:php:5.0:rc2:*:*:*:*:*:*
cpe:2.3:a:php:php:4.3.8:*:*:*:*:*:*:*
cpe:2.3:a:php:php:5.0.0:rc3:*:*:*:*:*:*
cpe:2.3:a:php:php:4.0:beta_4_patch1:*:*:*:*:*:*
cpe:2.3:a:php:php:5.1.2:*:*:*:*:*:*:*
cpe:2.3:a:php:php:5.1.1:*:*:*:*:*:*:*
cpe:2.3:a:php:php:4.2.0:*:*:*:*:*:*:*
cpe:2.3:a:php:php:4.0.5:*:*:*:*:*:*:*
cpe:2.3:a:php:php:4.3.0:*:*:*:*:*:*:*
cpe:2.3:a:php:php:4.0.6:*:*:*:*:*:*:*
cpe:2.3:a:php:php:4.4.4:*:*:*:*:*:*:*
cpe:2.3:a:php:php:4.3.10:*:*:*:*:*:*:*
cpe:2.3:a:php:php:5.1.4:*:*:*:*:*:*:*
cpe:2.3:a:php:php:4.3.6:*:*:*:*:*:*:*
cpe:2.3:a:php:php:4.4.2:*:*:*:*:*:*:*
cpe:2.3:a:php:php:5.1.3:*:*:*:*:*:*:*
cpe:2.3:a:php:php:4.3.1:*:*:*:*:*:*:*
cpe:2.3:a:php:php:5.1.5:*:*:*:*:*:*:*
cpe:2.3:a:php:php:4.3.5:*:*:*:*:*:*:*
cpe:2.3:a:php:php:5.1.0:*:*:*:*:*:*:*
cpe:2.3:a:php:php:5.0.0:beta4:*:*:*:*:*:*
cpe:2.3:a:php:php:4.2.3:*:*:*:*:*:*:*
cpe:2.3:a:php:php:4.0:beta1:*:*:*:*:*:*
cpe:2.3:a:php:php:4.2.2:*:*:*:*:*:*:*
cpe:2.3:a:php:php:5.0.2:*:*:*:*:*:*:*
cpe:2.3:a:php:php:4.0:rc1:*:*:*:*:*:*
cpe:2.3:a:php:php:4.0.4:patch1:*:*:*:*:*:*
cpe:2.3:a:php:php:4.0:rc2:*:*:*:*:*:*
cpe:2.3:a:php:php:4.0:beta2:*:*:*:*:*:*
cpe:2.3:a:php:php:4.4.3:*:*:*:*:*:*:*
cpe:2.3:a:php:php:4.0.1:*:*:*:*:*:*:*
cpe:2.3:a:php:php:5.0:rc3:*:*:*:*:*:*
cpe:2.3:a:php:php:4.0.1:patch2:*:*:*:*:*:*
cpe:2.3:a:php:php:5.0.0:beta1:*:*:*:*:*:*
cpe:2.3:a:php:php:5.0.0:*:*:*:*:*:*:*
cpe:2.3:a:php:php:5.0:rc1:*:*:*:*:*:*
cpe:2.3:a:php:php:4.2:*:dev:*:*:*:*:*
cpe:2.3:a:php:php:4.0:beta3:*:*:*:*:*:*
cpe:2.3:a:php:php:4.0.4:*:*:*:*:*:*:*
cpe:2.3:a:php:php:5.0.1:*:*:*:*:*:*:*
cpe:2.3:a:php:php:4.0.7:rc3:*:*:*:*:*:*
cpe:2.3:o:canonical:ubuntu_linux:7.04:*:*:*:*:*:*:*
cpe:2.3:o:canonical:ubuntu_linux:6.10:*:*:*:*:*:*:*
cpe:2.3:o:canonical:ubuntu_linux:6.06:*:*:*:*:*:*:*
cpe:2.3:o:debian:debian_linux:4.0:*:*:*:*:*:*:*
cpe:2.3:a:php:php:*:*:*:*:*:*:*:*
References (SECUNIA) http://secunia.com/advisories/25062 - (SECUNIA) http://secunia.com/advisories/25062 - Not Applicable
References (OVAL) https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A5348 - (OVAL) https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A5348 - Third Party Advisory
References (HP) http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=c01178795 - (HP) http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=c01178795 - Broken Link
References (MANDRIVA) http://www.mandriva.com/security/advisories?name=MDKSA-2007:088 - (MANDRIVA) http://www.mandriva.com/security/advisories?name=MDKSA-2007:088 - Broken Link
References (SECUNIA) http://secunia.com/advisories/25057 - (SECUNIA) http://secunia.com/advisories/25057 - Not Applicable
References (VUPEN) http://www.vupen.com/english/advisories/2007/2016 - (VUPEN) http://www.vupen.com/english/advisories/2007/2016 - Permissions Required
References (CONFIRM) http://www.php.net/releases/5_2_1.php - Patch (CONFIRM) http://www.php.net/releases/5_2_1.php - Release Notes, Vendor Advisory
References (VUPEN) http://www.vupen.com/english/advisories/2007/3386 - (VUPEN) http://www.vupen.com/english/advisories/2007/3386 - Permissions Required
References (UBUNTU) http://www.ubuntu.com/usn/usn-455-1 - (UBUNTU) http://www.ubuntu.com/usn/usn-455-1 - Third Party Advisory
References (SECUNIA) http://secunia.com/advisories/27110 - (SECUNIA) http://secunia.com/advisories/27110 - Not Applicable
References (XF) https://exchange.xforce.ibmcloud.com/vulnerabilities/33766 - (XF) https://exchange.xforce.ibmcloud.com/vulnerabilities/33766 - Third Party Advisory, VDB Entry
References (MANDRIVA) http://www.mandriva.com/security/advisories?name=MDKSA-2007:089 - (MANDRIVA) http://www.mandriva.com/security/advisories?name=MDKSA-2007:089 - Broken Link
References (SECUNIA) http://secunia.com/advisories/27037 - (SECUNIA) http://secunia.com/advisories/27037 - Not Applicable
References (MISC) http://www.php-security.org/MOPB/MOPB-41-2007.html - Vendor Advisory (MISC) http://www.php-security.org/MOPB/MOPB-41-2007.html - Broken Link, Vendor Advisory
References (DEBIAN) http://www.debian.org/security/2007/dsa-1283 - (DEBIAN) http://www.debian.org/security/2007/dsa-1283 - Third Party Advisory
References (SECUNIA) http://secunia.com/advisories/24909 - (SECUNIA) http://secunia.com/advisories/24909 - Not Applicable
References (SECUNIA) http://secunia.com/advisories/27102 - (SECUNIA) http://secunia.com/advisories/27102 - Not Applicable
References (FEDORA) https://www.redhat.com/archives/fedora-package-announce/2007-September/msg00397.html - (FEDORA) https://www.redhat.com/archives/fedora-package-announce/2007-September/msg00397.html - Mailing List, Third Party Advisory
References (GENTOO) http://www.gentoo.org/security/en/glsa/glsa-200710-02.xml - (GENTOO) http://www.gentoo.org/security/en/glsa/glsa-200710-02.xml - Third Party Advisory
References (CONFIRM) http://www.php.net/releases/5_2_3.php - (CONFIRM) http://www.php.net/releases/5_2_3.php - Release Notes, Vendor Advisory
References (BID) http://www.securityfocus.com/bid/23235 - (BID) http://www.securityfocus.com/bid/23235 - Third Party Advisory, VDB Entry

Information

Published : 2007-04-06 01:19

Updated : 2024-02-04 17:13


NVD link : CVE-2007-1887

Mitre link : CVE-2007-1887

CVE.ORG link : CVE-2007-1887


JSON object : View

Products Affected

canonical

  • ubuntu_linux

php

  • php

debian

  • debian_linux
CWE
CWE-120

Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')