Exploit database

Vulnerability

CVE-2018-11776

Vulnerability details

Score
8.1
Severity
high

CVSS 3.1 · CISA-ADP

Vector string

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

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.

CVE Program

Exploit source choices

24 sources
Apache Struts 2 Namespace Redirect OGNL Injection
MSF-multi--http--struts2_namespace_ognlMetasploitLinux,Unix,Windows / remote

This module exploits a remote code execution vulnerability in Apache Struts version 2.3 - 2.3.4, and 2.5 - 2.5.16. Remote Code Execution can be performed via an endpoint that makes use of a redirect action. Note that this exploit is dependant on the version of Tomcat running on the target. Versions of Tomcat starting with 7.0.88 currently don't support payloads larger than ~7.5kb. Windows Meterpreter sessions on Tomcat >=7.0.88 are currently not supported. Native payloads will be converted to executables and dropped in the server's temp dir. If this fails, try a cmd/* payload, which won't have to write to the disk.

2018-08-22struts2_namespace_ognl.rb
albinowax/activescanplusplus
GH-67a7001feb8fe73dcda4eb5292cbdbb5GitHubUnofficial GitHub source

ActiveScan++ Burp Suite Plugin

2014-06-2328 files · 671 stars
mazen160/struts-pwn_cve-2018-11776
GH-e7c4a70c03f7c0fb00c45d6f75087cf7GitHubUnofficial GitHub source

An exploit for Apache Struts CVE-2018-11776

2018-08-254 files · 304 stars
bitthebyte/eagle
GH-458fbd3a84bbbe8f0b68bcf01899ae48GitHubUnofficial GitHub source

Multithreaded Plugin based vulnerability scanner for mass detection of web-based applications vulnerabilities

2020-05-1141 files · 129 stars
hook-s3c/cve-2018-11776-python-poc
GH-1812f7f181b1112667c7714a65fc8298GitHubUnofficial GitHub source

Working Python test and PoC for CVE-2018-11776, includes Docker lab

2018-08-245 files · 123 stars
arpsyndicate/kenzer-templates
GH-e5a0867366963da7a3617cf6f32fda4bGitHubUnofficial GitHub source

essential templates for kenzer [DEPRECATED]

2020-09-185,308 files · 118 stars
649/apache-struts-shodan-exploit
GH-572962d6b6b07fe13b710602743b7fdbGitHubUnofficial GitHub source

This tool takes advantage of CVE-2018-11776 and Shodan to perform mass exploitation of verified and vulnerable Apache Struts servers.

2018-08-294 files · 56 stars
bitthebyte/domainker
GH-5b63c05a74c6160a4b3a10368f815606GitHubUnofficial GitHub source

BugBounty Tool

2018-11-0728 files · 40 stars
ekultek/strutter
GH-5eaea36b451c5283ef05a949fb591466GitHubUnofficial GitHub source

Proof of Concept for CVE-2018-11776

2018-08-273 files · 21 stars
arlyone/apache-struts-0day-exploit
GH-46abb85e60412ebe16055ffc536e48a5GitHubUnofficial GitHub source

Critical Remote Code Execution Vulnerability (CVE-2018-11776) Found in Apache Struts.

2019-10-103 files · 16 stars
brianwrf/s2-057-cve-2018-11776
GH-8930911dbd03bca30f35bac0b5095f69GitHubUnofficial GitHub source

A simple exploit for Apache Struts RCE S2-057 (CVE-2018-11776)

2018-08-282 files · 16 stars
jiguangsdf/cve-2018-11776
GH-935a92ee0afd6f6a1bf30125739c108eGitHubUnofficial GitHub source

CVE-2018-11776(S2-057) EXPLOIT CODE

2018-08-244 files · 10 stars
0x0d3ad/kn0ck
GH-55c293ea3bf3542dfa235da556787510GitHubUnofficial GitHub source

Automated Tools Pentest

2019-08-0438 files · 7 stars
0xh4di/payloadsallthethings
GH-c6b89ed25988e2ce35de042a6edd4b2cGitHubUnofficial GitHub source

0xh4di/payloadsallthethings source repository

2019-05-19303 files · 4 stars
knqyf263/cve-2018-11776
GH-f1a546aa27947416edd5c5db4488662aGitHubUnofficial GitHub source

Environment for CVE-2018-11776 / S2-057 (Apache Struts 2)

2018-08-256 files · 4 stars
alex14324/mitaka
GH-3c26e1f812c05ea0e739386180b511d3GitHubUnofficial GitHub source

alex14324/mitaka source repository

2019-10-02100 files · 3 stars
tuxotron/cve-2018-11776-docker
GH-5994f13127be650e9d5749f26a964b17GitHubUnofficial GitHub source

tuxotron/cve-2018-11776-docker source repository

2018-08-284 files · 3 stars
anhtu97/payloadalleverything
GH-314ff9fbe2ee610f7bec92941bb1d186GitHubUnofficial GitHub source

anhtu97/payloadalleverything source repository

2019-04-2397 files · 1 stars
aisle-dev-enterprise/securitylab
GH-6e0189b631afdc192fa703262973641cGitHubUnofficial GitHub source

aisle-dev-enterprise/securitylab source repository

2025-01-28517 files · 0 stars
alex14324/eagel
GH-22ba0e615630f1a86b74020c0f7afe42GitHubUnofficial GitHub source

alex14324/eagel source repository

2020-10-2037 files · 0 stars
apkadmin/payloadsall
GH-7268084368e7f193f26cd49dc1f2f600GitHubUnofficial GitHub source

apkadmin/payloadsall source repository

2019-12-14410 files · 0 stars