CVE-2017-1000486
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedPrimetek Primefaces 5.x is vulnerable to a weak encryption flaw resulting in remote code execution
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · moderate confidencePrimeFaces 5.x contains a weak encryption flaw in its state/view handling mechanism that allows attackers to decrypt and manipulate the encrypted ViewState, leading to remote code execution through the injection of malicious serialized Java objects.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.
NVD · CPE data>= 4.0, <= 4.0.24>= 5.0, < 5.2.21>= 5.3, < 5.3.8CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Locate the PrimeFaces JAR fileSearch for primefaces-*.jar in your application's WEB-INF/lib directory, classpath, or inspect the pom.xml/build.gradle for the primefaces dependency declarationAffected if The version displayed is within 4.0 to 4.0.24, 5.0 to 5.2.20, or 5.3 to 5.3.7
-
Verify ViewState saving is enabledInspect the application's web.xml file for the javax.faces.STATE_SAVING_METHOD parameter - look for a value of 'server' or 'client' within the context-param sectionAffected if ViewState saving is set to 'server' and the application uses PrimeFaces components that serialize state
-
Check for weak encryption configurationInspect web.xml and PrimeFaces-specific configuration files for encryption parameters - look for any custom PRIMEFACES encryption keys, cipher settings, or the absence of the strong encryption flag introduced in 5.3Affected if The application uses default ViewState encryption without explicit strong cipher configuration, or uses the default state manager without the secure padding introduced in fixed versions
-
Identify exposed stateful endpointsReview the application's JSF/PrimeFaces pages for components that retain state across requests, such as DataTables with pagination, form components with ajax updates, or any @ViewScoped beansAffected if The application uses stateful PrimeFaces components that serialize objects into the ViewState, creating deserialization attack surface
Your environment is affected if the deployed PrimeFaces version falls within the vulnerable ranges (4.0-4.0.24, 5.0-5.2.20, 5.3-5.3.7) and the application uses server-side ViewState saving with default encryption settings.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scoped5.2.215.3.8
Upgrade PrimeFaces to the latest version (5.3+ or preferably latest stable) which addresses the weak encryption, and rotate any exposed keys or credentials.
PrimeFaces 5.3.8 or later (or 5.2.21 for 5.2.x branch, or 4.0.25 for 4.0.x branch)
- 1. Identify the current PrimeFaces version in your project by checking your pom.xml (Maven) or build.gradle file, or by locating the primefaces JAR
- 2. For PrimeFaces 4.0.x: Upgrade to PrimeFaces 4.0.25 or later
- 3. For PrimeFaces 5.0.x through 5.2.x: Upgrade to PrimeFaces 5.2.21 or later
- 4. For PrimeFaces 5.3.x: Upgrade to PrimeFaces 5.3.8 or later
- 5. Update the dependency in your build configuration file (pom.xml example: change <version>5.3</version> to <version>5.3.8</version>)
- 6. Rebuild and redeploy your application
- 7. Verify the upgrade by confirming the new PrimeFaces version loads correctly in your application
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation2.0 h
- Implementation8.0 h
- Testing4.0 h
- Review / QA2.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $4,480.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2017-1000486 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2017-1000486 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data