nday
CVE-2004-1020

The addslashes function in PHP 4.3.9 does not properly escape a NULL (/0) character, which may…標題由 nday 產生;CVE 紀錄未附標題。

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

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:N/C:P/I:N/A:N (CVSS 2.0) from NVD's analysts
no authentication required
Au:N in AV:N/AC:L/Au:N/C:P/I:N/A:N (CVSS 2.0) from NVD's analysts
Exploit-DB
Exploit-DB entries 24985
PHP
CPE names NVD's analysts give as vulnerable: a:php:php
open-source library / framework
CPE names NVD's analysts give as vulnerable: a:php:phpthe product type of PHP 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+8d POC 僅有日期
CVSS
暫無評分

生命週期

橫軸 UTC;點=精確到分鐘,寬條=僅日期,空心=不明或推斷。
時間不明
DIS揭露
2004-12-08T05:00Z
PAT修補
尚無紀錄
ANA分析
尚無紀錄
POCPoC
2004-12-16 僅日期
ITW遭利用
尚無紀錄
KEVKEV
尚無紀錄

摘要

The addslashes function in PHP 4.3.9 does not properly escape a NULL (/0) character, which may allow remote attackers to read arbitrary files in PHP applications that contain a directory traversal vulnerability in require or include statements, but are otherwise protected by the magic_quotes_gpc mechanism. NOTE: this issue was originally REJECTed by its CNA before publication, but that decision is in active dispute. This candidate may change significantly in the future as a result of further discussion.

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

事件紀錄

+DIS揭露

CVE 紀錄由 mitre 發布。

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

Exploit-DB 收錄了公開的漏洞利用程式碼「PHP 4/5 - 'addslashes()' Null Byte Bypass」(EDB-24985)。Exploit-DB 已驗證此程式碼。

來源 exploitdb 24985 · nday 於 批次匯入 · 原始
{
  "id": 28738,
  "type": "poc_published",
  "source": "exploitdb",
  "url": "https://www.exploit-db.com/exploits/24985",
  "occurred_at": "2004-12-16T00:00:00Z",
  "observed_at": "2026-11-12T15:24:40.221206Z",
  "is_backfill": true,
  "dedupe_key": "24985",
  "detail": {
    "url": "https://www.exploit-db.com/exploits/24985",
    "file": "exploits/php/remote/24985.txt",
    "kind": "exploit",
    "tags": [],
    "type": "remote",
    "title": "PHP 4/5 - 'addslashes()' Null Byte Bypass",
    "author": "Daniel Fabian",
    "edb_id": 24985,
    "cve_ids": [
      "CVE-2004-1020"
    ],
    "platform": "php",
    "verified": true,
    "precision": "day",
    "confidence": "curated",
    "date_added": "2004-12-16",
    "date_updated": "2013-04-25",
    "date_published": "2004-12-16"
  }
}

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.