Firebird SQL Server 1.5.3.4870/1.5.4.4910 svc_attach memory corruption

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
9.0$0-$5k0.00

Summaryinfo

A vulnerability was found in Firebird SQL Server 1.5.3.4870/1.5.4.4910 and classified as critical. Affected by this issue is the function svc_attach. Executing a manipulation can lead to memory corruption. This vulnerability is handled as CVE-2007-5245. The attack can be executed remotely. Additionally, an exploit exists. It is suggested to upgrade the affected component.

Detailsinfo

A vulnerability classified as very critical was found in Firebird SQL Server 1.5.3.4870/1.5.4.4910 (Database Software). This vulnerability affects the function svc_attach. The manipulation with an unknown input leads to a memory corruption vulnerability. The CWE definition for the vulnerability is 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. As an impact it is known to affect confidentiality, integrity, and availability. CVE summarizes:

Multiple stack-based buffer overflows in Firebird LI 1.5.3.4870 and 1.5.4.4910, and WI 1.5.3.4870 and 1.5.4.4910, allow remote attackers to execute arbitrary code via (1) a long service attach request on TCP port 3050 to the SVC_attach function or (2) unspecified vectors involving the INET_connect function.

The weakness was released 10/06/2007 by Adriano Lima with RISE Security (Website). The advisory is available at vupen.com. This vulnerability was named CVE-2007-5245 since 10/06/2007. The exploitation appears to be easy. The attack can be initiated remotely. No form of authentication is required for a successful exploitation. Technical details and also a public exploit are known. The structure of the vulnerability defines a possible price range of USD $0-$5k at the moment (estimation calculated on 07/08/2019).

A public exploit has been developed in Ruby. It is possible to download the exploit at securityfocus.com. It is declared as proof-of-concept. 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.

Upgrading eliminates this vulnerability. A possible mitigation has been published before and not just after the disclosure of the vulnerability. Furthermore it is possible to detect and prevent this kind of attack with TippingPoint and the filter 8566.

The vulnerability is also documented in the databases at X-Force (36957), Tenable (26937), SecurityFocus (BID 25917†), OSVDB (41545†) and Secunia (SA27066†). Entries connected to this vulnerability are available at VDB-39107, VDB-39105, VDB-39104 and VDB-86082. If you want to get best quality of vulnerability data, you may have to visit VulDB.

Productinfo

Type

Vendor

Name

Version

License

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 10.0
VulDB Meta Temp Score: 9.0

VulDB Base Score: 10.0
VulDB Temp Score: 9.0
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍

Exploitinginfo

Class: Memory corruption
CWE: CWE-119
CAPEC: 🔍
ATT&CK: 🔍

Physical: No
Local: No
Remote: Yes

Availability: 🔍
Access: Public
Status: Proof-of-Concept
Programming Language: 🔍
Download: 🔍

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

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: 🔍
Nessus Port: 🔍

OpenVAS ID: 58789
OpenVAS Name: FreeBSD Ports: firebird-server
OpenVAS File: 🔍
OpenVAS Family: 🔍

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔍
TippingPoint: 🔍

McAfee IPS: 🔍
McAfee IPS Version: 🔍

ISS Proventia IPS: 🔍
PaloAlto IPS: 🔍
Fortigate IPS: 🔍

Timelineinfo

10/03/2007 🔍
10/04/2007 +1 days 🔍
10/05/2007 +1 days 🔍
10/06/2007 +1 days 🔍
10/06/2007 +0 days 🔍
10/06/2007 +0 days 🔍
10/06/2007 +0 days 🔍
10/09/2007 +3 days 🔍
10/16/2007 +7 days 🔍
03/16/2015 +2708 days 🔍
07/08/2019 +1575 days 🔍

Sourcesinfo

Advisory: vupen.com
Researcher: Adriano Lima
Organization: RISE Security
Status: Not defined

CVE: CVE-2007-5245 (🔍)
GCVE (CVE): GCVE-0-2007-5245
GCVE (VulDB): GCVE-100-39106
X-Force: 36957
SecurityFocus: 25917 - Borland InterBase Multiple Remote Buffer Overflow Vulnerabilities
Secunia: 27066 - Firebird 1 Multiple Buffer Overflow Vulnerabilities, Moderately Critical
OSVDB: 41545 - Firebird 1 INET_connect Function Unspecified Overflow
SecurityTracker: 1018773
Vulnerability Center: 16537 - Firebird and Interbase Multiple Stack-Based Buffer Overflow Remote Code Execution, High
Vupen: ADV-2007-3380

scip Labs: https://www.scip.ch/en/?labs.20161013
See also: 🔍

Entryinfo

Created: 03/16/2015 12:18
Updated: 07/08/2019 11:26
Changes: 03/16/2015 12:18 (75), 07/08/2019 11:26 (18)
Complete: 🔍
Cache ID: 216:E78:103

If you want to get best quality of vulnerability data, you may have to visit VulDB.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Want to stay up to date on a daily basis?

Enable the mail alert feature now!