中危 owasp enterprise_security_api 在web页面生成时对输入的转义处理不恰当(跨站脚本)
CVE编号
CVE-2022-24891利用情况
暂无补丁情况
官方补丁披露时间
2022-04-28漏洞描述
ESAPI (The OWASP Enterprise Security API) is a free, open source, web application security control library. Prior to version 2.3.0.0, there is a potential for a cross-site scripting vulnerability in ESAPI caused by a incorrect regular expression for "onsiteURL" in the **antisamy-esapi.xml** configuration file that can cause "javascript:" URLs to fail to be correctly sanitized. This issue is patched in ESAPI 2.3.0.0. As a workaround, manually edit the **antisamy-esapi.xml** configuration files to change the "onsiteURL" regular expression. More information about remediation of the vulnerability, including the workaround, is available in the maintainers' release notes and security bulletin.解决建议
建议您更新当前系统或软件至最新版,完成漏洞的修复。受影响软件情况
# | 类型 | 厂商 | 产品 | 版本 | 影响面 | ||||
1 | |||||||||
---|---|---|---|---|---|---|---|---|---|
运行在以下环境 | |||||||||
应用 | owasp | enterprise_security_api | * | Up to (excluding) 2.3.0.0 | |||||
运行在以下环境 | |||||||||
系统 | debian_10 | libowasp-esapi-java | * | Up to (including) 2.1.0-3 | |||||
运行在以下环境 | |||||||||
系统 | debian_11 | libowasp-esapi-java | * | Up to (including) 2.1.0-3.1 | |||||
运行在以下环境 | |||||||||
系统 | debian_12 | libowasp-esapi-java | * | Up to (excluding) 2.4.0.0-1 | |||||
运行在以下环境 | |||||||||
系统 | debian_9 | libowasp-esapi-java | * | Up to (including) 2.1.0-3 | |||||
运行在以下环境 | |||||||||
系统 | debian_sid | libowasp-esapi-java | * | Up to (excluding) 2.4.0.0-1 | |||||
- 攻击路径 本地
- 攻击复杂度 复杂
- 权限要求 普通权限
- 影响范围 越权影响
- EXP成熟度 未验证
- 补丁情况 官方补丁
- 数据保密性 无影响
- 数据完整性 无影响
- 服务器危害 无影响
- 全网数量 N/A
CWE-ID | 漏洞类型 |
CWE-79 | 在Web页面生成时对输入的转义处理不恰当(跨站脚本) |
NVD-CWE-Other |
Exp相关链接

版权声明
本站原创文章转载请注明文章出处及链接,谢谢合作!
评论