nday
CVE-2008-5416

SQL Server : buffer overflow / out-of-bounds writeTitre composé par nday ; la fiche CVE n’en comporte pas.

Preuve de concept publique parue 7 jours après la divulgation. nday n’a encore aucune trace de correctif ; cela ne veut pas dire qu’il n’en existe pas. Cette vulnérabilité figure dans 2 des 4 sources de PoC : exploitdb et metasploit. Aucune inscription au catalogue KEV de la CISA à ce jour.

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.

étape actuelle
POC
divulgation
délai avant PoC
T+7d POC : date seule
CVSS
pas encore de score

Cycle de vie

Axe en UTC ; point = minute exacte, barre large = date seule, creux = inconnue ou déduite.
date inconnue
DISdivulguée
2008-12-10T13:33Z
PATcorrectif
aucune donnée
ANAanalyse
aucune donnée
POCPoC
2008-12-17, date seule +2 autres
metasploit
ITWexploitée
aucune donnée
KEVKEV
aucune donnée

Résumé

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.

Journal des événements

+DISdivulgation

Fiche CVE publiée par mitre.

source cvelist · importé en masse par nday le · brut
{
  "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-17date seule, selon la source
+POCPoC publique

Exploit-DB recense un code d’exploitation public : « Microsoft SQL Server - 'sp_replwritetovarbin()' Heap Overflow » (EDB-7501). Code vérifié par Exploit-DB.

source exploitdb 7501 · importé en masse par nday le · brut
{
  "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-24date seule, selon la source
+POCPoC publique

Exploit-DB recense un code d’exploitation public : « Microsoft SQL Server - sp_replwritetovarbin Memory Corruption (MS09-004) (Metasploit) » (EDB-16392). Code vérifié par Exploit-DB.

source exploitdb 16392 · importé en masse par nday le · brut
{
  "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-08date seule, selon la source
+POCPoC publique

Exploit-DB recense un code d’exploitation public : « Microsoft SQL Server - sp_replwritetovarbin Memory Corruption (MS09-004) (via SQL Injection) (Metasploit) » (EDB-16396). Code vérifié par Exploit-DB.

source exploitdb 16396 · importé en masse par nday le · brut
{
  "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"
  }
}
date inconnuela source ne donne aucune date
+POCPoC publique

Metasploit propose le module exploit/windows/mssql/ms09_004_sp_replwritetovarbin (« MS09-004 Microsoft SQL Server sp_replwritetovarbin Memory Corruption »). La source n’indique pas la date de publication du module.

source metasploit exploit/windows/mssql/ms09_004_sp_replwritetovarbin · importé en masse par nday le · brut
{
  "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"
  }
}
date inconnuela source ne donne aucune date
+POCPoC publique

Metasploit propose le module exploit/windows/mssql/ms09_004_sp_replwritetovarbin_sqli (« MS09-004 Microsoft SQL Server sp_replwritetovarbin Memory Corruption via SQL Injection »). La source n’indique pas la date de publication du module.

source metasploit exploit/windows/mssql/ms09_004_sp_replwritetovarbin_sqli · importé en masse par nday le · brut
{
  "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.

Échanges entre chercheurs

0 chercheur en a parlé ces 7 derniers jours

Publications sur X de chercheurs suivis par nday citant cette CVE, telles que publiées. nday ne les vérifie pas.

nday n’a encore recueilli aucune publication sur X d’un chercheur de sa liste citant cette CVE.

Discussion

0 comments

No comments yet.