Fedora 40 : php (2024-2b429e720e)

critical Nessus Plugin ID 208018

Language:

Synopsis

The remote Fedora host is missing one or more security updates.

Description

The remote Fedora 40 host has a package installed that is affected by multiple vulnerabilities as referenced in the FEDORA-2024-2b429e720e advisory.

**PHP version 8.3.12** (26 Sep 2024)

**CGI:**

* Fixed bug [GHSA-p99j-rfp4-xqvq](https://github.com/php/php-src/security/advisories/GHSA-p99j-rfp4-xqvq) (Bypass of CVE-2024-4577, Parameter Injection Vulnerability). (**CVE-2024-8926**) (nielsdos)
* Fixed bug [GHSA-94p6-54jq-9mwp](https://github.com/php/php-src/security/advisories/GHSA-94p6-54jq-9mwp) (cgi.force_redirect configuration is bypassable due to the environment variable collision).
(**CVE-2024-8927**) (nielsdos)

**Core:**

* Fixed bug [GH-15408](https://github.com/php/php-src/issues/15408) (MSan false-positve on zend_max_execution_timer). (zeriyoshi)
* Fixed bug [GH-15515](https://github.com/php/php-src/issues/15515) (Configure error grep illegal option q). (Peter Kokot)
* Fixed bug [GH-15514](https://github.com/php/php-src/issues/15514) (Configure error: genif.sh: syntax error). (Peter Kokot)
* Fixed bug [GH-15565](https://github.com/php/php-src/issues/15565) (--disable-ipv6 during compilation produces error EAI_SYSTEM not found). (nielsdos)
* Fixed bug [GH-15587](https://github.com/php/php-src/issues/15587) (CRC32 API build error on arm 32-bit).
(Bernd Kuhls, Thomas Petazzoni)
* Fixed bug [GH-15330](https://github.com/php/php-src/issues/15330) (Do not scan generator frames more than once). (Arnaud)
* Fixed uninitialized lineno in constant AST of internal enums. (ilutov)

**Curl:**

* FIxed bug [GH-15547](https://github.com/php/php-src/issues/15547) (curl_multi_select overflow on timeout argument). (David Carlier)

**DOM:**

* Fixed bug [GH-15551](https://github.com/php/php-src/issues/15551) (Segmentation fault (access null pointer) in ext/dom/xml_common.h). (nielsdos)
* Fixed bug [GH-15654](https://github.com/php/php-src/issues/15654) (Signed integer overflow in ext/dom/nodelist.c). (nielsdos)

**Fileinfo:**

* Fixed bug [GH-15752](https://github.com/php/php-src/issues/15752) (Incorrect error message for finfo_file with an empty filename argument). (DanielEScherzer)

**FPM:**

* Fixed bug [GHSA-865w-9rf3-2wh5](https://github.com/php/php-src/security/advisories/GHSA-865w-9rf3-2wh5) (Logs from childrens may be altered). (**CVE-2024-9026**) (Jakub Zelenka)

**MySQLnd:**

* Fixed bug [GH-15432](https://github.com/php/php-src/issues/15432) (Heap corruption when querying a vector). (cmb, Kamil Tekiela)

**Opcache:**

* Fixed bug [GH-15661](https://github.com/php/php-src/issues/15661) (Access null pointer in Zend/Optimizer/zend_inference.c). (nielsdos)
* Fixed bug [GH-15658](https://github.com/php/php-src/issues/15658) (Segmentation fault in Zend/zend_vm_execute.h). (nielsdos)

**SAPI:**

* Fixed bug [GHSA-9pqp-7h25-4f32](https://github.com/php/php-src/security/advisories/GHSA-9pqp-7h25-4f32) (Erroneous parsing of multipart form data). (**CVE-2024-8925**) (Arnaud)

**Standard:**

* Fixed bug [GH-15552](https://github.com/php/php-src/issues/15552) (Signed integer overflow in ext/standard/scanf.c). (cmb)

**Streams:**

* Fixed bug [GH-15628](https://github.com/php/php-src/issues/15628) (php_stream_memory_get_buffer() not zero-terminated). (cmb)


Tenable has extracted the preceding description block directly from the Fedora security advisory.

Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version number.

Solution

Update the affected php package.

See Also

https://bodhi.fedoraproject.org/updates/FEDORA-2024-2b429e720e

Plugin Details

Severity: Critical

ID: 208018

File Name: fedora_2024-2b429e720e.nasl

Version: 1.2

Type: local

Agent: unix

Published: 10/2/2024

Updated: 10/3/2024

Supported Sensors: Frictionless Assessment Agent, Nessus Agent, Agentless Assessment, Nessus

Risk Information

VPR

Risk Factor: Critical

Score: 9.6

CVSS v2

Risk Factor: Critical

Base Score: 10

Temporal Score: 8.7

Vector: CVSS2#AV:N/AC:L/Au:N/C:C/I:C/A:C

CVSS Score Source: CVE-2024-4577

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 9.4

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:H/RL:O/RC:C

Vulnerability Information

CPE: cpe:/o:fedoraproject:fedora:40, p-cpe:/a:fedoraproject:fedora:php

Required KB Items: Host/local_checks_enabled, Host/RedHat/release, Host/RedHat/rpm-list

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 9/25/2024

Vulnerability Publication Date: 6/4/2024

CISA Known Exploited Vulnerability Due Dates: 7/3/2024

Exploitable With

Metasploit (PHP CGI Argument Injection Remote Code Execution)

Reference Information

CVE: CVE-2024-4577, CVE-2024-8925, CVE-2024-8926, CVE-2024-8927, CVE-2024-9026

FEDORA: 2024-2b429e720e

IAVA: 2024-A-0330