Description
Apache Struts versions 2.3 to 2.3.34 and 2.5 to 2.5.16 suffer from possible Remote Code Execution when alwaysSelectFullNamespace is true (either by user or a plugin like Convention Plugin) and then: results are used with no namespace and in same time, its upper package have no or wildcard namespace and similar to results, same possibility when using url tag which doesn't have value and action set and in same time, its upper package have no or wildcard namespace.
Remediation
References
https://cwiki.apache.org/confluence/display/WW/S2-057
https://security.netapp.com/advisory/ntap-20180822-0001/
http://www.securitytracker.com/id/1041547
http://www.securityfocus.com/bid/105125
https://lgtm.com/blog/apache_struts_CVE-2018-11776
http://www.arubanetworks.com/assets/alert/ARUBA-PSA-2018-005.txt
https://www.exploit-db.com/exploits/45262/
https://www.exploit-db.com/exploits/45260/
https://github.com/hook-s3c/CVE-2018-11776-Python-PoC
http://www.oracle.com/technetwork/security-advisory/alert-cve-2018-11776-5072787.html
https://www.exploit-db.com/exploits/45367/
http://www.oracle.com/technetwork/security-advisory/cpuoct2018-4428296.html
https://psirt.global.sonicwall.com/vuln-detail/SNWLID-2018-0012
http://www.securitytracker.com/id/1041888
https://security.netapp.com/advisory/ntap-20181018-0002/
https://www.oracle.com/technetwork/security-advisory/cpujan2019-5072801.html
https://www.oracle.com/security-alerts/cpujul2020.html
http://packetstormsecurity.com/files/172830/Apache-Struts-Remote-Code-Execution.html
https://lists.apache.org/thread.html/r6d03e45b81eab03580cf7f8bb51cb3e9a1b10a2cc0c6a2d3cc92ed0c%40%3Cannounce.apache.org%3E
Related Vulnerabilities
CVE-2022-45400 Vulnerability in maven package org.jvnet.hudson.plugins:japex
CVE-2021-21342 Vulnerability in maven package com.thoughtworks.xstream:xstream
CVE-2021-25916 Vulnerability in npm package patchmerge
CVE-2022-23913 Vulnerability in maven package org.apache.activemq:artemis-core-client
CVE-2021-29459 Vulnerability in maven package org.xwiki.platform:xwiki-platform-web