Firebird SQL Server 2.0.0.12748/2.0.1.12855 isc_attach_database memory corruption
CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
---|---|---|
9.0 | $0-$5k | 0.00 |
A vulnerability, which was classified as very critical, has been found in Firebird SQL Server 2.0.0.12748/2.0.1.12855 (Database Software). This issue affects the function isc_attach_database
. The manipulation with an unknown input leads to a memory corruption vulnerability. Using CWE to declare the problem leads to CWE-119. The product performs operations on a memory buffer, but it can read from or write to a memory location that is outside of the intended boundary of the buffer. Impacted is confidentiality, integrity, and availability. The summary by CVE is:
Multiple stack-based buffer overflows in Firebird LI 2.0.0.12748 and 2.0.1.12855, and WI 2.0.0.12748 and 2.0.1.12855, allow remote attackers to execute arbitrary code via (1) a long attach request on TCP port 3050 to the isc_attach_database function or (2) a long create request on TCP port 3050 to the isc_create_database function.
The bug was discovered 10/03/2007. The weakness was disclosed 10/06/2007 by Adriano Lima with RISE Security (Website). It is possible to read the advisory at vupen.com. The identification of this vulnerability is CVE-2007-5246 since 10/06/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 as well as a public exploit are known. The pricing for an exploit might be around USD $0-$5k at the moment (estimation calculated on 07/08/2019).
A public exploit has been developed in Ruby. The exploit is available at securityfocus.com. It is declared as proof-of-concept. The vulnerability was handled as a non-public zero-day exploit for at least 1 days. During that time the estimated underground price was around $0-$5k. The vulnerability scanner Nessus provides a plugin with the ID 26937 (FreeBSD : firebird -- multiple remote buffer overflow vulnerabilities (91ed69f9-72c7-11dc-981a-001921ab2fa4)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family FreeBSD Local Security Checks and running in the context l.
Applying a patch is able to eliminate this problem. A possible mitigation has been published before and not just after the disclosure of the vulnerability.
The vulnerability is also documented in the databases at X-Force (36958) and Tenable (26937).
Product
Type
Vendor
Name
Version
License
CPE 2.3
CPE 2.2
CVSSv4
VulDB CVSS-B Score: 🔍VulDB CVSS-BT Score: 🔍
VulDB Vector: 🔍
VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 10.0VulDB Meta Temp Score: 9.0
VulDB Base Score: 10.0
VulDB Temp Score: 9.0
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: Memory corruptionCWE: CWE-119
CAPEC: 🔍
ATT&CK: 🔍
Local: No
Remote: Yes
Availability: 🔍
Access: Public
Status: Proof-of-Concept
Programming Language: 🔍
Download: 🔍
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
0-Day | unlock | unlock | unlock | unlock |
---|---|---|---|---|
Today | unlock | unlock | unlock | unlock |
Nessus ID: 26937
Nessus Name: FreeBSD : firebird -- multiple remote buffer overflow vulnerabilities (91ed69f9-72c7-11dc-981a-001921ab2fa4)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Context: 🔍
OpenVAS ID: 59968
OpenVAS Name: Gentoo Security Advisory GLSA 200712-06 (firebird)
OpenVAS File: 🔍
OpenVAS Family: 🔍
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: PatchStatus: 🔍
0-Day Time: 🔍
Timeline
10/03/2007 🔍10/03/2007 🔍
10/04/2007 🔍
10/04/2007 🔍
10/05/2007 🔍
10/06/2007 🔍
10/06/2007 🔍
10/06/2007 🔍
10/09/2007 🔍
03/16/2015 🔍
07/08/2019 🔍
Sources
Advisory: vupen.com⛔Researcher: Adriano Lima
Organization: RISE Security
Status: Confirmed
Confirmation: 🔍
CVE: CVE-2007-5246 (🔍)
X-Force: 36958 - Firebird isc_attach_database() and isc_create_database() buffer overflow
SecurityTracker: 1018773
SecurityFocus: 25917 - Borland InterBase Multiple Remote Buffer Overflow Vulnerabilities
Secunia: 27057 - Firebird 2 Multiple Buffer Overflow Vulnerabilities, Moderately Critical
OSVDB: 45541 - Firebird isc_attach_database() and isc_create_database() buffer overflow
Vupen: ADV-2007-3379
scip Labs: https://www.scip.ch/en/?labs.20161013
Entry
Created: 03/16/2015 12:18Updated: 07/08/2019 11:30
Changes: 03/16/2015 12:18 (82), 07/08/2019 11:30 (6)
Complete: 🔍
Cache ID: 18:8BF:103
No comments yet. Languages: en.
Please log in to comment.