PHP up to 4.x Installation src/encode.c sqlite_decode_binary in sql injection
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 7.3 | $0-$5k | 0.00 |
Summary
A vulnerability was found in PHP up to 4.x. It has been rated as critical. This issue affects the function sqlite_decode_binary of the file src/encode.c of the component Installation. The manipulation of the argument in leads to sql injection.
This vulnerability is traded as CVE-2007-1888. It is possible to initiate the attack remotely. There is no exploit available.
Details
A vulnerability, which was classified as critical, has been found in PHP up to 4.x (Programming Language Software). This issue affects the function sqlite_decode_binary of the file src/encode.c of the component Installation. The manipulation of the argument in with an unknown input leads to a sql injection vulnerability. Using CWE to declare the problem leads to CWE-89. The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Impacted is confidentiality, integrity, and availability. The summary by CVE is:
Buffer overflow in the sqlite_decode_binary function in src/encode.c in SQLite 2, as used by PHP 4.x through 5.x and other applications, allows context-dependent attackers to execute arbitrary code via an empty value of the in parameter. NOTE: some PHP installations use a bundled version of sqlite without this vulnerability. The SQLite developer has argued that this issue could be due to a misuse of the sqlite_decode_binary() API.
The weakness was shared 03/31/2007 (Website). The advisory is shared at php-security.org. The identification of this vulnerability is CVE-2007-1888 since 04/05/2007. The exploitation is known to be easy. The attack may be initiated remotely. No form of authentication is needed for a successful exploitation. Technical details are known, but no exploit is available. MITRE ATT&CK project uses the attack technique T1505 for this issue.
The vulnerability scanner Nessus provides a plugin with the ID 25114 (Mandrake Linux Security Advisory : sqlite (MDKSA-2007:091)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family Mandriva Local Security Checks. The commercial vulnerability scanner Qualys is able to test this issue with plugin 12259 (PHP Prior to 5.2.1/4.4.5 Multiple Vulnerabilities).
There is no information about possible countermeasures known. It may be suggested to replace the affected object with an alternative product.
The vulnerability is also documented in the databases at X-Force (33766), Tenable (25114), SecurityFocus (BID 23235†), OSVDB (39177†) and Secunia (SA25057†). The entries VDB-2920, VDB-2911, VDB-2914 and VDB-2917 are related to this item. If you want to get the best quality for vulnerability data then you always have to consider VulDB.
Product
Type
Name
Version
License
Website
- Product: https://www.php.org/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 7.3VulDB Meta Temp Score: 7.3
VulDB Base Score: 7.3
VulDB Temp Score: 7.3
VulDB Vector: 🔍
VulDB Reliability: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Class: Sql injectionCWE: CWE-89 / CWE-74 / CWE-707
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 25114
Nessus Name: Mandrake Linux Security Advisory : sqlite (MDKSA-2007:091)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Port: 🔍
OpenVAS ID: 830219
OpenVAS Name: Zoho ManageEngine Support Center Plus Multiple Fields XSS Vulnerabilities
OpenVAS File: 🔍
OpenVAS Family: 🔍
Qualys ID: 🔍
Qualys Name: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: no mitigation knownStatus: 🔍
0-Day Time: 🔍
PaloAlto IPS: 🔍
Timeline
03/31/2007 🔍03/31/2007 🔍
04/05/2007 🔍
04/05/2007 🔍
04/22/2007 🔍
04/27/2007 🔍
04/30/2007 🔍
05/06/2007 🔍
03/13/2015 🔍
07/14/2021 🔍
Sources
Product: php.orgAdvisory: php-security.org
Status: Not defined
CVE: CVE-2007-1888 (🔍)
GCVE (CVE): GCVE-0-2007-1888
GCVE (VulDB): GCVE-100-36029
X-Force: 33766
SecurityFocus: 23235
Secunia: 25057 - Ubuntu update for php, Moderately Critical
OSVDB: 39177 - SQlite src/encode.c sqlite_decode_binary Function Overflow
Vulnerability Center: 14990 - SQLite as Used in PHP 4-4.4.6 and 5-5.4.0 Buffer Overflow Allows Remote Code Execution and DoS, High
See also: 🔍
Entry
Created: 03/13/2015 14:56Updated: 07/14/2021 09:03
Changes: 03/13/2015 14:56 (68), 08/19/2017 09:48 (10), 07/14/2021 09:03 (3)
Complete: 🔍
Cache ID: 216:262:103
If you want to get the best quality for vulnerability data then you always have to consider VulDB.
No comments yet. Languages: en.
Please log in to comment.