nuclei-templates/http/cves/2017/CVE-2017-12149.yaml

60 lines
2.3 KiB
YAML
Raw Normal View History

id: CVE-2017-12149
info:
name: Jboss Application Server - Remote Code Execution
2023-02-07 15:23:02 +00:00
author: fopina,s0obi
severity: critical
description: Jboss Application Server as shipped with Red Hat Enterprise Application Platform 5.2 is susceptible to a remote code execution vulnerability because the doFilter method in the ReadOnlyAccessFilter of the HTTP Invoker does not restrict classes for which it performs deserialization, thus allowing an attacker to execute arbitrary code via crafted serialized data.
reference:
- https://chowdera.com/2020/12/20201229190934023w.html
- https://github.com/vulhub/vulhub/tree/master/jboss/CVE-2017-12149
- https://nvd.nist.gov/vuln/detail/CVE-2017-12149
- https://bugzilla.redhat.com/show_bug.cgi?id=1486220
2023-07-15 16:29:17 +00:00
- https://access.redhat.com/errata/RHSA-2018:1607
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.8
cve-id: CVE-2017-12149
cwe-id: CWE-502
2023-08-31 11:46:18 +00:00
epss-score: 0.97292
2023-07-11 19:49:27 +00:00
cpe: cpe:2.3:a:redhat:jboss_enterprise_application_platform:5.0.0:*:*:*:*:*:*:*
2023-08-31 11:46:18 +00:00
epss-percentile: 0.9979
metadata:
max-request: 3
2023-07-11 19:49:27 +00:00
vendor: redhat
product: jboss_enterprise_application_platform
tags: java,rce,deserialization,kev,vulhub,cve,cve2017,jboss,intrusive
http:
- 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==") }}
2023-02-07 15:23:02 +00:00
- |
POST /invoker/readonly HTTP/1.1
Host: {{Hostname}}
Content-Type: application/octet-stream
{{ base64_decode("rO0ABXNyABNqYXZhLnV0aWwuQXJyYXlMaXN0eIHSHZnHYZ0DAAFJAARzaXpleHAAAAACdwQAAAACdAAJZWxlbWVudCAxdAAJZWxlbWVudCAyeA==") }}
matchers-condition: and
matchers:
- type: word
part: body
words:
2023-07-11 19:49:27 +00:00
- ClassCastException
2023-02-23 17:16:13 +00:00
2023-02-07 15:23:02 +00:00
- type: status
status:
- 200
- 500