Skip to content
KitploitKITPLOIT
उपकरणएक्सप्लॉइटब्लॉग
Log in
जमा करें
उपकरणएक्सप्लॉइटब्लॉग
जमा करें

हैकिंग, पेनटेस्ट और साइबर सुरक्षा उपकरण आपके सुरक्षा शस्त्रागार के लिए!

Kitploit हैकिंग, साइबर सुरक्षा और पेंटेस्टिंग टूल्स की एक निर्देशिका है। कमजोरियों को खोजने, सिस्टम का विश्लेषण करने, परीक्षण को स्वचालित करने और अपनी सुरक्षा को मजबूत करने के लिए नवीनतम प्रोजेक्ट अपडेट खोजें।

फ़ीडसंपर्कगोपनीयता© 2026 Kitploit

टूल निर्देशिका

श्रेणियाँ

सभी श्रेणियाँ देखें
Loading categories
उपकरण/GitHubGitHub/ryanmurf/mysql-connector-j-cve-2026-101678-repro
Vulnerability AnalysisExploitationNetwork SecurityDatabase Security
GitHubryanmurf/mysql-connector-j-cve-2026-101678-repro

mysql-connector-j-cve-2026-101678-repro

Reproducer for CVE-2026-101678 (MySQL Connector/J <= 26.7.0) - malicious server reporting huge result-set column count

रिपॉजिटरी देखें
17 दिन पहलेअभी तक समीक्षित नहीं

सबसे लोकप्रिय

सभी देखें →

हमारे समुदाय द्वारा सबसे अधिक उपयोग किए जाने वाले उपकरण खोजें।

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 अंतिम OSINT टूलकिट: जाँच ग्राफ़, विश्वास स्कोरिंग, उपनाम परिवार, मानचित्र, टाइमलाइन और रिपोर्ट। 49 मॉड्यूल, 400+ साइटें, किसी API कुंजी की आवश्यकता नहीं।

    915
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    # घोस्टलॉक वन-टैप निष्पादन ऐप (CVE-2026-43499)

    891
  • 3

    wifit3

    derv82/wifit3

    Wifite, लेकिन केवल USB और क्रॉस-प्लेटफ़ॉर्म।

    678
  • 4

    jumpserver

    jumpserver/jumpserver

    JumpServer एक ओपन-सोर्स विशेषाधिकार प्रबंधन (PAM) प्लेटफ़ॉर्म है जो DevOps और IT टीमों को SSH, RDP, Kubernetes, डेटाबेस और RemoteApp एंडपॉइंट्स तक वेब ब्राउज़र के माध्यम से मांग पर और सुरक्षित पहुँच प्रदान करता है।

    454
  • 5

    SafeLine

    chaitin/safeline

    स्व-होस्टेड WAF और रिवर्स प्रॉक्सी जो दुर्भावनापूर्ण HTTP ट्रैफ़िक को फ़िल्टर करता है, SQL इंजेक्शन, XSS और बॉट हमलों को ब्लॉक करता है, रेट लिमिटिंग और डायनेमिक HTML/JS एन्क्रिप्शन के साथ।

    404
  • 6

    looking-glass

    anonghosty/looking-glass

    CSIRT प्लेटफ़ॉर्म जो Shadowserver रिपोर्ट्स को MongoDB में इनजेस्ट करता है और उन्हें इंटरैक्टिव मैप्स, विश्लेषण, निष्कर्षों, सलाहों और कार्यकारी डैशबोर्ड के रूप में पुनः प्रस्तुत करता है।

    388

सभी उपकरण खोजें

हमारे उपकरणों का संग्रह ब्राउज़ करें

सभी उपकरण देखें →
साझा करें
अनुरोधित भाषा में सामग्री उपलब्ध नहीं है। अंग्रेज़ी संस्करण दिखाया जा रहा है।

CVE-2026-101678 — Reproducer

Vulnerability: MySQL Connectors (Oracle MySQL Connector/J), component Connector/J. Unauthenticated attacker with network access; successful attacks require human interaction from a person other than the attacker; can result in partial denial of service. CVSS 3.1: 4.3 (AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L). Published in the Oracle Critical Patch Update – October 2026. Affected version: 26.7.0. CWE-284 (improper access control).

Root cause

When a Connector/J client receives a result set, the first packet of the response (the result set header) carries the number of columns as a length-encoded integer that is entirely server-controlled. In 26.7.0, both TextResultsetReader and BinaryResultsetReader read this value without any validation:

long columnCount = resultPacket.readInteger(IntegerDataType.INT_LENENC);

and ColumnDefinitionReader.read() then allocates an array from it:

Field[] fields = new Field[(int) columnCount];   // ColumnDefinitionReader.java:54

A malicious MySQL server can therefore report any column count:

  • 0x7FFFFFFF (2147483647) → the driver tries to allocate a Field[2^31-1] array → OutOfMemoryError: Requested array size exceeds VM limit, an Error that escapes the JDBC driver entirely.
  • 0xFFFFFFFF (4294967295) → the (int) cast wraps to -1 → NegativeArraySizeException.

Either way the client is taken down — a partial denial of service. The attack requires a victim to connect to (or be routed to) an attacker-controlled MySQL server, which is the "human interaction" component in the CVSS vector.

Upstream fix

Fixed in mysql-connector-j 26.10.0, commit 69a330f89f — "Fix for Bug#39455455, Reported result set column counts are not properly validated" (github.com/mysql/mysql-connector-j). The fix validates the reported count (1..65535, NativeConstants.MAX_COLUMN_COUNT) in both readers and throws a clean CJCommunicationsException ("Invalid result set column count: N") instead of dying; it also hardens isOKPacket() and the LOCAL-INFILE detection. Upstream added ResultsetReaderTest covering these cases.

Files

FilePurpose
fake_mysql_server.pyFake/malicious MySQL server (Python 3, stdlib only). Speaks enough of the MySQL protocol (handshake v10, mysql_native_password, accepts any credentials) to get a client connected, then answers every COM_QUERY with a result-set header reporting the attacker-chosen column count.
Reproducer.javaJDBC client. Connects to the fake server and runs a trivial query.
lib/mysql-connector-j-26.7.0.jar (vulnerable) and mysql-connector-j-26.10.0.jar (fixed), from Maven Central.
run_repro.shRuns the whole thing against both driver versions.

Running

./run_repro.sh                  # default column count 2147483647 (OOM variant)
./run_repro.sh 4294967295       # int-cast-overflow variant (NegativeArraySizeException)

Or manually:

python3 -I fake_mysql_server.py 3307 2147483647 &
java -Xmx512m -cp lib/mysql-connector-j-26.7.0.jar  Reproducer.java   # vulnerable
java -Xmx512m -cp lib/mysql-connector-j-26.10.0.jar Reproducer.java   # fixed

Expected output

26.7.0 (vulnerable):

MySQL Connector/J version: 26.7.0
Connecting to (malicious) server 127.0.0.1:3307 ...
Caught during query: java.lang.OutOfMemoryError: Requested array size exceeds VM limit
	at com.mysql.cj.protocol.a.ColumnDefinitionReader.read(ColumnDefinitionReader.java:54)
	...
	at com.mysql.cj.NativeSession.loadServerVariables(NativeSession.java:538)
	...
RESULT: FAILED (JVM-level Error escaped the driver - DoS)

(Note it fires during DriverManager.getConnection — the driver runs a variables-loading SELECT at connect, so merely connecting to a hostile server is enough; no explicit query needed.)

26.10.0 (fixed):

MySQL Connector/J version: 26.10.0
Connecting to (malicious) server 127.0.0.1:3307 ...
Caught during query: com.mysql.cj.jdbc.exceptions.CommunicationsException:
	Invalid result set column count: 2147483647
	...
RESULT: FAILED (SQLException - driver handled it)

The fixed driver rejects the bogus column count with an ordinary SQLException; the connection attempt fails cleanly instead of the JVM throwing an Error.

References

  • NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-101678
  • Oracle CPU October 2026: https://www.oracle.com/security-alerts/cpuoct2026.html
  • Upstream fix: https://github.com/mysql/mysql-connector-j/commit/69a330f89f
टूल डाउनलोड करें