PoC Monitor
← All CVEs
CVE-2017-12149published 4 Oct 2017 20:00 UTCData: JSON · API

Red Hat, Inc. jbossas

Red Hat JBoss Application Server Remote Code Execution Vulnerability

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.

First public PoC 48 daysafter publication · 21 Nov 2017
Public PoCs1715 on GitHub · 2 Exploit-DB, Metasploit or nuclei
CVSS9.8critical · scored by CISA ADP · CWE-502
CISA KEV 10 Dec 20214.2 years after publication · ransomware use known

Timeline

Days relative to CVE publication
t=0+180+360+540+720+900+1080+1260+1440CVE published4 Oct 2017 · t = 0First public PoC21 Nov 2017 · t+48dAdded to CISA KEV10 Dec 2021 · t+4.2y

First public PoC 48 days after publication; added to CISA KEV 4.2 years after publication. First PoC: sevck/CVE-2017-12149 (created 21 Nov 2017, found by us: backfilled).

PoC repositories

Found on GitHub.

15 PoCs · 1 informational · 1 not a PoC

PoCs 15
RepositoryCreatedStarsAssessment
joaomatosf/JavaDeserH2HC 11 Sep 2017 −23 d 517 PoC older repo: PoC date unknown, not used for the first PoC
sevck/CVE-2017-12149 21 Nov 2017 +48 d 22 PoC
yunxu1/jboss-_CVE-2017-12149 28 Nov 2017 +54 d 210 PoC
1337g/CVE-2017-12149 22 Dec 2017 +78 d 16 PoC
ozkanbilge/Java-Reverse-Shell 8 Nov 2018 +1.1 y 4 PoC
jreppiks/CVE-2017-12149 22 Aug 2019 +1.9 y 14 PoC
VVeakee/CVE-2017-12149 14 Apr 2022 +4.5 y 0 PoC
merlinepedra25/JavaDeserH2HC 27 Jun 2022 +4.7 y 0 PoC
merlinepedra/JavaDeserH2HC 27 Jun 2022 +4.7 y 0 PoC
Sathyasri1/JavaDeserH2HC 5 Apr 2023 +5.5 y 0 PoC
MrE-Fog/jboss-_CVE-2017-12149 6 Aug 2023 +5.8 y 0 PoC
JesseClarkND/CVE-2017-12149 30 Apr 2024 +6.6 y 0 PoC
zesnd/cve-2017-12149 21 Dec 2024 +7.2 y 0 PoC
galois17/cve-2017-12149-playground 1 Jan 2026 +8.2 y 0 PoC
CyberCTF/vulhub-jboss-cve-2017-12149 8 Oct 2026 +9.0 y 0 PoC
Informational 1
RepositoryCreatedStarsAssessment
Xcatolin/jboss-deserialization 30 May 2021 +3.7 y 0 Informational · write-up
Not a PoC 1
RepositoryCreatedStarsAssessment
ianxtianxt/CVE-2015-7501 21 Feb 2020 +2.4 y 22 Not a PoC · unrelated

Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.

Other public exploits

Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.
SourceTitlePublishedFound by us
MetasploitMetasploit auxiliary: JBoss Vulnerability Scanner (auxiliary/scanner/http/jboss_vulnscan)20 Jul 201814 Nov 2026
nuclei templatenuclei template: Jboss Application Server - Remote Code Execution27 Apr 202314 Nov 2026

PoC characteristics

What to hunt for in your logs · from 15 PoC repos

POST /invoker/readonly

Key headers
Accept: */* Cache-Control: no-cache X-Requested-With: XMLHttpRequest
Body markers
@poc.ser= in application/x-www-form-urlencoded
Ports
8080
PoC User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:63.0) Gecko/20100101 Firefox/63.0
Seen in
5 repos: 1337g/CVE-2017-12149, JesseClarkND/CVE-2017-12149, galois17/cve-2017-12149-playground, jreppiks/CVE-2017-12149, zesnd/cve-2017-12149
Evidence
1337g/CVE-2017-12149/CVE-2017-12149.py:115 JesseClarkND/CVE-2017-12149/CVE-2017-12149.py:115 galois17/cve-2017-12149-playground/README.md:45 jreppiks/CVE-2017-12149/jdspoc.py:59 zesnd/cve-2017-12149/cve-2017-12149_poc.py:29

Regex

Generated from PoC characteristics; not yet reviewed. Matches the request path and query.

POST /invoker/readonly
(?i)^/invoker/readonly(?:[?#].*)?$

Suricata

Template generated from PoC characteristics. Review before deploying.

POST /invoker/readonly
alert http any any -> $HOME_NET [8080] (msg:"GG PoC-Monitor CVE-2017-12149 Red Hat, Inc. jbossas exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/invoker/readonly"; http.header; content:"Accept: */*"; nocase; http.header; content:"Cache-Control: no-cache"; nocase; http.header; content:"X-Requested-With: XMLHttpRequest"; nocase; http.request_body; content:"@poc.ser="; reference:url,poc.griffinguard.io/cve/CVE-2017-12149; classtype:web-application-attack; sid:9580634; rev:1;)

Sigma

Template generated from PoC characteristics. Review before deploying.

POST /invoker/readonly
title: Red Hat, Inc. jbossas exploit attempt (CVE-2017-12149)
id: gg-pocmon-cve-2017-12149-9580634
status: experimental
description: Request pattern taken from public PoCs for CVE-2017-12149. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2017-12149
logsource:
  category: webserver
detection:
  selection:
    cs-method: POST
    cs-uri-stem|contains|all:
      - '/invoker/readonly'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2017.12149