RedHat Update for php53 RHSA-2012:0547-01. Update resolves a flaw allowing remote code execution in affected PHP CGI configurations
Reporter | Title | Published | Views | Family All 199 |
---|---|---|---|---|
![]() | Oracle Linux 5 / 6 : php (ELSA-2012-0546) | 12 Jul 201300:00 | – | nessus |
![]() | Oracle Linux 5 : php53 (ELSA-2012-0547) | 12 Jul 201300:00 | – | nessus |
![]() | RHEL 5 / 6 : php (RHSA-2012:0568) | 24 Jan 201300:00 | – | nessus |
![]() | RHEL 5 : php53 (RHSA-2012:0547) | 8 May 201200:00 | – | nessus |
![]() | FreeBSD : php -- vulnerability in certain CGI-based setups (60de13d5-95f0-11e1-806a-001143cd36d8) | 7 May 201200:00 | – | nessus |
![]() | Amazon Linux AMI : php (ALAS-2012-77) | 4 Sep 201300:00 | – | nessus |
![]() | RHEL 5 : php53 (RHSA-2012:0569) | 24 Jan 201300:00 | – | nessus |
![]() | Scientific Linux Security Update : php53 on SL5.x i386/x86_64 (20120507) | 1 Aug 201200:00 | – | nessus |
![]() | PHP 5.3.x < 5.3.13 CGI Query String Code Execution | 5 Jun 201200:00 | – | nessus |
![]() | PHP 5.3.x < 5.3.13 CGI Query String Code Execution | 5 Jun 201200:00 | – | nessus |
Source | Link |
---|---|
redhat | www.redhat.com/archives/rhsa-announce/2012-May/msg00005.html |
###############################################################################
# OpenVAS Vulnerability Test
#
# RedHat Update for php53 RHSA-2012:0547-01
#
# Authors:
# System Generated Check
#
# Copyright:
# Copyright (c) 2012 Greenbone Networks GmbH, http://www.greenbone.net
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2
# (or any later version), as published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
###############################################################################
include("revisions-lib.inc");
tag_insight = "PHP is an HTML-embedded scripting language commonly used with the Apache
HTTP Server.
A flaw was found in the way the php-cgi executable processed command line
arguments when running in CGI mode. A remote attacker could send a
specially-crafted request to a PHP script that would result in the query
string being parsed by php-cgi as command line options and arguments. This
could lead to the disclosure of the script's source code or arbitrary code
execution with the privileges of the PHP interpreter. (CVE-2012-1823)
Red Hat is aware that a public exploit for this issue is available that
allows remote code execution in affected PHP CGI configurations. This flaw
does not affect the default configuration using the PHP module for Apache
httpd to handle PHP scripts.
All php53 users should upgrade to these updated packages, which contain a
backported patch to resolve this issue. After installing the updated
packages, the httpd daemon must be restarted for the update to take effect.";
tag_affected = "php53 on Red Hat Enterprise Linux (v. 5 server)";
tag_solution = "Please Install the Updated Packages.";
if(description)
{
script_xref(name : "URL" , value : "https://www.redhat.com/archives/rhsa-announce/2012-May/msg00005.html");
script_id(870591);
script_tag(name:"cvss_base", value:"7.5");
script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:P/I:P/A:P");
script_version("$Revision: 8352 $");
script_tag(name:"last_modification", value:"$Date: 2018-01-10 08:01:57 +0100 (Wed, 10 Jan 2018) $");
script_tag(name:"creation_date", value:"2012-05-08 12:35:38 +0530 (Tue, 08 May 2012)");
script_cve_id("CVE-2012-1823");
script_xref(name: "RHSA", value: "2012:0547-01");
script_name("RedHat Update for php53 RHSA-2012:0547-01");
script_tag(name: "summary" , value: "Check for the Version of php53");
script_category(ACT_GATHER_INFO);
script_copyright("Copyright (c) 2012 Greenbone Networks GmbH");
script_family("Red Hat Local Security Checks");
script_dependencies("gather-package-list.nasl");
script_mandatory_keys("ssh/login/rhel", "ssh/login/rpms");
script_tag(name : "affected" , value : tag_affected);
script_tag(name : "solution" , value : tag_solution);
script_tag(name : "insight" , value : tag_insight);
script_tag(name:"qod_type", value:"package");
script_tag(name:"solution_type", value:"VendorFix");
exit(0);
}
include("pkg-lib-rpm.inc");
release = get_kb_item("ssh/login/release");
res = "";
if(release == NULL){
exit(0);
}
if(release == "RHENT_5")
{
if ((res = isrpmvuln(pkg:"php53", rpm:"php53~5.3.3~7.el5_8", rls:"RHENT_5")) != NULL)
{
security_message(data:res);
exit(0);
}
if ((res = isrpmvuln(pkg:"php53-bcmath", rpm:"php53-bcmath~5.3.3~7.el5_8", rls:"RHENT_5")) != NULL)
{
security_message(data:res);
exit(0);
}
if ((res = isrpmvuln(pkg:"php53-cli", rpm:"php53-cli~5.3.3~7.el5_8", rls:"RHENT_5")) != NULL)
{
security_message(data:res);
exit(0);
}
if ((res = isrpmvuln(pkg:"php53-common", rpm:"php53-common~5.3.3~7.el5_8", rls:"RHENT_5")) != NULL)
{
security_message(data:res);
exit(0);
}
if ((res = isrpmvuln(pkg:"php53-dba", rpm:"php53-dba~5.3.3~7.el5_8", rls:"RHENT_5")) != NULL)
{
security_message(data:res);
exit(0);
}
if ((res = isrpmvuln(pkg:"php53-debuginfo", rpm:"php53-debuginfo~5.3.3~7.el5_8", rls:"RHENT_5")) != NULL)
{
security_message(data:res);
exit(0);
}
if ((res = isrpmvuln(pkg:"php53-devel", rpm:"php53-devel~5.3.3~7.el5_8", rls:"RHENT_5")) != NULL)
{
security_message(data:res);
exit(0);
}
if ((res = isrpmvuln(pkg:"php53-gd", rpm:"php53-gd~5.3.3~7.el5_8", rls:"RHENT_5")) != NULL)
{
security_message(data:res);
exit(0);
}
if ((res = isrpmvuln(pkg:"php53-imap", rpm:"php53-imap~5.3.3~7.el5_8", rls:"RHENT_5")) != NULL)
{
security_message(data:res);
exit(0);
}
if ((res = isrpmvuln(pkg:"php53-intl", rpm:"php53-intl~5.3.3~7.el5_8", rls:"RHENT_5")) != NULL)
{
security_message(data:res);
exit(0);
}
if ((res = isrpmvuln(pkg:"php53-ldap", rpm:"php53-ldap~5.3.3~7.el5_8", rls:"RHENT_5")) != NULL)
{
security_message(data:res);
exit(0);
}
if ((res = isrpmvuln(pkg:"php53-mbstring", rpm:"php53-mbstring~5.3.3~7.el5_8", rls:"RHENT_5")) != NULL)
{
security_message(data:res);
exit(0);
}
if ((res = isrpmvuln(pkg:"php53-mysql", rpm:"php53-mysql~5.3.3~7.el5_8", rls:"RHENT_5")) != NULL)
{
security_message(data:res);
exit(0);
}
if ((res = isrpmvuln(pkg:"php53-odbc", rpm:"php53-odbc~5.3.3~7.el5_8", rls:"RHENT_5")) != NULL)
{
security_message(data:res);
exit(0);
}
if ((res = isrpmvuln(pkg:"php53-pdo", rpm:"php53-pdo~5.3.3~7.el5_8", rls:"RHENT_5")) != NULL)
{
security_message(data:res);
exit(0);
}
if ((res = isrpmvuln(pkg:"php53-pgsql", rpm:"php53-pgsql~5.3.3~7.el5_8", rls:"RHENT_5")) != NULL)
{
security_message(data:res);
exit(0);
}
if ((res = isrpmvuln(pkg:"php53-process", rpm:"php53-process~5.3.3~7.el5_8", rls:"RHENT_5")) != NULL)
{
security_message(data:res);
exit(0);
}
if ((res = isrpmvuln(pkg:"php53-pspell", rpm:"php53-pspell~5.3.3~7.el5_8", rls:"RHENT_5")) != NULL)
{
security_message(data:res);
exit(0);
}
if ((res = isrpmvuln(pkg:"php53-snmp", rpm:"php53-snmp~5.3.3~7.el5_8", rls:"RHENT_5")) != NULL)
{
security_message(data:res);
exit(0);
}
if ((res = isrpmvuln(pkg:"php53-soap", rpm:"php53-soap~5.3.3~7.el5_8", rls:"RHENT_5")) != NULL)
{
security_message(data:res);
exit(0);
}
if ((res = isrpmvuln(pkg:"php53-xml", rpm:"php53-xml~5.3.3~7.el5_8", rls:"RHENT_5")) != NULL)
{
security_message(data:res);
exit(0);
}
if ((res = isrpmvuln(pkg:"php53-xmlrpc", rpm:"php53-xmlrpc~5.3.3~7.el5_8", rls:"RHENT_5")) != NULL)
{
security_message(data:res);
exit(0);
}
if (__pkg_match) exit(99); # Not vulnerable.
exit(0);
}
Transform Your Security Services
Elevate your offerings with Vulners' advanced Vulnerability Intelligence. Contact us for a demo and discover the difference comprehensive, actionable intelligence can make in your security strategy.
Book a live demo