Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2023-37260— league/oauth2-server key exposed in exception message when passing as string and providing invalid pass phrase

Quick assessment

Affected
thephpleague oauth2-server
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

oauth2-server是个人开发者的一个符合标准的用 PHP 编写的 OAuth 2.0 授权服务器的实现。为应用程序提供身份验证和授权功能,保护API安全。 oauth2-server 8.3.2至8.5.3之前版本存在安全漏洞,该漏洞源于如果服务器将密钥以字符串传递给CryptKey构造函数,会导致密钥包含在 LogicException消息中。

CVSS 8.2 · High EPSS 0.95% · P61

Possible ATT&CK Techniques 1 AI

T1530 · Data from Cloud Storage
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2023-37260

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
league/oauth2-server key exposed in exception message when passing as string and providing invalid pass phrase
Source: CVE Program / CVE List V5
Vulnerability Description
league/oauth2-server is an implementation of an OAuth 2.0 authorization server written in PHP. Starting in version 8.3.2 and prior to version 8.5.3, servers that passed their keys to the CryptKey constructor as as string instead of a file path will have had that key included in a LogicException message if they did not provide a valid pass phrase for the key where required. This issue has been patched so that the provided key is no longer exposed in the exception message in the scenario outlined above. Users should upgrade to version 8.5.3 to receive the patch. As a workaround, pass the key as a file instead of a string.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
通过错误消息导致的信息暴露
Source: CVE Program / CVE List V5
Vulnerability Title
oauth2-server 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
oauth2-server是个人开发者的一个符合标准的用 PHP 编写的 OAuth 2.0 授权服务器的实现。为应用程序提供身份验证和授权功能,保护API安全。 oauth2-server 8.3.2至8.5.3之前版本存在安全漏洞,该漏洞源于如果服务器将密钥以字符串传递给CryptKey构造函数,会导致密钥包含在 LogicException消息中。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
thephpleague oauth2-server >= 8.3.2, < 8.5.3 -

II. Public POCs for CVE-2023-37260

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2023-37260

请登录查看更多情报信息。

Patches & Fixes for CVE-2023-37260 (1)

Vendor Advisories for CVE-2023-37260 (1)

Other References for CVE-2023-37260 (1)

IV. Related Vulnerabilities