漏洞描述 s2-005漏洞的起源源于S2-003(受影响版本: 低于Struts2.0.12),struts2会将http的每个参数名解析为OGNL语句执行(可理解为java代码)。OGNL表达式通过#来访问struts的对象,struts框架通过过滤#字符防止安全问题,然而通过unicode编码(\u0023)或8进制(\43)即绕过了安全限制,执行任意命令。
相关漏洞推荐 Apache Airflow Providers Edge3 设计缺陷漏洞 Apache Struts2 资源释放不当漏洞 POC CVE-2018-17082: Apache2 - Transfer-Encoding Chunked XSS POC apache-hive-config: Apache Hive Configuration - Exposure Apache Tomcat URL重写绕过漏洞 (CVE-2025-55752) Apache Tomcat 存在路径遍历漏洞(CVE-2025-55752) Apache ActiveMQ NMS AMQP Client 反序列化漏洞 Apache ActiveMQ Artemis 控制台 弱口令漏洞 CVE-2025-24813 Apache Tomcat 远程代码执行漏洞 Apache ZooKeeper /commands/snapshot 权限绕过漏洞(CVE-2024-51504) Apache Jackrabbit 代码注入漏洞 Apache Linkis 权限绕过漏洞(CVE-2023-27987) CVE-2019-17558: Apache Solr Velocity Template RCE