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
Tools/GitHubGitHub/drackyjr/cve-2020-15778-scp-command-injection-check
Vulnerability ScannersVulnerability AnalysisExploitationWeb Application ExploitationPenetration TestingLearning & Education
GitHubdrackyjr/cve-2020-15778-scp-command-injection-check

CVE-2020-15778-SCP-Command-Injection-Check

This script is a safe and simple tool that helps system users, students, and administrators check if their SCP (Secure Copy) client is vulnerable to CVE-2020-15778, a command injection vulnerability in OpenSSH SCP (versions ≤ 8.3p1).

View Repository
2431 year agoNot yet reviewed

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.

    851
  • 2

    ghostlock-app

    yukonga/ghostlock-app

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

    538
  • 3

    ARTEX

    baarai/artex

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

    420
  • 4

    redforge

    cybersecurity91/redforge

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

    357
  • 5

    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.

    297
  • 6

    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.

    280

Explore all tools

Browse our collection of tools

View all tools →
Share

CVE-2020-15778 – OpenSSH SCP Command Injection Vulnerability (Detection Script)

About

CVE-2020-15778 is a command injection vulnerability discovered in the scp utility provided by OpenSSH (versions ≤ 8.3p1). The issue allows an attacker to execute arbitrary commands on the client system if a crafted destination argument (containing backticks) is passed to scp.

This repository includes a safe detection and simulation script written in Bash. The script helps users and system administrators:

  • Identify whether their system's scp version is vulnerable
  • Understand how the vulnerability works
  • Test and detect risky command inputs (e.g., arguments containing backticks)
  • Learn how to mitigate and avoid this vulnerability

What is CVE-2020-15778?

In OpenSSH scp, versions up to 8.3p1 do not properly sanitize destination arguments before passing them to the shell. This allows an attacker to use shell metacharacters like backticks (`) to inject arbitrary commands.

Example of a Malicious Command

scp file.txt user@host:`touch /tmp/pwned`/file.txt

In a vulnerable SCP version, this will execute touch /tmp/pwned on the client’s machine when the command runs.

Affected Versions

SCP VersionStatus
≤ 8.3p1Vulnerable
≥ 8.4p1Not Vulnerable

Script Features

This Bash script performs the following actions:

  • Detects the current SCP version installed on the system
  • Compares it against version 8.3p1 to determine if it is vulnerable
  • Prompts the user to input a sample SCP destination string
  • Analyzes the input for unsafe patterns (such as backticks)
  • Displays warnings and provides guidance on mitigation

How to Use

Step 1: Clone or Download the Script

git clone https://github.com/drackyjr/CVE-2020-15778-SCP-Command-Injection-Check.git
cd scp-cve-2020-15778-checker

Step 2: Make the Script Executable

chmod +x scp_cve_check.sh

Step 3: Run the Script

./scp_cve_check.sh

References

  • CVE Record: CVE-2020-15778
  • OpenSSH Release Notes
  • Redhat
Download Tool