CVE-2007-1887
What it is
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.
At a glance
- Exploitability
- Can be exploited over the network without logging in. Limited direct impact.
- Exploit odds
- 4.8% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 4.8% in the next 30 days (EPSS).
- Severity: 7.5 HIGH (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 4.8% · EPSS, next 30 days
- Weakness
- CWE-120 · Classic buffer overflow
- Record status
- Modified
Affected
- PHP < 4.4.5
- PHP < 5.2.3
- Canonical Ubuntu Linux 6.06
- Canonical Ubuntu Linux 6.10
- Canonical Ubuntu Linux 7.04
- Debian Linux 4.0
Attack profile CVSS 2.0 · 7.5
- Attack vector
- Network
- Complexity
- Low
- Authentication
- None
- Confidentiality
- Partial
- Integrity
- Partial
- Availability
- Partial
Raw vector
AV:N/AC:L/Au:N/C:P/I:P/A:P
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2007-1887.md and follow it. Check whether this project is affected by CVE-2007-1887. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- http://www.php-security.org/MOPB/MOPB-41-2007.html
- http://www.php.net/releases/5_2_1.php
- http://www.php.net/releases/5_2_3.php
- http://www.php-security.org/MOPB/MOPB-41-2007.html
- http://www.php.net/releases/5_2_1.php
- http://www.php.net/releases/5_2_3.php
References
- http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=c01178795
- http://secunia.com/advisories/24909
- http://secunia.com/advisories/25057
- http://secunia.com/advisories/25062
- http://secunia.com/advisories/27037
- http://secunia.com/advisories/27102
- http://secunia.com/advisories/27110
- http://www.debian.org/security/2007/dsa-1283
- http://www.gentoo.org/security/en/glsa/glsa-200710-02.xml
- http://www.mandriva.com/security/advisories?name=MDKSA-2007:088
- http://www.mandriva.com/security/advisories?name=MDKSA-2007:089
- http://www.php-security.org/MOPB/MOPB-41-2007.html
- http://www.php.net/releases/5_2_1.php
- http://www.php.net/releases/5_2_3.php
- http://www.securityfocus.com/bid/23235
- http://www.ubuntu.com/usn/usn-455-1
- http://www.vupen.com/english/advisories/2007/2016
- http://www.vupen.com/english/advisories/2007/3386
- https://exchange.xforce.ibmcloud.com/vulnerabilities/33766
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A5348
- https://www.redhat.com/archives/fedora-package-announce/2007-September/msg00397.html
- http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?objectID=c01178795
- http://secunia.com/advisories/24909
- http://secunia.com/advisories/25057
- http://secunia.com/advisories/25062