nday
CVE-2012-2311

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

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

tags weakness typeSQL injection 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.

SQL injection
CWE-89, stated by NVD's analysts
network
AV:N in AV:N/AC:L/Au:N/C:P/I:P/A:P (CVSS 2.0) from NVD's analysts
no authentication required
Au:N in AV:N/AC:L/Au:N/C:P/I:P/A:P (CVSS 2.0) from NVD's analysts
Exploit-DB
Exploit-DB entries 18834、18836、29290、29316
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揭露
2012-05-11T10:00Z
PAT修補
尚無紀錄
ANA分析
尚無紀錄
POCPoC
2012-05-04 僅日期 另 3 筆
ITW遭利用
尚無紀錄
KEVKEV
尚無紀錄

摘要

sapi/cgi/cgi_main.c in PHP before 5.3.13 and 5.4.x before 5.4.3, when configured as a CGI script (aka php-cgi), does not properly handle query strings that contain a %3D sequence but no = (equals sign) character, which allows remote attackers to execute arbitrary code by placing command-line options in the query string, related to lack of skipping a certain php_getopt for the 'd' case. NOTE: this vulnerability exists because of an incomplete fix for CVE-2012-1823.

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

事件紀錄

2012-05-04僅日期,由來源提供
+POC公開 PoC

Exploit-DB 收錄了公開的漏洞利用程式碼「PHP 5.3.12/5.4.2 - CGI Argument Injection (Metasploit)」(EDB-18834)。Exploit-DB 已驗證此程式碼。

來源 exploitdb 18834 · nday 於 批次匯入 · 原始
{
  "id": 28755,
  "type": "poc_published",
  "source": "exploitdb",
  "url": "https://www.exploit-db.com/exploits/18834",
  "occurred_at": "2012-05-04T00:00:00Z",
  "observed_at": "2026-11-12T15:24:40.221206Z",
  "is_backfill": true,
  "dedupe_key": "18834",
  "detail": {
    "url": "https://www.exploit-db.com/exploits/18834",
    "file": "exploits/php/remote/18834.rb",
    "kind": "exploit",
    "tags": [
      "Metasploit Framework (MSF)"
    ],
    "type": "remote",
    "title": "PHP 5.3.12/5.4.2 - CGI Argument Injection (Metasploit)",
    "author": "Metasploit",
    "edb_id": 18834,
    "cve_ids": [
      "CVE-2012-2336",
      "CVE-2012-2311",
      "CVE-2012-1823"
    ],
    "platform": "php",
    "verified": true,
    "precision": "day",
    "confidence": "curated",
    "date_added": "2012-05-05",
    "date_updated": "2016-12-01",
    "date_published": "2012-05-04"
  }
}
2012-05-05僅日期,由來源提供
+POC公開 PoC

Exploit-DB 收錄了公開的漏洞利用程式碼「PHP < 5.3.12 / < 5.4.2 - CGI Argument Injection」(EDB-18836)。Exploit-DB 已驗證此程式碼。

來源 exploitdb 18836 · nday 於 批次匯入 · 原始
{
  "id": 28765,
  "type": "poc_published",
  "source": "exploitdb",
  "url": "https://www.exploit-db.com/exploits/18836",
  "occurred_at": "2012-05-05T00:00:00Z",
  "observed_at": "2026-11-12T15:24:40.221206Z",
  "is_backfill": true,
  "dedupe_key": "18836",
  "detail": {
    "url": "https://www.exploit-db.com/exploits/18836",
    "file": "exploits/php/remote/18836.py",
    "kind": "exploit",
    "tags": [],
    "type": "remote",
    "title": "PHP < 5.3.12 / < 5.4.2 - CGI Argument Injection",
    "author": "rayh4c",
    "edb_id": 18836,
    "cve_ids": [
      "CVE-2012-2336",
      "CVE-2012-2311",
      "CVE-2012-1823"
    ],
    "platform": "php",
    "verified": true,
    "precision": "day",
    "confidence": "curated",
    "date_added": "2012-05-05",
    "date_updated": "2012-05-08",
    "date_published": "2012-05-05"
  }
}
+DIS揭露

CVE 紀錄由 redhat 發布。

來源 cvelist · nday 於 批次匯入 · 原始
{
  "id": 71890,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2012-2311",
  "occurred_at": "2012-05-11T10:00:00Z",
  "observed_at": "2026-11-13T05:04:30.424475Z",
  "is_backfill": true,
  "dedupe_key": "",
  "detail": {
    "state": "PUBLISHED",
    "date_published": "2012-05-11T10:00:00.000Z",
    "assigner_short_name": "redhat"
  }
}
2013-10-29僅日期,由來源提供
+POC公開 PoC

Exploit-DB 收錄了公開的漏洞利用程式碼「Apache + PHP < 5.3.12 / < 5.4.2 - cgi-bin Remote Code Execution (RCE)」(EDB-29290)。Exploit-DB 已驗證此程式碼。

來源 exploitdb 29290 · nday 於 批次匯入 · 原始
{
  "id": 28659,
  "type": "poc_published",
  "source": "exploitdb",
  "url": "https://www.exploit-db.com/exploits/29290",
  "occurred_at": "2013-10-29T00:00:00Z",
  "observed_at": "2026-11-12T15:24:40.221206Z",
  "is_backfill": true,
  "dedupe_key": "29290",
  "detail": {
    "url": "https://www.exploit-db.com/exploits/29290",
    "file": "exploits/php/remote/29290.c",
    "kind": "exploit",
    "tags": [],
    "type": "remote",
    "title": "Apache + PHP < 5.3.12 / < 5.4.2 - cgi-bin Remote Code Execution (RCE)",
    "author": "kingcope",
    "edb_id": 29290,
    "cve_ids": [
      "CVE-2012-2336",
      "CVE-2012-2311",
      "CVE-2012-1823"
    ],
    "platform": "php",
    "verified": true,
    "precision": "day",
    "confidence": "curated",
    "date_added": "2013-10-29",
    "date_updated": "2014-05-16",
    "date_published": "2013-10-29"
  }
}
2013-10-31僅日期,由來源提供
+POC公開 PoC

Exploit-DB 收錄了公開的漏洞利用程式碼「Apache + PHP < 5.3.12 / < 5.4.2 - Remote Code Execution (RCE) + Scanner」(EDB-29316)。

來源 exploitdb 29316 · nday 於 批次匯入 · 原始
{
  "id": 28662,
  "type": "poc_published",
  "source": "exploitdb",
  "url": "https://www.exploit-db.com/exploits/29316",
  "occurred_at": "2013-10-31T00:00:00Z",
  "observed_at": "2026-11-12T15:24:40.221206Z",
  "is_backfill": true,
  "dedupe_key": "29316",
  "detail": {
    "url": "https://www.exploit-db.com/exploits/29316",
    "file": "exploits/php/remote/29316.py",
    "kind": "exploit",
    "tags": [],
    "type": "remote",
    "title": "Apache + PHP < 5.3.12 / < 5.4.2 - Remote Code Execution (RCE) + Scanner",
    "author": "noptrix",
    "edb_id": 29316,
    "cve_ids": [
      "CVE-2012-2336",
      "CVE-2012-2311",
      "CVE-2012-1823"
    ],
    "platform": "php",
    "verified": false,
    "precision": "day",
    "confidence": "curated",
    "date_added": "2013-10-31",
    "date_updated": "2013-11-12",
    "date_published": "2013-10-31"
  }
}

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.