Skip to content
Fencer Vulns
low 2.6

CVE-2023-3247 json

Missing error check and insufficient random bytes in HTTP Digest authentication for SOAP

published 2023-06-12 3 y ago modified 2026-09-08 2 mo ago also BIT-libphp-2023-3247 , BIT-php-2023-3247 , BIT-php-min-2023-3247 , EUVD-2023-43923 , GHSA-76gg-c692-v2mw

cvss
2.6
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.7%
EPSS 0.7% chance of exploitation in 30 days, percentile 53%
public exploits
0
none known

Summary

In PHP versions 8.0.* before 8.0.29, 8.1.* before 8.1.20, 8.2.* before 8.2.7 when using SOAP HTTP Digest Authentication, random value generator was not checked for failure, and was using narrower range of values than it should have. In case of random generator failure, it could lead to a disclosure of 31 bits of uninitialized memory from the client to the server, and it also made easier to a malicious server to guess the client's nonce.

Patch / fix

  • bitnami libphp 8.0.29, 8.1.20, 8.2.7
  • bitnami php 8.0.29, 8.1.20, 8.2.7
  • bitnami php-min 8.0.29, 8.1.20, 8.2.7
  • PHP Group PHP 8.0.29, 8.1.20, 8.2.7
  • php8.2 Debian 12 8.2.7-1~deb12u1

debian advisories DEBIAN-CVE-2023-3247

  • php7.4 Ubuntu 20.04 LTS 7.4.3-4ubuntu2.19
  • php8.1 Ubuntu 22.04 LTS 8.1.2-1ubuntu2.13
  • php7.0 Ubuntu Pro 16.04 LTS 7.0.33-0ubuntu0.16.04.16+esm7
  • php7.2 Ubuntu Pro 18.04 LTS 7.2.24-0ubuntu0.18.04.17+esm1

ubuntu advisories UBUNTU-CVE-2023-3247

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • php RHEL 8 7.4.33-2.module+el8.10.0+22485+a3539972
  • libzip RHEL 8 1.6.1-1.module+el8.10.0+22485+a3539972
  • php-gd RHEL 8 7.4.33-2.module+el8.10.0+22485+a3539972
  • php-cli RHEL 8 7.4.33-2.module+el8.10.0+22485+a3539972
  • php-dba RHEL 8 7.4.33-2.module+el8.10.0+22485+a3539972
  • php-dbg RHEL 8 7.4.33-2.module+el8.10.0+22485+a3539972
  • php-ffi RHEL 8 7.4.33-2.module+el8.10.0+22485+a3539972
  • php-fpm RHEL 8 7.4.33-2.module+el8.10.0+22485+a3539972

red hat advisories RHSA-2024:10952RHSA-2024:0387RHSA-2023:5927RHSA-2023:5926

  • php7 openSUSE Leap 15.4, Manager Server 4.2 7.4.33-150200.3.57.1
  • php74 SLE Software Development Kit 12 SP5, SLE Module for Web and Scripting 12 7.4.33-1.59.1
  • php7 SLE Module for Legacy 15 SP5, SLE Module for Legacy 15 SP4, openSUSE Leap 15.5 +1 more 7.4.33-150400.4.25.1
  • php7-fpm SLE Module for Legacy 15 SP5, SLE Module for Legacy 15 SP4, openSUSE Leap 15.5 +1 more 7.4.33-150400.4.25.1
  • php7-test openSUSE Leap 15.5, openSUSE Leap 15.4 7.4.33-150400.4.25.1
  • php7-embed SLE Module for Package Hub 15 SP5, SLE Module for Package Hub 15 SP4, openSUSE Leap 15.5 +1 more 7.4.33-150400.4.25.1
  • php7-fastcgi SLE Module for Legacy 15 SP5, SLE Module for Legacy 15 SP4, openSUSE Leap 15.5 +1 more 7.4.33-150400.4.25.1
  • apache2-mod_php7 SLE Module for Legacy 15 SP5, SLE Module for Legacy 15 SP4, openSUSE Leap 15.5 +1 more 7.4.33-150400.4.25.1

suse advisories SUSE-SU-2023:2980-1SUSE-SU-2023:2848-1SUSE-SU-2023:2828-1SUSE-SU-2023:2610-1

  • php8 openSUSE Tumbleweed 8.2.10-3.1

opensuse advisories openSUSE-SU-2024:13267-1

  • php AlmaLinux 8 7.4.33-2.module_el8.10.0+3935+28808425
  • libzip AlmaLinux 8 1.6.1-1.module_el8.6.0+3239+bedf0508
  • libzip AlmaLinux 8 1.6.1-1.module_el8.6.0+2750+78feabcb
  • libzip AlmaLinux 8 1.6.1-1.module_el8.10.0+3935+28808425
  • php-gd AlmaLinux 8 7.4.33-2.module_el8.10.0+3935+28808425
  • php-cli AlmaLinux 8 7.4.33-2.module_el8.10.0+3935+28808425
  • php-dba AlmaLinux 8 7.4.33-2.module_el8.10.0+3935+28808425
  • php-dbg AlmaLinux 8 7.4.33-2.module_el8.10.0+3935+28808425

almalinux advisories ALSA-2024:10952ALSA-2024:0387ALSA-2023:5926ALSA-2023:5927

  • php Rocky Linux 8 7.4.33-2.module+el8.10.0+1912+72767185
  • libzip Rocky Linux 8 1.6.1-1.module+el8.10.0+1604+6558efc7
  • php-pear Rocky Linux 8 1:1.10.13-1.module+el8.10.0+1604+6558efc7
  • php-pecl-rrd Rocky Linux 8 2.0.1-1.module+el8.10.0+1604+6558efc7
  • php-pecl-zip Rocky Linux 8 1.18.2-1.module+el8.10.0+1604+6558efc7
  • php-pecl-apcu Rocky Linux 8 5.1.18-1.module+el8.10.0+1604+6558efc7
  • php-pecl-xdebug Rocky Linux 8 2.9.5-1.module+el8.10.0+1604+6558efc7
  • php-pecl-rrd Rocky Linux 9 2.0.3-4.module+el9.6.0+32040+1f1dedb8

rocky linux advisories RLSA-2024:10952RLSA-2024:0387RLSA-2023:5926RLSA-2023:5927

  • php8 Alpine 3.16 8.0.29-r0
  • php81 Alpine 3.17, Alpine 3.16 8.1.22-r0

alpine advisories ALPINE-CVE-2023-3247

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • php CBL-Mariner 2.0 8.1.22-1

azure linux advisories AZL-27435

Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2023-3247 updated cvss 4.3

php: Missing error check and insufficient random bytes in HTTP Digest authentication for SOAP

  • Red Hat Enterprise Linux 6 php, php-gd, php-cli, php-dba, php-fpm, php-pdo, +20 more Red Hat Enterprise Linux 7 php, php-gd, php-cli, php-dba, php-fpm, php-pdo, +18 more
    affected: no fix planned “Out of support scope”
  • Red Hat Software Collections rh-php73-php, rh-php73-php-gd, rh-php73-php-cli, rh-php73-php-dba, rh-php73-php-dbg, rh-php73-php-fpm, +22 more
    affected: no fix planned “Will not fix”
  • Red Hat Enterprise Linux AppStream (v. 8) php 8.0.30-1.module+el8.8.0+20302+42d2b711, php 7.4.33-2.module+el8.10.0+22485+a3539972, libzip 1.7.3-1.module+el8.6.0+13671+84712317, libzip 1.6.1-1.module+el8.10.0+22485+a3539972, php-gd 8.0.30-1.module+el8.8.0+20302+42d2b711, php-cli 8.0.30-1.module+el8.8.0+20302+42d2b711, +60 more
    fixed: vendor fix RHSA-2024:10952
  • Red Hat Enterprise Linux AppStream (v. 9) php 8.0.30-1.el9_2, php-gd 8.0.30-1.el9_2, php-cli 8.0.30-1.el9_2, php-dba 8.0.30-1.el9_2, php-dbg 8.0.30-1.el9_2, php-ffi 8.0.30-1.el9_2, +47 more
    fixed: vendor fix RHSA-2023:5926

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

cisa ICSA-24-046-11 updated cvss 2.6

Siemens SCALANCE XCM-/XRM-300

  • Siemens SCALANCE XCH328 (6GK5328-4TS01-2EC2) <V2.4 Siemens SCALANCE XCM324 (6GK5324-8TS01-2AC2) <V2.4 Siemens SCALANCE XCM328 (6GK5328-4TS01-2AC2) <V2.4 Siemens SCALANCE XCM332 (6GK5332-0GA01-2AC2) <V2.4 Siemens SCALANCE XRH334 (24 V DC, 8xFO, CC) (6GK5334-2TS01-2ER3) <V2.4 Siemens SCALANCE XRM334 (2x230 V AC, 8xFO) (6GK5334-2TS01-4AR3) <V2.4
    +5 more products
    Siemens SCALANCE XRM334 (2x230 V AC, 12xFO) (6GK5334-3TS01-4AR3) <V2.4 Siemens SCALANCE XRM334 (24 V DC, 8xFO) (6GK5334-2TS01-2AR3) <V2.4 Siemens SCALANCE XRM334 (24 V DC, 12xFO) (6GK5334-3TS01-2AR3) <V2.4 Siemens SCALANCE XRM334 (230 V AC, 8xFO) (6GK5334-2TS01-3AR3) <V2.4 Siemens SCALANCE XRM334 (230 V AC, 12xFO) (6GK5334-3TS01-3AR3) <V2.4
    affected: fixed in V2.4 support.industry.siemens.com

Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf

CISA SSVC

Exploitation
none
Automatable
no
Technical impact
partial
Assessed
2 y ago

Exploit prediction

0.71% chance of exploitation in the next 30 days, higher than 53% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 3.1 2.6 CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:N/A:N
NVD 3.1 4.3 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
OSV 3.1 4.3 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

Affected packages

ecosystem package affected fixed in
bitnami libphp
>=8.0.0, <8.0.29
>=8.1.0, <8.1.20
>=8.2.0, <8.2.7
8.0.29
8.1.20
8.2.7
bitnami php
>=8.0.0, <8.0.29
>=8.1.0, <8.1.20
>=8.2.0, <8.2.7
8.0.29
8.1.20
8.2.7
bitnami php-min
>=8.0.0, <8.0.29
>=8.1.0, <8.1.20
>=8.2.0, <8.2.7
8.0.29
8.1.20
8.2.7

Affected products

  • PHP Group PHP

Classification

Weakness
  • CWE-252 Unchecked Return Value
  • CWE-330 Use of Insufficiently Random Values
Technology feeds

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.

The maintainers of php/php-src published their own advisory on GitHub. Reviewed sources take precedence over it.