Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Primefaces RCE (CVE-2017-1000486) #19649

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

h00die
Copy link
Contributor

@h00die h00die commented Nov 14, 2024

fixes #18946

This one is super old, but it was in the Issues list as a half constructed module (chatgpt conversion?), so figured I'd get it up to standards.

Exploits an RCE in Primefaces. Docker image included, real easy to setup and exploit. Only certain payloads work on the docker image though, so check the docs.

Verification

  • Install the application
  • Start msfconsole
  • Do: use exploit/linux/http/primefaces_weak_encryption_rce
  • Do: set rhosts <ip>>
  • Do: set verbose true
  • Do: set payload payload/cmd/unix/reverse_jjs
  • You should get a shell.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add exploit module for Primefaces 5.x - Remote Code Execution
2 participants