PoC Monitor
← All CVEs
CVE-2017-1000486published 3 Jan 2018 20:00 UTCData: JSON · API

Primetek Primefaces Application

Primetek Primefaces Remote Code Execution Vulnerability

Primetek Primefaces 5.x is vulnerable to a weak encryption flaw resulting in remote code execution

First public PoC 14 daysafter publication · 18 Jan 2018 · Exploit-DB
Public PoCs107 on GitHub · 3 Exploit-DB, Metasploit or nuclei
CVSS9.8critical · scored by CISA ADP · CWE-326
CISA KEV 10 Jan 20224.0 years after publication

Affected versions and mitigation

From the CVE record, GitHub Security Advisories and the vendor's references.

Affected

org.primefaces:primefaces (Maven)
  • >= 5.0, < 6.0

Fixed in 6.0

from GitHub Security Advisory GHSA-j239-4gqg-5j54

Mitigation

Upgrade org.primefaces:primefaces to 6.0 or later.

Timeline

Days relative to CVE publication
t=0+180+360+540+720+900+1080+1260+1440CVE published3 Jan 2018 · t = 0First public PoC18 Jan 2018 · t+14dAdded to CISA KEV10 Jan 2022 · t+4.0y

First public PoC 14 days after publication; added to CISA KEV 4.0 years after publication. First PoC: Primefaces 5.x - Remote Code Execution (Metasploit) (Exploit-DB, 18 Jan 2018).

PoC repositories

Found on GitHub.

7 PoCs · 3 pending

PoCs 7
RepositoryCreatedFound by usStarsAssessment
mogwailabs/CVE-2017-1000486 17 Oct 2018 +287 d backfilled 9 PoC
000pp/pwnfaces 9 Sep 2022 +4.7 y backfilled 19 PoC
dsssssssm/pwnfaces 9 Sep 2022 +4.7 y backfilled 19 PoC
oppsec/pwnfaces 9 Sep 2022 +4.7 y backfilled 19 PoC
LongWayHomie/CVE-2017-1000486 15 Dec 2023 +5.9 y backfilled 0 PoC
jam620/primefaces 13 Feb 2024 +6.1 y backfilled 0 PoC
keitan339/primefaces-cve-2017-1000486 28 Oct 2026 +8.8 y 14 Nov 2026 0 PoC
Pending 3
RepositoryCreatedStarsAssessment
pimps/CVE-2017-1000486 3 Sep 2018 +242 d 95 Pending · repository exceeds size limit via PoC Index
cved-sources/cve-2017-1000486 11 Jan 2019 +1.0 y 0 Pending · repository exceeds size limit via PoC Index
Flags · score 30
  • owner account created less than 7 days before the repo

Below the suspicion threshold (50); does not change the assessment.

Pastea/CVE-2017-1000486 5 Aug 2021 +3.6 y 4 Pending · repository exceeds size limit via PoC Index

Only PoCs count toward the first-PoC date and the characteristics below. "Backfilled" means we found the repository more than 30 days after it was created. 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
CVE record (tagged exploit)43733unknown14 Nov 2026
Exploit-DBPrimefaces 5.x - Remote Code Execution (Metasploit)18 Jan 201814 Nov 2026
MetasploitMetasploit exploit: Primefaces Remote Code Execution Exploit (exploit/multi/http/primefaces_weak_encryption_rce)23 Nov 202414 Nov 2026
nuclei templatenuclei template: Primetek Primefaces 5.x - Remote Code Execution27 Apr 202314 Nov 2026

PoC characteristics

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

POST /javax.faces.resource/dynamiccontent.properties.{var}

Body markers
pfdrt=sc ln=primefaces pfdrid= in application/x-www-form-urlencoded
Ports
8080
Seen in
2 repos: keitan339/primefaces-cve-2017-1000486, mogwailabs/CVE-2017-1000486
Evidence
keitan339/primefaces-cve-2017-1000486/CVE-2017-1000486-master/primefaces.py:22 mogwailabs/CVE-2017-1000486/primefaces.py:22

POST /xc-one-pos/javax.faces.resource/dynamiccontent.properties.xhtml

Body markers
pfdrt=sc ln=primefaces pfdrid=4xE5s8AClZxUxmyaZjpBstMXUalIgOJHOtvxel/v4YXvibdOn52ow4M6lDaKd9Gb8JdQqbACZNWVZpVS+3sX1Hoizouty1mYYT4yJsKPnUZ0LUHDvN0GB5YLgX1PkNY+1ZQ/nOSg5J1LDyzAjBheAxLDODIVcHkmJ6hnJsQ0YQ8bMU5++TqeD4BGqCZMDjP+ZQvveiUhxsUC/+tPqnOgFSBV8TBjDSPNmVoQ9YcKTGelKuJjS2kCXHjcyz7PcQksSW6UUmKu9RhJ+x3Mnx6j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WpjI9R1hT88614GsVDG0UYv0u8YyS0chh0RryV3BXotoSkSkVGShIT4h0s51Qjswp0luewLtNuVyC5FvHvWiHLzbAArNnmM7k/GdCn3jLe9PeJp7yqDzzBBMN9kymtJdlm7c5XnlOv+P7wIJbP0i4+QF+PXw5ePKwSwQ9v8rTQ== cmd=whoami in application/x-www-form-urlencoded
Ports
9090
PoC User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_3) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0.3 Safari/605.1.15
Seen in
1 repo: jam620/primefaces
Evidence
jam620/primefaces/README.md:44

Regex

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

POST /javax.faces.resource/dynamiccontent.properties.{var}
(?i)^/javax\.faces\.resource/dynamiccontent\.properties\.[^/?#]*(?:[?#].*)?$
POST /xc-one-pos/javax.faces.resource/dynamiccontent.properties.xhtml
(?i)^/xc-one-pos/javax\.faces\.resource/dynamiccontent\.properties\.xhtml(?:[?#].*)?$

Suricata

Template generated from PoC characteristics. Review before deploying.

POST /javax.faces.resource/dynamiccontent.properties.{var}
alert http any any -> $HOME_NET [8080] (msg:"GG PoC-Monitor CVE-2017-1000486 Primetek Primefaces Application exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/javax.faces.resource/dynamiccontent.properties."; http.request_body; content:"pfdrt=sc"; http.request_body; content:"ln=primefaces"; http.request_body; content:"pfdrid="; reference:url,poc.griffinguard.io/cve/CVE-2017-1000486; classtype:web-application-attack; sid:9777220; rev:1;)
POST /xc-one-pos/javax.faces.resource/dynamiccontent.properties.xhtml
alert http any any -> $HOME_NET [9090] (msg:"GG PoC-Monitor CVE-2017-1000486 Primetek Primefaces Application exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/xc-one-pos/javax.faces.resource/dynamiccontent.properties.xhtml"; http.request_body; content:"pfdrt=sc"; http.request_body; content:"ln=primefaces"; http.request_body; content:"pfdrid=4xE5s8AClZxUxmyaZjpBst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xdd1BGi1AM3As0KwSetNq6Ezm2fnjpW877buqsB+czxMtn6Yt6l88NRYaMHrwuY7s4IMNEBEazc0IBUNF30PH+3eIqRZdkimo980HBzVW4SXHnCMST65/TaIcy6/OXQqNjpMh7DDEQIvDjnMYMyBILCOCSDS4T3JQzgc+VhgT97imje/KWibF70yMQesNzOCEkaZbKoHz498sqKIDRIHiVEhTZlwdP29sUwt1uqNEV/35yQ+O8DLt0b+jqBECHJzI1IhGvSUWJW37TAgUEnJWpjI9R1hT88614GsVDG0UYv0u8YyS0chh0RryV3BXotoSkSkVGShIT4h0s51Qjswp0luewLtNuVyC5FvHvWiHLzbAArNnmM7k/GdCn3jLe9PeJp7yqDzzBBMN9kymtJdlm7c5XnlOv+P7wIJbP0i4+QF+PXw5ePKwSwQ9v8rTQ=="; http.request_body; content:"cmd=whoami"; reference:url,poc.griffinguard.io/cve/CVE-2017-1000486; classtype:web-application-attack; sid:9507202; rev:1;)

Sigma

Template generated from PoC characteristics. Review before deploying.

POST /javax.faces.resource/dynamiccontent.properties.{var}
title: Primetek Primefaces Application exploit attempt (CVE-2017-1000486)
id: gg-pocmon-cve-2017-1000486-9777220
status: experimental
description: Request pattern taken from public PoCs for CVE-2017-1000486. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2017-1000486
logsource:
  category: webserver
detection:
  selection:
    cs-method: POST
    cs-uri-stem|contains|all:
      - '/javax.faces.resource/dynamiccontent.properties.'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2017.1000486
POST /xc-one-pos/javax.faces.resource/dynamiccontent.properties.xhtml
title: Primetek Primefaces Application exploit attempt (CVE-2017-1000486)
id: gg-pocmon-cve-2017-1000486-9507202
status: experimental
description: Request pattern taken from public PoCs for CVE-2017-1000486. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2017-1000486
logsource:
  category: webserver
detection:
  selection:
    cs-method: POST
    cs-uri-stem|contains|all:
      - '/xc-one-pos/javax.faces.resource/dynamiccontent.properties.xhtml'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2017.1000486