nday
CVE-2008-5416

SQL Server:buffer overflow / out-of-bounds write標題由 nday 產生;CVE 紀錄未附標題。

揭露 7 天後出現公開 PoC。nday 尚未取得修補依據,不能據此認為沒有修補。4 個 PoC 來源中有 2 個收錄:exploitdb 與 metasploit。目前未列入 CISA KEV。

tags weakness typebuffer overflow / out-of-bounds write accessnetwork exploitationMetasploitExploit-DB productSQL Server product typedatabase
why these tags

nday derives these tags by fixed rules from the facts below; NVD, the CNA and other sources do not assign them. Vocabulary and rules: ~/tags.

network
AV:N in AV:N/AC:L/Au:S/C:C/I:C/A:C (CVSS 2.0) from NVD's analysts
Metasploit
Metasploit modules exploit/windows/mssql/ms09_004_sp_replwritetovarbin、exploit/windows/mssql/ms09_004_sp_replwritetovarbin_sqli
Exploit-DB
Exploit-DB entries 16392、16396、7501
SQL Server
CPE names NVD's analysts give as vulnerable: a:microsoft:sql_server
database
CPE names NVD's analysts give as vulnerable: a:microsoft:sql_serverthe product type of SQL Server in nday's product registry

CVSS 2.0 has no user-interaction metric, so “no user interaction” and “remote, unauthenticated” are never assigned from a CVSS 2.0 vector.

目前階段
POC
揭露時間
揭露 → 公開 PoC
T+7d POC 僅有日期
CVSS
暫無評分

生命週期

橫軸 UTC;點=精確到分鐘,寬條=僅日期,空心=不明或推斷。
時間不明
DIS揭露
2008-12-10T13:33Z
PAT修補
尚無紀錄
ANA分析
尚無紀錄
POCPoC
2008-12-17 僅日期 另 2 筆
metasploit
ITW遭利用
尚無紀錄
KEVKEV
尚無紀錄

摘要

Heap-based buffer overflow in Microsoft SQL Server 2000 SP4, 8.00.2050, 8.00.2039, and earlier; SQL Server 2000 Desktop Engine (MSDE 2000) SP4; SQL Server 2005 SP2 and 9.00.1399.06; SQL Server 2000 Desktop Engine (WMSDE) on Windows Server 2003 SP1 and SP2; and Windows Internal Database (WYukon) SP2 allows remote authenticated users to cause a denial of service (access violation exception) or execute arbitrary code by calling the sp_replwritetovarbin extended stored procedure with a set of invalid parameters that trigger memory overwrite, aka "SQL Server sp_replwritetovarbin Limited Memory Overwrite Vulnerability."

Original text of the CVE record (cvelist), shown as published.

事件紀錄

+DIS揭露

CVE 紀錄由 mitre 發布。

來源 cvelist · nday 於 批次匯入 · 原始
{
  "id": 107420,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2008-5416",
  "occurred_at": "2008-12-10T13:33:00Z",
  "observed_at": "2026-11-13T05:35:56.686477Z",
  "is_backfill": true,
  "dedupe_key": "",
  "detail": {
    "state": "PUBLISHED",
    "date_published": "2008-12-10T13:33:00.000Z",
    "assigner_short_name": "mitre"
  }
}
2008-12-17僅日期,由來源提供
+POC公開 PoC

Exploit-DB 收錄了公開的漏洞利用程式碼「Microsoft SQL Server - 'sp_replwritetovarbin()' Heap Overflow」(EDB-7501)。Exploit-DB 已驗證此程式碼。

來源 exploitdb 7501 · nday 於 批次匯入 · 原始
{
  "id": 45682,
  "type": "poc_published",
  "source": "exploitdb",
  "url": "https://www.exploit-db.com/exploits/7501",
  "occurred_at": "2008-12-17T00:00:00Z",
  "observed_at": "2026-11-12T15:24:40.221206Z",
  "is_backfill": true,
  "dedupe_key": "7501",
  "detail": {
    "url": "https://www.exploit-db.com/exploits/7501",
    "file": "exploits/windows/local/7501.asp",
    "kind": "exploit",
    "tags": [],
    "type": "local",
    "title": "Microsoft SQL Server - 'sp_replwritetovarbin()' Heap Overflow",
    "author": "Guido Landi",
    "edb_id": 7501,
    "cve_ids": [
      "CVE-2008-5416",
      "CVE-2008-4270"
    ],
    "platform": "windows",
    "verified": true,
    "precision": "day",
    "confidence": "curated",
    "date_added": "2008-12-16",
    "date_updated": null,
    "date_published": "2008-12-17"
  }
}
2011-01-24僅日期,由來源提供
+POC公開 PoC

Exploit-DB 收錄了公開的漏洞利用程式碼「Microsoft SQL Server - sp_replwritetovarbin Memory Corruption (MS09-004) (Metasploit)」(EDB-16392)。Exploit-DB 已驗證此程式碼。

來源 exploitdb 16392 · nday 於 批次匯入 · 原始
{
  "id": 47951,
  "type": "poc_published",
  "source": "exploitdb",
  "url": "https://www.exploit-db.com/exploits/16392",
  "occurred_at": "2011-01-24T00:00:00Z",
  "observed_at": "2026-11-12T15:24:40.221206Z",
  "is_backfill": true,
  "dedupe_key": "16392",
  "detail": {
    "url": "https://www.exploit-db.com/exploits/16392",
    "file": "exploits/windows/remote/16392.rb",
    "kind": "exploit",
    "tags": [
      "Metasploit Framework (MSF)"
    ],
    "type": "remote",
    "title": "Microsoft SQL Server - sp_replwritetovarbin Memory Corruption (MS09-004) (Metasploit)",
    "author": "Metasploit",
    "edb_id": 16392,
    "cve_ids": [
      "CVE-2008-5416"
    ],
    "platform": "windows",
    "verified": true,
    "precision": "day",
    "confidence": "curated",
    "date_added": "2011-01-24",
    "date_updated": "2011-03-09",
    "date_published": "2011-01-24"
  }
}
2011-02-08僅日期,由來源提供
+POC公開 PoC

Exploit-DB 收錄了公開的漏洞利用程式碼「Microsoft SQL Server - sp_replwritetovarbin Memory Corruption (MS09-004) (via SQL Injection) (Metasploit)」(EDB-16396)。Exploit-DB 已驗證此程式碼。

來源 exploitdb 16396 · nday 於 批次匯入 · 原始
{
  "id": 47952,
  "type": "poc_published",
  "source": "exploitdb",
  "url": "https://www.exploit-db.com/exploits/16396",
  "occurred_at": "2011-02-08T00:00:00Z",
  "observed_at": "2026-11-12T15:24:40.221206Z",
  "is_backfill": true,
  "dedupe_key": "16396",
  "detail": {
    "url": "https://www.exploit-db.com/exploits/16396",
    "file": "exploits/windows/remote/16396.rb",
    "kind": "exploit",
    "tags": [
      "Metasploit Framework (MSF)"
    ],
    "type": "remote",
    "title": "Microsoft SQL Server - sp_replwritetovarbin Memory Corruption (MS09-004) (via SQL Injection) (Metasploit)",
    "author": "Metasploit",
    "edb_id": 16396,
    "cve_ids": [
      "CVE-2008-5416"
    ],
    "platform": "windows",
    "verified": true,
    "precision": "day",
    "confidence": "curated",
    "date_added": "2011-02-08",
    "date_updated": "2011-03-10",
    "date_published": "2011-02-08"
  }
}
時間不明來源未提供時間
+POC公開 PoC

Metasploit 已有模組 exploit/windows/mssql/ms09_004_sp_replwritetovarbin(MS09-004 Microsoft SQL Server sp_replwritetovarbin Memory Corruption)。來源未提供模組的釋出時間。

來源 metasploit exploit/windows/mssql/ms09_004_sp_replwritetovarbin · nday 於 批次匯入 · 原始
{
  "id": 52908,
  "type": "poc_published",
  "source": "metasploit",
  "url": "https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/windows/mssql/ms09_004_sp_replwritetovarbin.rb",
  "occurred_at": null,
  "observed_at": "2026-11-12T15:24:51.477477Z",
  "is_backfill": true,
  "dedupe_key": "exploit/windows/mssql/ms09_004_sp_replwritetovarbin",
  "detail": {
    "url": "https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/windows/mssql/ms09_004_sp_replwritetovarbin.rb",
    "kind": "msf_module",
    "path": "/modules/exploits/windows/mssql/ms09_004_sp_replwritetovarbin.rb",
    "rank": 400,
    "check": true,
    "title": "MS09-004 Microsoft SQL Server sp_replwritetovarbin Memory Corruption",
    "cve_ids": [
      "CVE-2008-5416"
    ],
    "fullname": "exploit/windows/mssql/ms09_004_sp_replwritetovarbin",
    "rank_name": "good",
    "confidence": "curated",
    "module_type": "exploit",
    "module_last_modified": "2026-04-22 11:58:58 +0000",
    "vuln_disclosure_date": "2008-12-09"
  }
}
時間不明來源未提供時間
+POC公開 PoC

Metasploit 已有模組 exploit/windows/mssql/ms09_004_sp_replwritetovarbin_sqli(MS09-004 Microsoft SQL Server sp_replwritetovarbin Memory Corruption via SQL Injection)。來源未提供模組的釋出時間。

來源 metasploit exploit/windows/mssql/ms09_004_sp_replwritetovarbin_sqli · nday 於 批次匯入 · 原始
{
  "id": 52909,
  "type": "poc_published",
  "source": "metasploit",
  "url": "https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/windows/mssql/ms09_004_sp_replwritetovarbin_sqli.rb",
  "occurred_at": null,
  "observed_at": "2026-11-12T15:24:51.477477Z",
  "is_backfill": true,
  "dedupe_key": "exploit/windows/mssql/ms09_004_sp_replwritetovarbin_sqli",
  "detail": {
    "url": "https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/windows/mssql/ms09_004_sp_replwritetovarbin_sqli.rb",
    "kind": "msf_module",
    "path": "/modules/exploits/windows/mssql/ms09_004_sp_replwritetovarbin_sqli.rb",
    "rank": 600,
    "check": true,
    "title": "MS09-004 Microsoft SQL Server sp_replwritetovarbin Memory Corruption via SQL Injection",
    "cve_ids": [
      "CVE-2008-5416"
    ],
    "fullname": "exploit/windows/mssql/ms09_004_sp_replwritetovarbin_sqli",
    "rank_name": "excellent",
    "confidence": "curated",
    "module_type": "exploit",
    "module_last_modified": "2026-04-22 11:58:58 +0000",
    "vuln_disclosure_date": "2008-12-09"
  }
}

Report an error

report an error or omission

Something on this page wrong or missing? Tell the editors; if they accept it, this page's revision log says so publicly. Upstream data is not changed.

研究員討論

近 7 天有 0 位研究員提及

名單內研究員在 X 上提及此 CVE 的貼文,照原文呈現,nday 不查核。

尚未收錄名單內研究員在 X 上提及此 CVE 的貼文。

Discussion

0 comments

No comments yet.