7.5
HIGH
CVE-2007-1887
PHP SQLite Buffer Overflow Vulnerability
Description

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.

INFO

Published Date :

April 6, 2007, 1:19 a.m.

Last Modified :

July 21, 2022, 3:12 p.m.

Remotely Exploitable :

Yes !

Impact Score :

6.4

Exploitability Score :

10.0
Affected Products

The following products are affected by CVE-2007-1887 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Canonical ubuntu_linux
1 Debian debian_linux
1 Php php
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2007-1887.

URL 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

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2007-1887 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2007-1887 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Modified Analysis by [email protected]

    Jul. 21, 2022

    Action Type Old Value New Value
    Changed Reference Type http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=c01178795 No Types Assigned http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=c01178795 Broken Link
    Changed Reference Type http://secunia.com/advisories/24909 No Types Assigned http://secunia.com/advisories/24909 Not Applicable
    Changed Reference Type http://secunia.com/advisories/25057 No Types Assigned http://secunia.com/advisories/25057 Not Applicable
    Changed Reference Type http://secunia.com/advisories/25062 No Types Assigned http://secunia.com/advisories/25062 Not Applicable
    Changed Reference Type http://secunia.com/advisories/27037 No Types Assigned http://secunia.com/advisories/27037 Not Applicable
    Changed Reference Type http://secunia.com/advisories/27102 No Types Assigned http://secunia.com/advisories/27102 Not Applicable
    Changed Reference Type http://secunia.com/advisories/27110 No Types Assigned http://secunia.com/advisories/27110 Not Applicable
    Changed Reference Type http://www.debian.org/security/2007/dsa-1283 No Types Assigned http://www.debian.org/security/2007/dsa-1283 Third Party Advisory
    Changed Reference Type http://www.gentoo.org/security/en/glsa/glsa-200710-02.xml No Types Assigned http://www.gentoo.org/security/en/glsa/glsa-200710-02.xml Third Party Advisory
    Changed Reference Type http://www.mandriva.com/security/advisories?name=MDKSA-2007:088 No Types Assigned http://www.mandriva.com/security/advisories?name=MDKSA-2007:088 Broken Link
    Changed Reference Type http://www.mandriva.com/security/advisories?name=MDKSA-2007:089 No Types Assigned http://www.mandriva.com/security/advisories?name=MDKSA-2007:089 Broken Link
    Changed Reference Type http://www.php.net/releases/5_2_1.php Patch http://www.php.net/releases/5_2_1.php Release Notes, Vendor Advisory
    Changed Reference Type http://www.php.net/releases/5_2_3.php No Types Assigned http://www.php.net/releases/5_2_3.php Release Notes, Vendor Advisory
    Changed Reference Type http://www.php-security.org/MOPB/MOPB-41-2007.html Vendor Advisory http://www.php-security.org/MOPB/MOPB-41-2007.html Broken Link, Vendor Advisory
    Changed Reference Type http://www.securityfocus.com/bid/23235 No Types Assigned http://www.securityfocus.com/bid/23235 Third Party Advisory, VDB Entry
    Changed Reference Type http://www.ubuntu.com/usn/usn-455-1 No Types Assigned http://www.ubuntu.com/usn/usn-455-1 Third Party Advisory
    Changed Reference Type http://www.vupen.com/english/advisories/2007/2016 No Types Assigned http://www.vupen.com/english/advisories/2007/2016 Permissions Required
    Changed Reference Type http://www.vupen.com/english/advisories/2007/3386 No Types Assigned http://www.vupen.com/english/advisories/2007/3386 Permissions Required
    Changed Reference Type https://exchange.xforce.ibmcloud.com/vulnerabilities/33766 No Types Assigned https://exchange.xforce.ibmcloud.com/vulnerabilities/33766 Third Party Advisory, VDB Entry
    Changed Reference Type https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A5348 No Types Assigned https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A5348 Third Party Advisory
    Changed Reference Type https://www.redhat.com/archives/fedora-package-announce/2007-September/msg00397.html No Types Assigned https://www.redhat.com/archives/fedora-package-announce/2007-September/msg00397.html Mailing List, Third Party Advisory
    Removed CWE NIST NVD-CWE-Other
    Added CWE NIST CWE-120
    Changed CPE Configuration OR *cpe:2.3:a:php:php:4.0:*:*:*:*:*:*:* *cpe:2.3:a:php:php:4.0:beta1:*:*:*:*:*:* *cpe:2.3:a:php:php:4.0:beta2:*:*:*:*:*:* *cpe:2.3:a:php:php:4.0:beta3:*:*:*:*:*:* *cpe:2.3:a:php:php:4.0:beta4:*:*:*:*:*:* *cpe:2.3:a:php:php:4.0:beta_4_patch1:*:*:*:*:*:* *cpe:2.3:a:php:php:4.0:rc1:*:*:*:*:*:* *cpe:2.3:a:php:php:4.0:rc2:*:*:*:*:*:* *cpe:2.3:a:php:php:4.0.0:*:*:*:*:*:*:* *cpe:2.3:a:php:php:4.0.1:*:*:*:*:*:*:* *cpe:2.3:a:php:php:4.0.1:patch1:*:*:*:*:*:* *cpe:2.3:a:php:php:4.0.1:patch2:*:*:*:*:*:* *cpe:2.3:a:php:php:4.0.2:*:*:*:*:*:*:* *cpe:2.3:a:php:php:4.0.3:*:*:*:*:*:*:* *cpe:2.3:a:php:php:4.0.3:patch1:*:*:*:*:*:* *cpe:2.3:a:php:php:4.0.4:*:*:*:*:*:*:* *cpe:2.3:a:php:php:4.0.4:patch1:*:*:*:*:*:* *cpe:2.3:a:php:php:4.0.5:*:*:*:*:*:*:* *cpe:2.3:a:php:php:4.0.6:*:*:*:*:*:*:* *cpe:2.3:a:php:php:4.0.7:*:*:*:*:*:*:* *cpe:2.3:a:php:php:4.0.7:rc1:*:*:*:*:*:* *cpe:2.3:a:php:php:4.0.7:rc2:*:*:*:*:*:* *cpe:2.3:a:php:php:4.0.7:rc3:*:*:*:*:*:* *cpe:2.3:a:php:php:4.1.0:*:*:*:*:*:*:* *cpe:2.3:a:php:php:4.1.1:*:*:*:*:*:*:* *cpe:2.3:a:php:php:4.1.2:*:*:*:*:*:*:* *cpe:2.3:a:php:php:4.2:*:dev:*:*:*:*:* *cpe:2.3:a:php:php:4.2.0:*:*:*:*:*:*:* *cpe:2.3:a:php:php:4.2.1:*:*:*:*:*:*:* *cpe:2.3:a:php:php:4.2.2:*:*:*:*:*:*:* *cpe:2.3:a:php:php:4.2.3:*:*:*:*:*:*:* *cpe:2.3:a:php:php:4.3.0:*:*:*:*:*:*:* *cpe:2.3:a:php:php:4.3.1:*:*:*:*:*:*:* *cpe:2.3:a:php:php:4.3.2:*:*:*:*:*:*:* *cpe:2.3:a:php:php:4.3.3:*:*:*:*:*:*:* *cpe:2.3:a:php:php:4.3.4:*:*:*:*:*:*:* *cpe:2.3:a:php:php:4.3.5:*:*:*:*:*:*:* *cpe:2.3:a:php:php:4.3.6:*:*:*:*:*:*:* *cpe:2.3:a:php:php:4.3.7:*:*:*:*:*:*:* *cpe:2.3:a:php:php:4.3.8:*:*:*:*:*:*:* *cpe:2.3:a:php:php:4.3.9:*:*:*:*:*:*:* *cpe:2.3:a:php:php:4.3.10:*:*:*:*:*:*:* *cpe:2.3:a:php:php:4.3.11:*:*:*:*:*:*:* *cpe:2.3:a:php:php:4.4.0:*:*:*:*:*:*:* *cpe:2.3:a:php:php:4.4.1:*:*:*:*:*:*:* *cpe:2.3:a:php:php:4.4.2:*:*:*:*:*:*:* *cpe:2.3:a:php:php:4.4.3:*:*:*:*:*:*:* *cpe:2.3:a:php:php:4.4.4:*:*:*:*:*:*:* *cpe:2.3:a:php:php:5.0:rc1:*:*:*:*:*:* *cpe:2.3:a:php:php:5.0:rc2:*:*:*:*:*:* *cpe:2.3:a:php:php:5.0:rc3:*:*:*:*:*:* *cpe:2.3:a:php:php:5.0.0:*:*:*:*:*:*:* *cpe:2.3:a:php:php:5.0.0:beta1:*:*:*:*:*:* *cpe:2.3:a:php:php:5.0.0:beta2:*:*:*:*:*:* *cpe:2.3:a:php:php:5.0.0:beta3:*:*:*:*:*:* *cpe:2.3:a:php:php:5.0.0:beta4:*:*:*:*:*:* *cpe:2.3:a:php:php:5.0.0:rc1:*:*:*:*:*:* *cpe:2.3:a:php:php:5.0.0:rc2:*:*:*:*:*:* *cpe:2.3:a:php:php:5.0.0:rc3:*:*:*:*:*:* *cpe:2.3:a:php:php:5.0.1:*:*:*:*:*:*:* *cpe:2.3:a:php:php:5.0.2:*:*:*:*:*:*:* *cpe:2.3:a:php:php:5.0.3:*:*:*:*:*:*:* *cpe:2.3:a:php:php:5.0.4:*:*:*:*:*:*:* *cpe:2.3:a:php:php:5.0.5:*:*:*:*:*:*:* *cpe:2.3:a:php:php:5.1.0:*:*:*:*:*:*:* *cpe:2.3:a:php:php:5.1.1:*:*:*:*:*:*:* *cpe:2.3:a:php:php:5.1.2:*:*:*:*:*:*:* *cpe:2.3:a:php:php:5.1.3:*:*:*:*:*:*:* *cpe:2.3:a:php:php:5.1.4:*:*:*:*:*:*:* *cpe:2.3:a:php:php:5.1.5:*:*:*:*:*:*:* *cpe:2.3:a:php:php:5.1.6:*:*:*:*:*:*:* *cpe:2.3:a:php:php:5.2.0:*:*:*:*:*:*:* OR *cpe:2.3:a:php:php:*:*:*:*:*:*:*:* versions from (including) 4.0 up to (excluding) 4.4.5 *cpe:2.3:a:php:php:*:*:*:*:*:*:*:* versions from (including) 5.0.0 up to (excluding) 5.2.3
    Added CPE Configuration 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:*:*:*:*:*:*:*
    Added CPE Configuration OR *cpe:2.3:o:debian:debian_linux:4.0:*:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Oct. 30, 2018

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:php:php:5.1:*:*:*:*:*:*:* OR *cpe:2.3:a:php:php:5.1.0:*:*:*:*:*:*:*
  • CPE Deprecation Remap by [email protected]

    Oct. 30, 2018

    Action Type Old Value New Value
    Changed CPE Configuration OR *cpe:2.3:a:php:php:4.3:*:*:*:*:*:*:* OR *cpe:2.3:a:php:php:4.3.0:*:*:*:*:*:*:*
  • CVE Modified by [email protected]

    Oct. 11, 2017

    Action Type Old Value New Value
    Removed Reference http://oval.mitre.org/repository/data/getDef?id=oval:org.mitre.oval:def:5348 [No Types Assigned]
    Added Reference https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A5348 [No Types Assigned]
  • CVE Modified by [email protected]

    Jul. 29, 2017

    Action Type Old Value New Value
    Removed Reference http://xforce.iss.net/xforce/xfdb/33766 [No Types Assigned]
    Added Reference https://exchange.xforce.ibmcloud.com/vulnerabilities/33766 [No Types Assigned]
  • Initial Analysis by [email protected]

    Apr. 10, 2007

    Action Type Old Value New Value
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2007-1887 is associated with the following CWEs:

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

1.07 }} 0.31%

score

0.82568

percentile

CVSS2 - Vulnerability Scoring System
Access Vector
Access Complexity
Authentication
Confidentiality
Integrity
Availability