tencent cloud

Elastic MapReduce

  • Release Notes and Announcements
  • Product Introduction
  • Purchase Guide
    • EMR on CVM Billing Instructions
    • EMR on TKE Billing Instructions
    • EMR Serverless HBase Billing Instructions
    • EMR Serverless TCBase Billing Overview
  • Getting Started
  • EMR on CVM Operation Guide
    • Planning Cluster
    • Administrative rights
    • Configuring Cluster
    • Managing Cluster
    • Managing Service
    • Monitoring and Alarms
    • TCInsight
  • EMR on TKE Operation Guide
  • EMR Serverless HBase Operation Guide
  • EMR Serverless TCBase Operation Guide
  • EMR Development Guide
    • Hadoop Development Guide
    • Spark Development Guide
    • HBase Development Guide
    • Phoenix on Hbase Development Guide
    • Hive Development Guide
    • Presto Development Guide
    • Sqoop Development Guide
    • Hue Development Guide
    • Oozie Development Guide
    • Flume Development Guide
    • Kerberos Development Guide
    • Knox Development Guide
    • Alluxio Development Guide
    • Kylin Development Guide
    • Livy Development Guide
    • Kyuubi Development Guide
    • Zeppelin Development Guide
    • Hudi Development Guide
    • Superset Development Guide
    • Impala Development Guide
    • Druid Development Guide
    • TensorFlow Development Guide
    • Kudu Development Guide
    • Ranger Development Guide
    • Kafka Development Guide
    • StarRocks Development Guide
    • Flink Development Guide
    • JupyterLab Development Guide
    • MLflow Development Guide
  • Practical Tutorial
    • Practice of EMR on CVM Ops
    • Data Migration
    • Practical Tutorial on Custom Scaling
  • API Documentation
    • History
    • Introduction
    • API Category
    • Making API Requests
    • Cluster Resource Management APIs
    • Cluster Service APIs
    • User Management APIs
    • Information Query APIs
    • Information Query APIs
    • Scaling APIs
    • Configuration APIs
    • Other APIs
    • Cluster Lifecycle APIs
    • Serverless HBase APIs
    • YARN Resource Scheduling APIs
    • Data Types
    • Error Codes
  • FAQs
    • EMR on CVM
  • Service Level Agreement
  • Contact Us
문서Elastic MapReduceRelease Notes and AnnouncementsSecurity AnnouncementsSecurity Advisory on PHP Remote Code Execution Vulnerability (php2shell)

Security Advisory on PHP Remote Code Execution Vulnerability (php2shell)

다운로드
포커스 모드
폰트 크기
마지막 업데이트 시간: 2026-11-26 18:21:56
AI 번역

Vulnerability description

Recently, the PHP team disclosed a Use After Free vulnerability (codenamed php2shell, with CVE IDs CVE-2026-109618 / CVE-2026-109619). When PHP processes HTTP requests as mod_php / PHP-FPM / CGI, an attacker can send a crafted multipart/form-data POST request to trigger unauthorized remote code execution (RCE), with a CVSS 4.x score of 9.2. The PoC is already public and has been exploited in the wild. Please remediate this vulnerability as soon as possible.

Impact on EMR Versions

PHP is introduced by the ganglia component and exists only in EMR versions that include ganglia. The following EMR editions include the ganglia component (3.7.2) and are affected by this vulnerability. For details, see Component Version Overview.
EMR Edition
ganglia Component
EMR-V2.6.0,EMR-V2.7.0
3.7.2
EMR-V3.3.0,EMR-V3.4.0,EMR-V3.5.0
3.7.2
Note:
Deprecated versions (EMR-V2.5.x and earlier) are also affected by this vulnerability if they include ganglia. Please handle them as well.

Remediation

Take the ganglia page offline and remove PHP: use the cleanup script provided by Tencent Cloud to uninstall ganglia-web and all php* RPMs, and remove PHP compiled from source code to completely eliminate PHP's ability to process HTTP requests.
The script is idempotent and automatically adapts to the state of each node. It can be safely executed regardless of whether ganglia-web / php is installed or whether services such as httpd are started. Nodes without the relevant packages are automatically skipped without side effects.
Keep the httpd, ganglia, ganglia-gmond, ganglia-gmetad, and ganglia-devel packages without disrupting the EMR service model.
Cost: The ganglia page is no longer available (the page status changes from 200 to 403), while the gmetad/gmond collection processes remain unaffected.

Remediation Steps

1. Download the cleanup script clean_php_ganglia.sh: Script address >>
2. Use the Cluster Scripts feature in the EMR console to distribute the cleanup script to all nodes in the cluster for batch execution.

Verification Method

After the cleanup is complete, run the following command on each node to verify:
rpm -qa 'php*' | wc -l # Expected 0


도움말 및 지원

문제 해결에 도움이 되었나요?

피드백