Publish Advisories

GHSA-cgwq-6prq-8h9q
GHSA-mhhp-c3cm-2r86
This commit is contained in:
advisory-database[bot]
2023-12-05 22:47:38 +00:00
parent aedaeb8054
commit 1160a9cc11
2 changed files with 169 additions and 0 deletions
@@ -0,0 +1,92 @@
{
"schema_version": "1.4.0",
"id": "GHSA-cgwq-6prq-8h9q",
"modified": "2023-12-05T22:46:25Z",
"published": "2023-12-05T22:46:25Z",
"aliases": [
"CVE-2023-49282"
],
"summary": "Test code in published microsoft-graph package exposes phpinfo()",
"details": "### Impact\n\nThe Microsoft Graph PHP SDK published packages which contained test code that enabled the use of the phpInfo() function from any application that could access and execute the file at vendor/microsoft/microsoft-graph/tests/GetPhpInfo.php. The phpInfo function exposes system information. \n\nThe vulnerability affects the GetPhpInfo.php script of the PHP SDK which contains a call to the phpinfo() function. \n\nThis vulnerability requires a misconfiguration of the server to be present so it can be exploited. For example, making the PHP applications /vendor directory web accessible. \n\nThe combination of the vulnerability and the server misconfiguration would allow an attacker to craft an HTTP request that executes the phpinfo() method. The attacker would then be able to get access to system information like configuration, modules, and environment variables and later on use the compromised secrets to access additional data.\n\n### Patches\n\nThis problem has been patched in versions 1.109.1 and 2.0.0-RC5.\n\n### Workarounds\n\nIf an immediate deployment with the updated vendor package is not available, you can perform the following temporary workarounds:\n- delete the vendor/microsoft/microsoft-graph/tests/GetPhpInfo.php file\n- remove access to the /vendor directory will remove this vulnerability\n- disable the phpinfo function\n\n### References\nFor more information about the vulnerability and the patch, users can refer to the following sources: \n\n- https://nvd.nist.gov/vuln/detail/CVE-2023-49103\n- https://github.com/microsoftgraph/msgraph-beta-sdk-php/compare/2.0.0...2.0.1 \n- https://github.com/microsoftgraph/msgraph-sdk-php-core/compare/2.0.1...2.0.2 \n- https://github.com/microsoftgraph/msgraph-sdk-php/compare/1.109.0...1.109.1 \n- https://owncloud.com/security-advisories/disclosure-of-sensitive-credentials-and-configuration-in-containerized-deployments/ ",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:L"
}
],
"affected": [
{
"package": {
"ecosystem": "Packagist",
"name": "microsoft/microsoft-graph"
},
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "1.16.0"
},
{
"fixed": "1.109.1"
}
]
}
]
},
{
"package": {
"ecosystem": "Packagist",
"name": "microsoft/microsoft-graph"
},
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "2.0.0-RC1"
},
{
"fixed": "2.0.1"
}
]
}
]
}
],
"references": [
{
"type": "WEB",
"url": "https://github.com/microsoftgraph/msgraph-sdk-php/security/advisories/GHSA-cgwq-6prq-8h9q"
},
{
"type": "WEB",
"url": "https://github.com/microsoftgraph/msgraph-beta-sdk-php/compare/2.0.0...2.0.1"
},
{
"type": "PACKAGE",
"url": "https://github.com/microsoftgraph/msgraph-sdk-php"
},
{
"type": "WEB",
"url": "https://github.com/microsoftgraph/msgraph-sdk-php-core/compare/2.0.1...2.0.2"
},
{
"type": "WEB",
"url": "https://github.com/microsoftgraph/msgraph-sdk-php/compare/1.109.0...1.109.1"
},
{
"type": "WEB",
"url": "https://owncloud.com/security-advisories/disclosure-of-sensitive-credentials-and-configuration-in-containerized-deployments/"
}
],
"database_specific": {
"cwe_ids": [
"CWE-200"
],
"severity": "MODERATE",
"github_reviewed": true,
"github_reviewed_at": "2023-12-05T22:46:25Z",
"nvd_published_at": null
}
}
@@ -0,0 +1,77 @@
{
"schema_version": "1.4.0",
"id": "GHSA-mhhp-c3cm-2r86",
"modified": "2023-12-05T22:46:57Z",
"published": "2023-12-05T22:46:57Z",
"aliases": [
"CVE-2023-49283"
],
"summary": "Test code in published microsoft-graph-core package exposes phpinfo()",
"details": "### Impact\n\nThe Microsoft Graph Core PHP SDK published packages which contained test code that enabled the use of the phpInfo() function from any application that could access and execute the file at vendor/microsoft/microsoft-graph-core/tests/GetPhpInfo.php. The phpInfo function exposes system information. \n\nThe vulnerability affects the GetPhpInfo.php script of the PHP SDK which contains a call to the phpinfo() function. \n\nThis vulnerability requires a misconfiguration of the server to be present so it can be exploited. For example, making the PHP applications /vendor directory web accessible. \n\nThe combination of the vulnerability and the server misconfiguration would allow an attacker to craft an HTTP request that executes the phpinfo() method. The attacker would then be able to get access to system information like configuration, modules, and environment variables and later on use the compromised secrets to access additional data.\n\n### Patches\n\nThis problem has been patched in version 2.0.2.\n\n### Workarounds\n\nIf an immediate deployment with the updated vendor package is not available, you can perform the following temporary workarounds:\n- delete the vendor/microsoft/microsoft-graph-core/tests/GetPhpInfo.php file\n- remove access to the /vendor directory will remove this vulnerability\n- disable the phpinfo function\n\n### References\nFor more information about the vulnerability and the patch, users can refer to the following sources: \n\n- https://nvd.nist.gov/vuln/detail/CVE-2023-49103\n- https://github.com/microsoftgraph/msgraph-beta-sdk-php/compare/2.0.0...2.0.1 \n- https://github.com/microsoftgraph/msgraph-sdk-php-core/compare/2.0.1...2.0.2 \n- https://github.com/microsoftgraph/msgraph-sdk-php/compare/1.109.0...1.109.1 \n- https://owncloud.com/security-advisories/disclosure-of-sensitive-credentials-and-configuration-in-containerized-deployments/ ",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:L"
}
],
"affected": [
{
"package": {
"ecosystem": "Packagist",
"name": "microsoft/microsoft-graph-core"
},
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.0.2"
}
]
}
]
}
],
"references": [
{
"type": "WEB",
"url": "https://github.com/microsoftgraph/msgraph-sdk-php-core/security/advisories/GHSA-mhhp-c3cm-2r86"
},
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2023-49103"
},
{
"type": "WEB",
"url": "https://github.com/microsoftgraph/msgraph-beta-sdk-php/compare/2.0.0...2.0.1"
},
{
"type": "PACKAGE",
"url": "https://github.com/microsoftgraph/msgraph-sdk-php-core"
},
{
"type": "WEB",
"url": "https://github.com/microsoftgraph/msgraph-sdk-php-core/compare/2.0.1...2.0.2"
},
{
"type": "WEB",
"url": "https://github.com/microsoftgraph/msgraph-sdk-php/compare/1.109.0...1.109.1"
},
{
"type": "WEB",
"url": "https://owncloud.com/security-advisories/disclosure-of-sensitive-credentials-and-configuration-in-containerized-deployments/"
}
],
"database_specific": {
"cwe_ids": [
"CWE-200"
],
"severity": "MODERATE",
"github_reviewed": true,
"github_reviewed_at": "2023-12-05T22:46:57Z",
"nvd_published_at": null
}
}