nday
CVE-2012-2311

PHP: SQL injectionnday가 생성한 제목입니다. CVE 레코드에는 제목이 없습니다.

CVE 레코드 공개보다 7일 앞서 PoC 공개. nday가 아직 패치 근거를 수집하지 않았습니다. 패치가 없다는 뜻은 아닙니다. PoC 출처 4곳 중 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"
  }
}
+DISCVE 공개

CVE 레코드 공개(CNA: 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.