Vulnerability DatabaseGHSA-7mc6-x925-7qvx

GHSA-7mc6-x925-7qvx
PHP vulnerability analysis and mitigation

Overview

The Microsoft Graph Beta PHP SDK contained a security vulnerability (GHSA-7mc6-x925-7qvx) in versions prior to 2.0.1, discovered and disclosed on December 5, 2023. The vulnerability existed in test code that exposed the phpinfo() function through the file vendor/microsoft/microsoft-graph-beta/tests/GetPhpInfo.php, which could reveal sensitive system information (GitHub Advisory).

Technical details

The vulnerability has a CVSS v3.1 base score of 5.3 (Moderate) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N. The issue stems from a test file containing the phpinfo() function call, which could be accessed and executed if the PHP application's /vendor directory was web-accessible. The vulnerability is classified as CWE-200 (Exposure of Sensitive Information to an Unauthorized Actor) (GitHub Advisory).

Impact

If exploited, an attacker could access sensitive system information including configuration details, modules, and environment variables. This information could potentially be used to gain access to additional data. The vulnerability requires a server misconfiguration (web-accessible /vendor directory) to be exploitable (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in version 2.0.1 of the Microsoft Graph Beta PHP SDK. For users unable to update immediately, temporary workarounds include: deleting the vendor/microsoft/microsoft-graph-beta/tests/GetPhpInfo.php file, removing access to the /vendor directory, or disabling the phpinfo function (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related PHP vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-23622HIGH8.7
  • PHPPHP
  • alextselegidis/easyappointments
NoNoJan 15, 2026
CVE-2026-23493HIGH8.6
  • PHPPHP
  • pimcore/pimcore
NoYesJan 15, 2026
CVE-2026-23496MEDIUM5.4
  • PHPPHP
  • pimcore/web2print-tools-bundle
NoYesJan 15, 2026
CVE-2026-23495MEDIUM4.3
  • PHPPHP
  • pimcore/admin-ui-classic-bundle
NoYesJan 15, 2026
CVE-2026-23494MEDIUM4.3
  • PHPPHP
  • pimcore/pimcore
NoYesJan 15, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management