2021-05-11 11:07:05 +00:00
id : CVE-2017-12149
info :
name : Java/Jboss Deserialization [RCE]
author : fopina
severity : critical
description : In Jboss Application Server as shipped with Red Hat Enterprise Application Platform 5.2, it was found that the doFilter method in the ReadOnlyAccessFilter of the HTTP Invoker does not restrict classes for which it performs deserialization and thus allowing an attacker to execute arbitrary code via crafted serialized data.
2021-08-18 11:37:49 +00:00
reference :
2021-08-19 14:44:46 +00:00
- https://nvd.nist.gov/vuln/detail/CVE-2017-12149
- https://chowdera.com/2020/12/20201229190934023w.html
- https://github.com/vulhub/vulhub/tree/master/jboss/CVE-2017-12149
2021-12-27 05:01:53 +00:00
tags : cve,cve2017,jboss,java,rce,deserialization
2021-09-10 11:26:40 +00:00
classification :
cvss-metrics : CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
cvss-score : 9.80
cve-id : CVE-2017-12149
cwe-id : CWE-502
2021-05-11 11:07:05 +00:00
requests :
- raw :
- |
POST /invoker/JMXInvokerServlet/ HTTP/1.1
Host : {{Hostname}}
Content-Type : application/octet-stream
{{ base64_decode("rO0ABXNyABNqYXZhLnV0aWwuQXJyYXlMaXN0eIHSHZnHYZ0DAAFJAARzaXpleHAAAAACdwQAAAACdAAJZWxlbWVudCAxdAAJZWxlbWVudCAyeA==") }}
- |
POST /invoker/EJBInvokerServlet/ HTTP/1.1
Host : {{Hostname}}
Content-Type : application/octet-stream
{{ base64_decode("rO0ABXNyABNqYXZhLnV0aWwuQXJyYXlMaXN0eIHSHZnHYZ0DAAFJAARzaXpleHAAAAACdwQAAAACdAAJZWxlbWVudCAxdAAJZWxlbWVudCAyeA==") }}
2021-05-11 18:17:09 +00:00
2021-05-11 11:07:05 +00:00
matchers-condition : and
matchers :
- type : word
words :
- "ClassCastException"
part : body
2021-05-11 18:17:09 +00:00
- type : word
words :
- "application/x-java-serialized-object"
2021-05-11 20:34:56 +00:00
part : header