Lucene search

K
openvasCopyright (C) 2015 Greenbone AGOPENVAS:1361412562310805446
HistoryFeb 06, 2015 - 12:00 a.m.

PHP Multiple Vulnerabilities - 01 (Feb 2015)

2015-02-0600:00:00
Copyright (C) 2015 Greenbone AG
plugins.openvas.org
38

CVSS2

7.5

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

AV:N/AC:L/Au:N/C:P/I:P/A:P

AI Score

8

Confidence

Low

EPSS

0.88

Percentile

98.7%

PHP is prone to multiple vulnerabilities.

# SPDX-FileCopyrightText: 2015 Greenbone AG
# Some text descriptions might be excerpted from (a) referenced
# source(s), and are Copyright (C) by the respective right holder(s).
#
# SPDX-License-Identifier: GPL-2.0-only

CPE = "cpe:/a:php:php";

if(description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.805446");
  script_version("2024-02-19T05:05:57+0000");
  script_cve_id("CVE-2015-0232", "CVE-2015-0231", "CVE-2014-9652", "CVE-2014-9653");
  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_tag(name:"last_modification", value:"2024-02-19 05:05:57 +0000 (Mon, 19 Feb 2024)");
  script_tag(name:"creation_date", value:"2015-02-06 11:43:37 +0530 (Fri, 06 Feb 2015)");
  script_name("PHP Multiple Vulnerabilities - 01 (Feb 2015)");

  script_tag(name:"summary", value:"PHP is prone to multiple vulnerabilities.");

  script_tag(name:"vuldetect", value:"Checks if a vulnerable version is present on the target host.");

  script_tag(name:"insight", value:"Multiple flaws are due to:

  - Flaw in the 'exif_process_unicode' function in ext/exif/exif.c script when
  parsing JPEG EXIF entries.

  - A use-after-free error in the 'process_nested_data' function in
  ext/standard/var_unserializer.re script.

  - a flaw in 'readelf.c' script in Fine Free File.

  - an out-of-bounds read flaw in 'src/softmagic.c' script in Fine Free File.");

  script_tag(name:"impact", value:"Successful exploitation will allow remote
  attackers to cause a denial of service or possibly execute arbitrary code
  via different crafted dimensions.");

  script_tag(name:"affected", value:"PHP versions 5.4.x before 5.4.37, 5.5.x
  before 5.5.21, and 5.6.x before 5.6.5");

  script_tag(name:"solution", value:"Update to PHP version 5.4.37 or 5.5.21
  or 5.6.5 or later.");

  script_tag(name:"qod_type", value:"remote_banner_unreliable");
  script_tag(name:"solution_type", value:"VendorFix");

  script_xref(name:"URL", value:"https://bugs.php.net/bug.php?id=68799");
  script_xref(name:"URL", value:"http://www.securityfocus.com/bid/72505");
  script_xref(name:"URL", value:"http://www.securityfocus.com/bid/72516");
  script_xref(name:"URL", value:"http://www.securityfocus.com/bid/72541");
  script_xref(name:"URL", value:"http://www.securityfocus.com/bid/72539");
  script_xref(name:"URL", value:"https://bugs.php.net/bug.php?id=68710");

  script_category(ACT_GATHER_INFO);
  script_copyright("Copyright (C) 2015 Greenbone AG");
  script_family("Web application abuses");
  script_dependencies("secpod_php_smb_login_detect.nasl", "gb_php_ssh_login_detect.nasl", "gb_php_http_detect.nasl");
  script_mandatory_keys("php/detected");
  exit(0);
}

include("version_func.inc");
include("host_details.inc");

if( isnull( phpPort = get_app_port( cpe:CPE ) ) ) exit( 0 );
if( ! phpVer = get_app_version( cpe:CPE, port:phpPort ) ) exit( 0 );

if(phpVer =~ "^5\.[4-6]"){
  if(version_in_range(version:phpVer, test_version:"5.4.0", test_version2:"5.4.36")){
    fix = "5.4.37";
    VULN = TRUE;
  }

  if(version_in_range(version:phpVer, test_version:"5.5.0", test_version2:"5.5.20")){
    fix = "5.5.21";
    VULN = TRUE;
  }

  if(version_in_range(version:phpVer, test_version:"5.6.0", test_version2:"5.6.4")){
    fix = "5.6.5";
    VULN = TRUE;
  }

  if(VULN){
    report = report_fixed_ver(installed_version:phpVer, fixed_version:fix);
    security_message(data:report, port:phpPort);
    exit(0);
  }
}

exit(99);

CVSS2

7.5

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

AV:N/AC:L/Au:N/C:P/I:P/A:P

AI Score

8

Confidence

Low

EPSS

0.88

Percentile

98.7%