CVEdetails.com the ultimate security vulnerability data source
(e.g.: CVE-2009-1234 or 2010-1234 or 20101234)
Log In   Register
Vulnerability Feeds & WidgetsNew   www.itsecdb.com  

Vulnerability Details : CVE-2013-2492

Stack-based buffer overflow in Firebird 2.1.3 through 2.1.5 before 18514, and 2.5.1 through 2.5.3 before 26623, on Windows allows remote attackers to execute arbitrary code via a crafted packet to TCP port 3050, related to a missing size check during extraction of a group number from CNCT information.
Publish Date : 2013-03-15 Last Update Date : 2016-12-06
Search Twitter   Search YouTube   Search Google

- CVSS Scores & Vulnerability Types

CVSS Score
6.8
Confidentiality Impact Partial (There is considerable informational disclosure.)
Integrity Impact Partial (Modification of some system files or information is possible, but the attacker does not have control over what can be modified, or the scope of what the attacker can affect is limited.)
Availability Impact Partial (There is reduced performance or interruptions in resource availability.)
Access Complexity Medium (The access conditions are somewhat specialized. Some preconditions must be satistified to exploit)
Authentication Not required (Authentication is not required to exploit the vulnerability.)
Gained Access None
Vulnerability Type(s) Execute CodeOverflow
CWE ID 119

- Related OVAL Definitions

Title Definition Id Class Family
DSA-2647-1 firebird2.1 - buffer overflow oval:org.mitre.oval:def:17927 unix
DSA-2648-1 firebird2.5 - several oval:org.mitre.oval:def:20049 unix
OVAL (Open Vulnerability and Assessment Language) definitions define exactly what should be done to verify a vulnerability or a missing patch. Check out the OVAL definitions if you want to learn what you should do to verify a vulnerability.

- Products Affected By CVE-2013-2492

# Product Type Vendor Product Version Update Edition Language
1 Application Firebirdsql Firebird 2.1.3 Version Details Vulnerabilities
2 Application Firebirdsql Firebird 2.1.4 Version Details Vulnerabilities
3 Application Firebirdsql Firebird 2.1.5 Version Details Vulnerabilities
4 Application Firebirdsql Firebird 2.5.1 Version Details Vulnerabilities
5 Application Firebirdsql Firebird 2.5.2 Version Details Vulnerabilities
6 Application Firebirdsql Firebird 2.5.3 Version Details Vulnerabilities

- Number Of Affected Versions By Product

Vendor Product Vulnerable Versions
Firebirdsql Firebird 6

- References For CVE-2013-2492

http://tracker.firebirdsql.org/browse/CORE-4058 CONFIRM
http://www.debian.org/security/2013/dsa-2648
DEBIAN DSA-2648
http://www.securityfocus.com/bid/58393
BID 58393 Firebird CVE-2013-2492 Remote Code Execution Vulnerability Release Date:2016-01-15
https://gist.github.com/zeroSteiner/85daef257831d904479c
http://www.debian.org/security/2013/dsa-2647
DEBIAN DSA-2647
https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/windows/misc/fb_cnct_group.rb
http://lists.opensuse.org/opensuse-security-announce/2013-03/msg00039.html
SUSE openSUSE-SU-2013:0504
http://lists.opensuse.org/opensuse-security-announce/2013-03/msg00036.html
SUSE openSUSE-SU-2013:0496
https://security.gentoo.org/glsa/201512-11
GENTOO GLSA-201512-11

- Vulnerability Conditions

Vulnerability is valid if product versions listed below are used TOGETHER WITH(AND)

- Metasploit Modules Related To CVE-2013-2492

Firebird Relational Database CNCT Group Number Buffer Overflow
This module exploits a vulnerability in Firebird SQL Server. A specially crafted packet can be sent which will overwrite a pointer allowing the attacker to control where data is read from. Shortly, following the controlled read, the pointer is called resulting in code execution. The vulnerability exists with a group number extracted from the CNCT information, which is sent by the client, and whose size is not properly checked. This module uses an existing call to memcpy, just prior to the vulnerable code, which allows a small amount of data to be written to the stack. A two-phases stack pivot allows to execute the ROP chain which ultimately is used to execute VirtualAlloc and bypass DEP.
Module type : exploit Rank : normal Platforms : Windows


CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site. OVAL is a registered trademark of The MITRE Corporation and the authoritative source of OVAL content is MITRE's OVAL web site.
Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.