CVE-2012-1823 : Detail

CVE-2012-1823

9.8
/
Kritis
94.36%V4
2012-05-11
10h00 +00:00
Command Injection
A03-Injection
Network
2025-11-04
17h11 +00:00
Notifikasi untuk CVE tertentu
Tetap terinformasi tentang perubahan untuk CVE tertentu.
Kelola notifikasi

Deskripsi CVE

sapi/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 query strings that lack an = (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.

Informasi CVE

Kelemahan Terkait

CWE-ID Nama Kelemahan Sumber
CWE-77 Improper Neutralization of Special Elements used in a Command
The product constructs all or part of a command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended command when it is sent to a downstream component.

Metrik

Metrik Skor Tingkat keparahan CVSS Vektor Sumber
V3.1 9.8 CRITICAL CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Base: Exploitabilty Metrics

The Exploitability metrics reflect the characteristics of the thing that is vulnerable, which we refer to formally as the vulnerable component.

Attack Vector

This metric reflects the context by which vulnerability exploitation is possible.

Network

The vulnerable component is bound to the network stack and the set of possible attackers extends beyond the other options listed below, up to and including the entire Internet. Such a vulnerability is often termed “remotely exploitable” and can be thought of as an attack being exploitable at the protocol level one or more network hops away (e.g., across one or more routers).

Attack Complexity

This metric describes the conditions beyond the attacker’s control that must exist in order to exploit the vulnerability.

Low

Specialized access conditions or extenuating circumstances do not exist. An attacker can expect repeatable success when attacking the vulnerable component.

Privileges Required

This metric describes the level of privileges an attacker must possess before successfully exploiting the vulnerability.

None

The attacker is unauthorized prior to attack, and therefore does not require any access to settings or files of the vulnerable system to carry out an attack.

User Interaction

This metric captures the requirement for a human user, other than the attacker, to participate in the successful compromise of the vulnerable component.

None

The vulnerable system can be exploited without interaction from any user.

Base: Scope Metrics

The Scope metric captures whether a vulnerability in one vulnerable component impacts resources in components beyond its security scope.

Scope

Formally, a security authority is a mechanism (e.g., an application, an operating system, firmware, a sandbox environment) that defines and enforces access control in terms of how certain subjects/actors (e.g., human users, processes) can access certain restricted objects/resources (e.g., files, CPU, memory) in a controlled manner. All the subjects and objects under the jurisdiction of a single security authority are considered to be under one security scope. If a vulnerability in a vulnerable component can affect a component which is in a different security scope than the vulnerable component, a Scope change occurs. Intuitively, whenever the impact of a vulnerability breaches a security/trust boundary and impacts components outside the security scope in which vulnerable component resides, a Scope change occurs.

Unchanged

An exploited vulnerability can only affect resources managed by the same security authority. In this case, the vulnerable component and the impacted component are either the same, or both are managed by the same security authority.

Base: Impact Metrics

The Impact metrics capture the effects of a successfully exploited vulnerability on the component that suffers the worst outcome that is most directly and predictably associated with the attack. Analysts should constrain impacts to a reasonable, final outcome which they are confident an attacker is able to achieve.

Confidentiality Impact

This metric measures the impact to the confidentiality of the information resources managed by a software component due to a successfully exploited vulnerability.

High

There is a total loss of confidentiality, resulting in all resources within the impacted component being divulged to the attacker. Alternatively, access to only some restricted information is obtained, but the disclosed information presents a direct, serious impact. For example, an attacker steals the administrator's password, or private encryption keys of a web server.

Integrity Impact

This metric measures the impact to integrity of a successfully exploited vulnerability. Integrity refers to the trustworthiness and veracity of information.

High

There is a total loss of integrity, or a complete loss of protection. For example, the attacker is able to modify any/all files protected by the impacted component. Alternatively, only some files can be modified, but malicious modification would present a direct, serious consequence to the impacted component.

Availability Impact

This metric measures the impact to the availability of the impacted component resulting from a successfully exploited vulnerability.

High

There is a total loss of availability, resulting in the attacker being able to fully deny access to resources in the impacted component; this loss is either sustained (while the attacker continues to deliver the attack) or persistent (the condition persists even after the attack has completed). Alternatively, the attacker has the ability to deny some availability, but the loss of availability presents a direct, serious consequence to the impacted component (e.g., the attacker cannot disrupt existing connections, but can prevent new connections; the attacker can repeatedly exploit a vulnerability that, in each instance of a successful attack, leaks a only small amount of memory, but after repeated exploitation causes a service to become completely unavailable).

Temporal Metrics

The Temporal metrics measure the current state of exploit techniques or code availability, the existence of any patches or workarounds, or the confidence in the description of a vulnerability.

Environmental Metrics

These metrics enable the analyst to customize the CVSS score depending on the importance of the affected IT asset to a user’s organization, measured in terms of Confidentiality, Integrity, and Availability.

134c704f-9b21-4f2e-91b3-4a467353bcc0
V2 7.5 AV:N/AC:L/Au:N/C:P/I:P/A:P nvd@nist.gov

CISA KEV (Kerentanan yang Diketahui Dieksploitasi)

Nama kerentanan : PHP-CGI Query String Parameter Vulnerability

Tindakan yang diperlukan : Apply updates per vendor instructions.

Diketahui Digunakan dalam Kampanye Ransomware : Unknown

Ditambahkan : 2022-03-25 00h00 +00:00

Tindakan jatuh tempo : 2022-04-15 00h00 +00:00

Informasi penting
CVE ini diidentifikasi sebagai rentan dan menimbulkan ancaman aktif, menurut Katalog Kerentanan yang Diketahui Dieksploitasi (CISA KEV). CISA telah mencantumkan kerentanan ini sebagai yang secara aktif dieksploitasi oleh penjahat siber, menekankan pentingnya mengambil tindakan segera untuk mengatasi kelemahan ini. Sangat penting untuk memprioritaskan pembaruan dan remediasi CVE ini guna melindungi sistem dari potensi serangan siber.

EPSS

EPSS adalah model penilaian yang memprediksi kemungkinan suatu kerentanan dieksploitasi.

Skor EPSS

Model EPSS menghasilkan skor probabilitas antara 0 dan 1 (0 hingga 100%). Semakin tinggi skor, semakin besar probabilitas bahwa suatu kerentanan akan dieksploitasi.

Persentil EPSS

Persentil digunakan untuk meranking CVE berdasarkan skor EPSS mereka. Misalnya, CVE di persentil ke-95 berdasarkan skor EPSS-nya lebih mungkin dieksploitasi daripada 95% CVE lainnya. Dengan demikian, persentil digunakan untuk membandingkan skor EPSS suatu CVE dengan CVE lainnya.

Informasi eksploitasi

Exploit Database EDB-ID : 29290

Tanggal publikasi : 2013-10-28 23h00 +00:00
Penulis : kingcope
Terverifikasi EDB : Yes

Exploit Database EDB-ID : 29316

Tanggal publikasi : 2013-10-30 23h00 +00:00
Penulis : noptrix
Terverifikasi EDB : No

Exploit Database EDB-ID : 18834

Tanggal publikasi : 2012-05-03 22h00 +00:00
Penulis : Metasploit
Terverifikasi EDB : Yes

Exploit Database EDB-ID : 18836

Tanggal publikasi : 2012-05-04 22h00 +00:00
Penulis : rayh4c
Terverifikasi EDB : Yes

Produk yang Disebutkan

Konfigurasi 0

Php>>Php >> Version Hingga (tidak termasuk) 5.3.12

Php>>Php >> Version Dari (termasuk) 5.4.0 Hingga (tidak termasuk) 5.4.2

Konfigurasi 0

Fedoraproject>>Fedora >> Version 39

Fedoraproject>>Fedora >> Version 40

Konfigurasi 0

Debian>>Debian_linux >> Version 6.0

Konfigurasi 0

Hp>>Hp-ux >> Version b.11.23

Hp>>Hp-ux >> Version b.11.31

Konfigurasi 0

Opensuse>>Opensuse >> Version 11.4

Opensuse>>Opensuse >> Version 12.1

Suse>>Linux_enterprise_server >> Version 10

Suse>>Linux_enterprise_server >> Version 11

Suse>>Linux_enterprise_server >> Version 11

Suse>>Linux_enterprise_software_development_kit >> Version 10

Suse>>Linux_enterprise_software_development_kit >> Version 11

Konfigurasi 0

Apple>>Mac_os_x >> Version Dari (termasuk) 10.6.8 Hingga (tidak termasuk) 10.7.5

Apple>>Mac_os_x >> Version Dari (termasuk) 10.8.0 Hingga (tidak termasuk) 10.8.2

Konfigurasi 0

Redhat>>Application_stack >> Version 2.0

Redhat>>Gluster_storage_server_for_on-premise >> Version 2.0

Redhat>>Storage >> Version 2.0

Redhat>>Storage_for_public_cloud >> Version 2.0

Redhat>>Enterprise_linux_desktop >> Version 6.0

Redhat>>Enterprise_linux_eus >> Version 5.6

Redhat>>Enterprise_linux_eus >> Version 6.1

Redhat>>Enterprise_linux_eus >> Version 6.2

Redhat>>Enterprise_linux_server >> Version 5.0

Redhat>>Enterprise_linux_server >> Version 6.0

Redhat>>Enterprise_linux_server_aus >> Version 5.3

Redhat>>Enterprise_linux_server_aus >> Version 5.6

Redhat>>Enterprise_linux_workstation >> Version 5.0

Redhat>>Enterprise_linux_workstation >> Version 6.0

Referensi

http://www.php.net/ChangeLog-5.php#5.4.2
Tags : Exploit, Patch, Release Notes
http://secunia.com/advisories/49014
Tags : third-party-advisory
http://www.kb.cert.org/vuls/id/673343
Tags : third-party-advisory
http://support.apple.com/kb/HT5501
Tags : Third Party Advisory
http://secunia.com/advisories/49065
Tags : third-party-advisory
http://www.kb.cert.org/vuls/id/520827
Tags : third-party-advisory
http://secunia.com/advisories/49085
Tags : third-party-advisory
http://secunia.com/advisories/49087
Tags : third-party-advisory