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
Affected versions and mitigation
From the CVE record, GitHub Security Advisories and the vendor's references.Affected
- >= 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 publicationFirst 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
| Repository | Created | Found by us | Stars | Assessment |
|---|---|---|---|---|
| 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
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| 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
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.| Source | Title | Published | Found by us |
|---|---|---|---|
| CVE record (tagged exploit) | 43733 | unknown | 14 Nov 2026 |
| Exploit-DB | Primefaces 5.x - Remote Code Execution (Metasploit) | 18 Jan 2018 | 14 Nov 2026 |
| Metasploit | Metasploit exploit: Primefaces Remote Code Execution Exploit (exploit/multi/http/primefaces_weak_encryption_rce) | 23 Nov 2024 | 14 Nov 2026 |
| nuclei template | nuclei template: Primetek Primefaces 5.x - Remote Code Execution | 27 Apr 2023 | 14 Nov 2026 |
PoC characteristics
What to hunt for in your logs · from 10 PoC reposPOST /javax.faces.resource/dynamiccontent.properties.{var}
- Body markers
pfdrt=scln=primefacespfdrid=inapplication/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=scln=primefacespfdrid=4xE5s8AClZxUxmyaZjpBstMXUalIgOJHOtvxel/v4YXvibdOn52ow4M6lDaKd9Gb8JdQqbACZNWVZpVS+3sX1Hoizouty1mYYT4yJsKPnUZ0LUHDvN0GB5YLgX1PkNY+1ZQ/nOSg5J1LDyzAjBheAxLDODIVcHkmJ6hnJsQ0YQ8bMU5++TqeD4BGqCZMDjP+ZQvveiUhxsUC/+tPqnOgFSBV8TBjDSPNmVoQ9YcKTGelKuJjS2kCXHjcyz7PcQksSW6UUmKu9RhJ+x3Mnx6j56eroVPWnM2vdYRt5An6cLo1YPXu9uqriyg1wgm/7xYP/UwP1q8wfVeyM4fOw2xJzP6i1q4VLHLXi0VYHAIgaPrZ8gH8XH4X2Kq6ewyrJ62QxBF5dtE3tvLAL5tpGxqek5VW+hZFe9ePu0n5tLxWmqgq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SwQ9v8rTQ==cmd=whoamiinapplication/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.
(?i)^/javax\.faces\.resource/dynamiccontent\.properties\.[^/?#]*(?:[?#].*)?$
(?i)^/xc-one-pos/javax\.faces\.resource/dynamiccontent\.properties\.xhtml(?:[?#].*)?$
Suricata
Template generated from PoC characteristics. Review before deploying.
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;)
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=4xE5s8AClZxUxmyaZjpBstMXUalIgOJHOtvxel/v4YXvibdOn52ow4M6lDaKd9Gb8JdQqbACZNWVZpVS+3sX1Hoizouty1mYYT4yJsKPnUZ0LUHDvN0GB5YLgX1PkNY+1ZQ/nOSg5J1LDyzAjBheAxLDODIVcHkmJ6hnJsQ0YQ8bMU5++TqeD4BGqCZMDjP+ZQvveiUhxsUC/+tPqnOgFSBV8TBjDSPNmVoQ9YcKTGelKuJjS2kCXHjcyz7PcQksSW6UUmKu9RhJ+x3Mnx6j56eroVPWnM2vdYR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VDG0UYv0u8YyS0chh0RryV3BXotoSkSkVGShIT4h0s51Qjswp0luewLtNuVyC5FvHvWiHLzbAArNnmM7k/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.
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
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