[Japanese]

JVNDB-2015-000101

PHP for Windows vulnerable to OS command injection

Overview

PHP for Windows contains an OS command injection due to a processing flaw in the escapeshellarg function.

Masahiro Yamada reported this vulnerability to IPA.
JPCERT/CC coordinated with the developer under Information Security Early Warning Partnership.
CVSS Severity (What is CVSS?)

CVSS V2 Severity:
Base Metrics 6.8 (Medium) [IPA Score]
  • Access Vector: Network
  • Access Complexity: Medium
  • Authentication: None
  • Confidentiality Impact: Partial
  • Integrity Impact: Partial
  • Availability Impact: Partial
Affected Products


The PHP Group
  • PHP for Windows versions prior to 5.4.42
  • PHP for Windows versions prior to 5.5.26
  • PHP for Windows versions prior to 5.6.10

Impact

Specifying a specially crafted parameter in the escapeshellarg function may result in an arbitrary OS command being executed.
Solution

[Apply the patch]
Apply the patch according to the infomration provided by the developer.
Vendor Information

The PHP Group Turbolinux, Inc.
CWE (What is CWE?)

  1. OS Command Injection(CWE-78) [IPA Evaluation]
CVE (What is CVE?)

  1. CVE-2015-4642
References

  1. JVN : JVN#73568461
  2. National Vulnerability Database (NVD) : CVE-2015-4642
  3. IPA SECURITY ALERTS : Security Alert for Vulnerability in PHP for Windows (JVN#73568461) (in Japanese)
Revision History

  • [2015/07/17]
      Web page was published
    [2015/07/22]
      References : Content was added
    [2015/07/30]
      Vendor Information : Content was added
    [2016/05/19]
      References : Content was added
      Vendor Information : Content was added