CVE-2012-2336: 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…
Noroxi değerlendirmesi
Öncelik: İzleyin (aksiyon skoru 36/100)
- Herkese açık kavram kanıtı (PoC) kodu var (Exploit-DB); sahada sömürüldüğüne dair kayıt yok.
- Önümüzdeki 30 günde sömürülme olasılığı %52 (FIRST EPSS); kayıtların %98,9 kadarından yüksek.
- Özel bir koşul gerekmez; tekrarlanabilir.
- Düzeltilmiş sürüm: php (Red Hat:enterprise_linux:5::client_workstation) 0:5.1.6-39.el5_8; php-bcmath (Red Hat:enterprise_linux:5::client_workstation) 0:5.1.6-39.el5_8; php-cli (Red Hat:enterprise_linux:5::client_workstation) 0:5.1.6-39.el5_8.
Şimdilik düşük öncelik. php (Red Hat:enterprise_linux:5::client_workstation) 0:5.1.6-39.el5_8; php-bcmath (Red Hat:enterprise_linux:5::client_workstation) 0:5.1.6-39.el5_8; php-cli (Red Hat:enterprise_linux:5::client_workstation) 0:5.1.6-39.el5_8 ya da daha yeni sürüme yükseltin.
Kaydın verisinden otomatik üretilir: CVSS (NVD ve CNA), CISA KEV ve SSVC, FIRST EPSS, istismar kaynakları, düzeltme sürümleri. Nasıl hesaplıyoruz
Birincil kaynaklar: NVD · CVE.org · FIRST EPSS
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 lack an = (equals sign) character, which allows remote attackers to cause a denial of service (resource consumption) by placing command-line options in the query string, related to lack of skipping a certain php_getopt for the 'T' case. NOTE: this vulnerability exists because of an incomplete fix for CVE-2012-1823.
- Yayın
- 11 May 2012
- Güncelleme
- 16 Haz 2026
- EPSS
- %52,0 · 98. yüzdelik
- CWE
- CWE-20
Rapor araçları
Aksiyon skoru
36
Şimdilik düşük öncelik.
- CVSS
- 20 / 40 · 5.0 / 10
- CISA KEV
- 0 / 30 · Listede değil
- EPSS
- 16 / 30 · %52,0
Bu kayıt değişirse haber alın
- KEV'de değil: sahada sömürü kaydı yok
- Kavram kanıtı var, silahlaştırılmış modül yok
- Düzeltme yayımlandı
Bunlardan biri değişirse günlük e-posta özetinde haber veririz.
Sürümünüz etkileniyor mu? Kontrol edinNoroxi analizi
Sizin ortamınızda ne anlama geliyor?
Yukarıdaki değerlendirme kaydın verisinden otomatik üretilir; ortamınızı bilmez. Bu açığın sizde gerçekten sömürülebilir olup olmadığını ve hangi önlemin yeteceğini ekibimiz sizin sistemlerinizde doğrular.
Bu ürünü kullanıyoruz, yardım isteyinEtkilenen sistemler
Sürümünüz etkileniyor mu?
Ürünü seçip kullandığınız sürümü yazın. Bu kaydın sürüm aralıklarıyla tarayıcınızda karşılaştırılır; sürüm hiçbir yere gönderilmez.
| Üretici | Ürün | CPE |
|---|---|---|
| php | php | cpe:2.3:a:php:php |
Bu ürünü (php) kullanıyor musunuz? Stack’inize ekleyin; bunun gibi kayıtlarda ilk siz haberdar olun. (PHP)
Etkilenen sürümler
NVD sürüm aralıkları (katalogdaki ürünler için). Stack’inize sürümle eklerseniz eşleşme bunlarla yapılır.
- php php5.3.12 dahil
- php php1.0
- php php2.0
- php php2.0b10
- php php3.0
- php php3.0.1
- php php3.0.10
- php php3.0.11
+12 satır daha
- php php3.0.12
- php php3.0.13
- php php3.0.14
- php php3.0.15
- php php3.0.16
- php php3.0.17
- php php3.0.18
- php php3.0.2
- php php3.0.3
- php php3.0.4
- php php3.0.5
- php php3.0.6
Paket düzeyi etkilenme
OSV ve GitHub Advisory verisi: ekosistem, paket ve aralık. SBOM eşleşmesi bu tabloyu kullanır.
| Ekosistem | Paket | Etkilenen aralık | Düzeltme |
|---|---|---|---|
| Red Hat:enterprise_linux:5::client_workstation | php | 0:5.1.6-39.el5_8 öncesi | 0:5.1.6-39.el5_8 |
| Red Hat:enterprise_linux:5::client_workstation | php-bcmath | 0:5.1.6-39.el5_8 öncesi | 0:5.1.6-39.el5_8 |
| Red Hat:enterprise_linux:5::client_workstation | php-cli | 0:5.1.6-39.el5_8 öncesi | 0:5.1.6-39.el5_8 |
| Red Hat:enterprise_linux:5::client_workstation | php-common | 0:5.1.6-39.el5_8 öncesi | 0:5.1.6-39.el5_8 |
| Red Hat:enterprise_linux:5::client_workstation | php-dba | 0:5.1.6-39.el5_8 öncesi | 0:5.1.6-39.el5_8 |
| Red Hat:enterprise_linux:5::client_workstation | php-debuginfo | 0:5.1.6-39.el5_8 öncesi | 0:5.1.6-39.el5_8 |
| Red Hat:enterprise_linux:5::client_workstation | php-devel | 0:5.1.6-39.el5_8 öncesi | 0:5.1.6-39.el5_8 |
| Red Hat:enterprise_linux:5::client_workstation | php-gd | 0:5.1.6-39.el5_8 öncesi | 0:5.1.6-39.el5_8 |
| Red Hat:enterprise_linux:5::client_workstation | php-imap | 0:5.1.6-39.el5_8 öncesi | 0:5.1.6-39.el5_8 |
| Red Hat:enterprise_linux:5::client_workstation | php-ldap | 0:5.1.6-39.el5_8 öncesi | 0:5.1.6-39.el5_8 |
| Red Hat:enterprise_linux:5::client_workstation | php-mbstring | 0:5.1.6-39.el5_8 öncesi | 0:5.1.6-39.el5_8 |
| Red Hat:enterprise_linux:5::client_workstation | php-mysql | 0:5.1.6-39.el5_8 öncesi | 0:5.1.6-39.el5_8 |
| Red Hat:enterprise_linux:5::client_workstation | php-ncurses | 0:5.1.6-39.el5_8 öncesi | 0:5.1.6-39.el5_8 |
| Red Hat:enterprise_linux:5::client_workstation | php-odbc | 0:5.1.6-39.el5_8 öncesi | 0:5.1.6-39.el5_8 |
| Red Hat:enterprise_linux:5::client_workstation | php-pdo | 0:5.1.6-39.el5_8 öncesi | 0:5.1.6-39.el5_8 |
| Red Hat:enterprise_linux:5::client_workstation | php-pgsql | 0:5.1.6-39.el5_8 öncesi | 0:5.1.6-39.el5_8 |
| Red Hat:enterprise_linux:5::client_workstation | php-snmp | 0:5.1.6-39.el5_8 öncesi | 0:5.1.6-39.el5_8 |
| Red Hat:enterprise_linux:5::client_workstation | php-soap | 0:5.1.6-39.el5_8 öncesi | 0:5.1.6-39.el5_8 |
| Red Hat:enterprise_linux:5::client_workstation | php-xml | 0:5.1.6-39.el5_8 öncesi | 0:5.1.6-39.el5_8 |
| Red Hat:enterprise_linux:5::client_workstation | php-xmlrpc | 0:5.1.6-39.el5_8 öncesi | 0:5.1.6-39.el5_8 |
| Red Hat:enterprise_linux:5::client_workstation | php53 | 0:5.3.3-13.el5_8 öncesi | 0:5.3.3-13.el5_8 |
| Red Hat:enterprise_linux:5::client_workstation | php53-bcmath | 0:5.3.3-13.el5_8 öncesi | 0:5.3.3-13.el5_8 |
| Red Hat:enterprise_linux:5::client_workstation | php53-cli | 0:5.3.3-13.el5_8 öncesi | 0:5.3.3-13.el5_8 |
| Red Hat:enterprise_linux:5::client_workstation | php53-common | 0:5.3.3-13.el5_8 öncesi | 0:5.3.3-13.el5_8 |
+45
Aynı üründe
php: tüm kayıtlarAynı birincil ürünün en yüksek skorlu diğer kayıtları.
- CVE-2024-4577Argument Injection in PHP-CGIKEV99Hemen
- CVE-2019-11043Underflow in PHP-FPM can lead to RCEKEV99Hemen
- CVE-2012-1823sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not properly handle…KEV99Hemen
Bu üründe bundan önce ve sonra yayımlananlar
- ← ÖncekiCVE-2012-232911 May 2012 · Buffer overflow in the apache_request_headers function in sapi/cgi/cgi_main.c in PHP 5.4.x before 5.4.3 allows remote attackers to cause a…40Planlayın
- ← ÖncekiCVE-2012-233511 May 2012 · php-wrapper.fcgi does not properly handle command-line arguments, which allows remote attackers to bypass a protection mechanism in PHP 5.3.40Planlayın
- Sonraki →CVE-2012-237621 May 2012 · Buffer overflow in the com_print_typeinfo function in PHP 5.4.3 and earlier on Windows allows remote attackers to execute arbitrary code…46Planlayın
Düzeltme
Hangi sürüme geçmeli
Üretici, paket deposu ve Microsoft kayıtlarından derlenen düzeltme sürümleri. Yükseltmeden önce üreticinin notunu doğrulayın.
| Ürün / paket | Düzeltilmiş sürüm | Kaynak |
|---|---|---|
| red hat:php | 0:5.1.6-39.el5_8 · Red Hat:enterprise_linux:5::client_workstation | Paket deposu (OSV) |
| red hat:php-bcmath | 0:5.1.6-39.el5_8 · Red Hat:enterprise_linux:5::client_workstation | Paket deposu (OSV) |
| red hat:php-cli | 0:5.1.6-39.el5_8 · Red Hat:enterprise_linux:5::client_workstation | Paket deposu (OSV) |
| red hat:php-common | 0:5.1.6-39.el5_8 · Red Hat:enterprise_linux:5::client_workstation | Paket deposu (OSV) |
| red hat:php-dba | 0:5.1.6-39.el5_8 · Red Hat:enterprise_linux:5::client_workstation | Paket deposu (OSV) |
| red hat:php-debuginfo | 0:5.1.6-39.el5_8 · Red Hat:enterprise_linux:5::client_workstation | Paket deposu (OSV) |
| red hat:php-devel | 0:5.1.6-39.el5_8 · Red Hat:enterprise_linux:5::client_workstation | Paket deposu (OSV) |
| red hat:php-gd | 0:5.1.6-39.el5_8 · Red Hat:enterprise_linux:5::client_workstation | Paket deposu (OSV) |
| red hat:php-imap | 0:5.1.6-39.el5_8 · Red Hat:enterprise_linux:5::client_workstation | Paket deposu (OSV) |
| red hat:php-ldap | 0:5.1.6-39.el5_8 · Red Hat:enterprise_linux:5::client_workstation | Paket deposu (OSV) |
| red hat:php-mbstring | 0:5.1.6-39.el5_8 · Red Hat:enterprise_linux:5::client_workstation | Paket deposu (OSV) |
| red hat:php-mysql | 0:5.1.6-39.el5_8 · Red Hat:enterprise_linux:5::client_workstation | Paket deposu (OSV) |
İstismar durumu
Kavram kanıtı mevcut
Kamuya açık bir kavram kanıtı ya da tespit imzası var. İstismar bilgisi dışarıda; yamayı geciktirmeyin.
Kanıt
- Exploit-DB kaydı ×4
Noroxi istismar kodu barındırmaz ve istismar bağlantısı vermez. Metasploit modül adı ve Nuclei şablon kimliği gösterilir (kod değil, ad); Exploit-DB kayıtları ve PoC depoları yalnızca sayı olarak verilir.
| Kaynak | Tür | Tarih |
|---|---|---|
| Exploit-DB kaydı | remote | 2013-10-29 |
| Exploit-DB kaydı | remote | 2013-10-31 |
| Exploit-DB kaydı | remote | 2012-05-04 |
| Exploit-DB kaydı | remote | 2012-05-05 |
Araştırma bağlamı
Pentester ve araştırmacı için: saldırı profili, puan anlaşmazlığı, zaman çizelgesi, yama commit’leri, kredi, varyant ve zincir adayları, bug bounty kapsamı. Hepsi mevcut veriden türetilir; istismar kodu içermez.
Zaman çizelgesi
Yayından bugüne: kavram kanıtı, Metasploit modülü, CISA KEV ve düzeltme kaydı. Tarihler kaynakların bildirdiği tarihlerdir.
- İlk kavram kanıtı-7 gün
- Yayın
- Bugün15 Kas 2026+5301 gün
FIRST EPSS günlük puanı; yalnızca 0,01 ve üstü değişimler kaydedilir (adım grafiği).
Bu kayıtta yok: yama commit'i ya da PR bağlantısı · araştırmacı kredisi · varyant ya da zincir adayı · herkese açık ödül programı.
Teknik detay
Saldırı koşulları
- Özel bir koşul gerekmez; tekrarlanabilir.
Başarılı olursa
- Gizlilik
- yok
- Bütünlük
- yok
- Erişilebilirlik
- P · hizmet durdurulabilir
- Karmaşıklık
- Düşük
- Gizlilik etkisi
- Yok
- Bütünlük etkisi
- Yok
- Erişilebilirlik etkisi
- P
Zayıflık sınıfı (CWE)
CWE-20 · Improper Input ValidationCVSS vektörü
AV:N/AC:L/Au:N/C:N/I:N/A:P
nvd-primary
Saldırı bağlamı
Bu zafiyet sınıfının (CWE) MITRE CAPEC saldırı desenleri ve ATT&CK teknikleri. Tespit kuralı ve tehdit avı için başlangıç noktası.
Saldırı desenleri (CAPEC)
- Buffer Overflow via Environment VariablesCAPEC-10olasılık: High · High
- Server Side Include (SSI) InjectionCAPEC-101olasılık: High · High
- Cross Zone ScriptingCAPEC-104olasılık: Medium · High
- Command Line Execution through SQL InjectionCAPEC-108olasılık: Low · Very High
- Object Relational Mapping InjectionCAPEC-109olasılık: Low · High
- SQL Injection through SOAP Parameter TamperingCAPEC-110olasılık: High · Very High
- Double EncodingCAPEC-120olasılık: Low · Medium
- Subverting Environment Variable ValuesCAPEC-13olasılık: High · Very High
ATT&CK teknikleri
- Obfuscated Files or InformationT1027
- Masquerading: Invalid Code SignatureT1036.001
- Steal Web Session CookieT1539
- Subvert Trust Controls: Code SigningT1553.002
- Impair Defenses:Impair Command History LoggingT1562.003
- Hijack Execution Flow:Dynamic Linker HijackingT1574.006
- Hijack Execution Flow:Path Interception by PATH Environment VariableT1574.007
Değişiklik günlüğü (1)
- Düzeltme✗ → ✓
Takip ettiğiniz kayıtlarda bu değişiklikler bildirim olarak da gelir. →
Referanslar
Tüm referansları göster (7 daha)Daha az göster
- lists.opensuse.org/opensuse-security-announce/2012-07/msg00003.html
- secunia.com/advisories/49014
- www.php.net/ChangeLog-5.php#5.4.3
- www.php.net/archive/2012.php#id2012-05-08-1
- bugs.php.net/bug.php?id=61910
- bugs.php.net/patch-display.php?bug_id=61910&patch=CVE-2012-1823.patch&revision=1336251592&display=1
- h20564.www2.hp.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c03839862
Üretici bildirimleri ve resmî kayıtlar. İstismar/PoC bağlantıları bilinçli olarak dışarıda bırakıldı.