Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2020-8163 — Enviroment and exploit to rce test | Kitploit
Tools/GitHubGitHub/h4ms1k/cve-2020-8163
Vulnerability AnalysisExploitationWeb Application ExploitationPenetration TestingLearning & EducationLabs & Practice
GitHubh4ms1k/cve-2020-8163

CVE-2020-8163

Enviroment and exploit to rce test

View Repository
433 years agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

CVE-2020-8163

Enviroment and exploit to CVE-2020-8163 Blind remote code execution of user-provided local names in Rails < 5.0.1 and < 4.2.11.2

Create the enviroment

  1. create docker container mapping port 4000 to 8001
root@kitploit:~
sudo docker run --rm -it -p 8001:4000 ruby:2.3 bash
  1. update and install some tools in container
root@kitploit:~
apt update && apt install unzip libz-dev libiconv-hook1 libiconv-hook-dev net-tools nodejs -y
  1. get id container
root@kitploit:~
sudo docker ps
  1. zip and copy app to docker container
root@kitploit:~
zip -r test_cve-2020-8163.zip test_cve-2020-8163/
sudo docker cp test_cve-2020-8163.zip id_container:/opt/
  1. unzip and bundle app
root@kitploit:~
cd opt 
unzip testapp.zip
cd test_cve-2020-8163
bundle
  1. start server
root@kitploit:~
bundle exec rails s -p 4000 -b '0.0.0.0'
  1. if we don't want to repeat the whole process, we do a docker commit
root@kitploit:~
sudo docker commit id_container name_of_commit

Exploit

  1. execute exploit
root@kitploit:~
ruby exploit.rb http://localhost:8001/main/index "uname -a"
  1. See log to view the output
Download Tool