漏洞信息
尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。
Vulnerability Title
Use-After-Free in SOAP using Apache map
Vulnerability Description
In PHP versions 8.2.* before 8.2.31, 8.3.* before 8.3.31, 8.4.* before 8.4.21, and 8.5.* before 8.5.6, the SOAP extension's object deduplication mechanism stores pointers to PHP objects in a global map without incrementing their reference counts. When an apache:Map node contains duplicate keys, processing the second entry overwrites the first in the temporary result map, freeing the original PHP object while its stale pointer remains in the map. A subsequent href reference to the freed node can copy the dangling pointer into the result. As PHP string allocations can reclaim the freed memory region, an attacker with control over the SOAP request body can exploit this use-after-free to achieve remote code execution.
CVSS Information
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/AU:Y/RE:M/U:Red
Vulnerability Type
释放后使用
Vulnerability Title
PHP 资源管理错误漏洞
Vulnerability Description
PHP是PHP开源的一种在服务器端执行的脚本语言。 PHP 8.2.31之前版本、8.3.31之前版本、8.4.21之前版本和8.5.6之前版本存在资源管理错误漏洞,该漏洞源于SOAP扩展的对象去重机制在全局映射中存储指向PHP对象的指针而未增加其引用计数,当apache:Map节点包含重复键时,处理第二个条目会覆盖第一个条目并释放原始PHP对象,而悬空指针仍保留在映射中,后续对已释放节点的href引用可能将悬空指针复制到结果中,攻击者可通过控制SOAP请求体利用此释放后重用实现远程代码执行。
CVSS Information
N/A
Vulnerability Type
N/A