doctrine-project database_abstraction_layer sql命令中使用的特殊元素转义处理不恰当(sql注入)

admin 2023-11-30 15:46:31 Ali_nvd 来源:ZONE.CI 全球网 0 阅读模式
中危 doctrine-project database_abstraction_layer sql命令中使用的特殊元素转义处理不恰当(sql注入)

CVE编号

CVE-2021-43608

利用情况

暂无

补丁情况

官方补丁

披露时间

2021-12-10
漏洞描述
Doctrine DBAL 3.x before 3.1.4 allows SQL Injection. The escaping of offset and length inputs to the generation of a LIMIT clause was not probably cast to an integer, allowing SQL injection to take place if application developers passed unescaped user input to the DBAL QueryBuilder or any other API that ultimately uses the AbstractPlatform::modifyLimitQuery API.
解决建议
建议您更新当前系统或软件至最新版,完成漏洞的修复。
参考链接
https://github.com/doctrine/dbal/commit/9dcfa4cb6c03250b78a84737ba7ceb82f4b7ba4d
https://github.com/doctrine/dbal/releases
https://github.com/doctrine/dbal/security/advisories/GHSA-r7cj-8hjg-x622
https://www.doctrine-project.org/2021/11/11/dbal3-vulnerability-fixed.html
受影响软件情况
# 类型 厂商 产品 版本 影响面
1
运行在以下环境
应用 doctrine-project database_abstraction_layer * From (including) 3.0.0 Up to (excluding) 3.1.4
运行在以下环境
系统 debian_10 php-doctrine-dbal * Up to (excluding) 2.9.2-1
运行在以下环境
系统 debian_11 php-doctrine-dbal * Up to (excluding) 2.12.1-2
运行在以下环境
系统 debian_12 php-doctrine-dbal * Up to (excluding) 3.6.1+dfsg-1
运行在以下环境
系统 debian_sid php-doctrine-dbal * Up to (excluding) 3.7.1+dfsg-1
阿里云评分 6.7
  • 攻击路径 远程
  • 攻击复杂度 容易
  • 权限要求 无需权限
  • 影响范围 全局影响
  • EXP成熟度 未验证
  • 补丁情况 官方补丁
  • 数据保密性 无影响
  • 数据完整性 无影响
  • 服务器危害 无影响
  • 全网数量 N/A
CWE-ID 漏洞类型
CWE-89 SQL命令中使用的特殊元素转义处理不恰当(SQL注入)
- avd.aliyun.com
weinxin
版权声明
本站原创文章转载请注明文章出处及链接,谢谢合作!
N/A Ali_nvd

N/A

N/ACVE编号 CVE-2024-9120利用情况 暂无补丁情况 N/A披露时间 2024-09-23漏洞描述Use after free in Dawn
评论:0   参与:  0