nday
CVE-2009-4142

PHP:XSS標題由 nday 產生;CVE 紀錄未附標題。

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

tags weakness typeXSS accessnetworkno authentication required exploitationExploit-DB productPHP product typeopen-source library / framework
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.

XSS
CWE-79, stated by NVD's analysts
network
AV:N in AV:N/AC:M/Au:N/C:N/I:P/A:N (CVSS 2.0) from NVD's analysts
no authentication required
Au:N in AV:N/AC:M/Au:N/C:N/I:P/A:N (CVSS 2.0) from NVD's analysts
Exploit-DB
Exploit-DB entries 33414、33415
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
揭露時間
CVSS
暫無評分

生命週期

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

摘要

The htmlspecialchars function in PHP before 5.2.12 does not properly handle (1) overlong UTF-8 sequences, (2) invalid Shift_JIS sequences, and (3) invalid EUC-JP sequences, which allows remote attackers to conduct cross-site scripting (XSS) attacks by placing a crafted byte sequence before a special character.

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

事件紀錄

2009-12-17僅日期,由來源提供
+POC公開 PoC

Exploit-DB 收錄了公開的漏洞利用程式碼「PHP 5.2.11 - 'htmlspecialCharacters()' Malformed Multibyte Character Cross-Site Scripting (XSS) (1)」(EDB-33414)。Exploit-DB 已驗證此程式碼。

來源 exploitdb 33414 · nday 於 批次匯入 · 原始
{
  "id": 28748,
  "type": "poc_published",
  "source": "exploitdb",
  "url": "https://www.exploit-db.com/exploits/33414",
  "occurred_at": "2009-12-17T00:00:00Z",
  "observed_at": "2026-11-12T15:24:40.221206Z",
  "is_backfill": true,
  "dedupe_key": "33414",
  "detail": {
    "url": "https://www.exploit-db.com/exploits/33414",
    "file": "exploits/php/remote/33414.txt",
    "kind": "exploit",
    "tags": [],
    "type": "remote",
    "title": "PHP 5.2.11 - 'htmlspecialCharacters()' Malformed Multibyte Character Cross-Site Scripting (XSS) (1)",
    "author": "[email protected]",
    "edb_id": 33414,
    "cve_ids": [
      "CVE-2009-4142"
    ],
    "platform": "php",
    "verified": true,
    "precision": "day",
    "confidence": "curated",
    "date_added": "2009-12-17",
    "date_updated": "2014-05-19",
    "date_published": "2009-12-17"
  }
}
2009-12-17僅日期,由來源提供
+POC公開 PoC

Exploit-DB 收錄了公開的漏洞利用程式碼「PHP 5.2.11 - 'htmlspecialCharacters()' Malformed Multibyte Character Cross-Site Scripting (XSS) (2)」(EDB-33415)。Exploit-DB 已驗證此程式碼。

來源 exploitdb 33415 · nday 於 批次匯入 · 原始
{
  "id": 28749,
  "type": "poc_published",
  "source": "exploitdb",
  "url": "https://www.exploit-db.com/exploits/33415",
  "occurred_at": "2009-12-17T00:00:00Z",
  "observed_at": "2026-11-12T15:24:40.221206Z",
  "is_backfill": true,
  "dedupe_key": "33415",
  "detail": {
    "url": "https://www.exploit-db.com/exploits/33415",
    "file": "exploits/php/remote/33415.txt",
    "kind": "exploit",
    "tags": [],
    "type": "remote",
    "title": "PHP 5.2.11 - 'htmlspecialCharacters()' Malformed Multibyte Character Cross-Site Scripting (XSS) (2)",
    "author": "[email protected]",
    "edb_id": 33415,
    "cve_ids": [
      "CVE-2009-4142"
    ],
    "platform": "php",
    "verified": true,
    "precision": "day",
    "confidence": "curated",
    "date_added": "2009-12-17",
    "date_updated": "2014-05-19",
    "date_published": "2009-12-17"
  }
}
+DIS揭露

CVE 紀錄由 redhat 發布。

來源 cvelist · nday 於 批次匯入 · 原始
{
  "id": 113326,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2009-4142",
  "occurred_at": "2009-12-21T16:00:00Z",
  "observed_at": "2026-11-13T05:36:00.493274Z",
  "is_backfill": true,
  "dedupe_key": "",
  "detail": {
    "state": "PUBLISHED",
    "date_published": "2009-12-21T16:00:00.000Z",
    "assigner_short_name": "redhat"
  }
}

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.