Skip to content
This page tracks the Ubuntu fix status. The vulnerability itself is described on the main CVE page. View CVE-2017-8923 →
Unrated

Vulnerability in php5

UBUNTU-CVE-2017-8923 First seen on SecPulse

Auto-generated summary

Assembled by SecPulse from the source data (CVSS, CWE, affected versions) using templates — no AI involved. Check the original description and references below for exact details.

A vulnerability tracked as UBUNTU-CVE-2017-8923 has been found in php5.
Successful exploitation can lead to full system takeover.
What to do: upgrade php5 to 7.0.33-0ubuntu0.16.04.16+esm3 or later.
If unsure, ask your IT team or search "php5 UBUNTU-CVE-2017-8923" on the vendor's site.

UBUNTU-CVE-2017-8923 (php5)
Attack vector: remote (network-reachable) / unauthenticated / no user interaction
Patched: 7.0.33-0ubuntu0.16.04.16+esm3 — apply immediately
Plan: 1) Audit SBOM/dependencies, 2) Stage→prod upgrade, 3) Add WAF/proxy monitoring on affected endpoints, 4) Hunt IOCs in logs.
Refs: see the GHSA / vendor advisory / patched release linked on this page.

What is the problem

A vulnerability (unclassified) exists in php5.

Affected scope

Check the vendor advisory for the affected versions of php5.

Severity

Severity: ?. Successful exploitation can lead to full system takeover.

How to fix

Update to 7.0.33-0ubuntu0.16.04.16+esm3.

Workaround

Until the patch is applied: disable the affected feature, apply WAF rules, or restrict access via network ACLs.

Detection

Search webserver/proxy logs for unusual request patterns matching this CVE's known IOCs. Run grep -r 'php5' . against your dependency files (package-lock.json, requirements.txt, go.sum) to find affected services.

Response actions

Concrete steps and command examples for SOC/SRE teams to execute in order

  1. 1
    Identify exposureidentify
    grep -r 'php5' . | grep -v node_modules

    リポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で php5 を grep し、稼働しているサービス・バージョンを把握する。

  2. 2
    Apply patchpatch
    Upgrade php5 to 7.0.33-0ubuntu0.16.04.16+esm3

    ステージング環境で 7.0.33-0ubuntu0.16.04.16+esm3 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。

  3. 3
    Post-deployment verificationverify
    Confirm patched version is live in production

    パッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。

Affected packages

PackageAffected → Fixed
Ubuntu:Pro:14.04:LTSphp5
All versions→ Not listed
Ubuntu:Pro:16.04:LTSphp7.0
< 7.0.33-0ubuntu0.16.04.16+esm3→ 7.0.33-0ubuntu0.16.04.16+esm3
Ubuntu:18.04:LTSphp7.2
< 7.2.24-0ubuntu0.18.04.11→ 7.2.24-0ubuntu0.18.04.11
Ubuntu:20.04:LTSphp7.4
< 7.4.3-4ubuntu2.10→ 7.4.3-4ubuntu2.10
Original description The description as published by the source.

The zend_string_extend function in Zend/zend_string.h in PHP through 7.1.5 does not prevent changes to string objects that result in a negative length, which allows remote attackers to cause a denial of service (application crash) or possibly have unspecified other impact by leveraging a script's use of .= with a long string.

Source: OSV.dev (Open Source Vulnerabilities) OSV

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details