CVE-2025-6006

4.7 MEDIUM

📋 TL;DR

This critical SQL injection vulnerability in kiCode111 like-girl 5.2.0 allows remote attackers to execute arbitrary SQL commands via the /admin/ImgUpdaPost.php endpoint. Attackers can potentially access, modify, or delete database content. All users running the vulnerable version are affected.

💻 Affected Systems

Products:
  • kiCode111 like-girl
Versions: 5.2.0
Operating Systems: Any
Default Config Vulnerable: ⚠️ Yes
Notes: Requires access to /admin/ImgUpdaPost.php endpoint with vulnerable parameters.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Complete database compromise leading to data theft, data destruction, or full system takeover via SQL injection to RCE chaining.

🟠

Likely Case

Unauthorized database access allowing data exfiltration, privilege escalation, or application compromise.

🟢

If Mitigated

Limited impact with proper input validation and database permissions, potentially only error messages or minor data exposure.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

Public PoC: ⚠️ Yes
Weaponized: LIKELY
Unauthenticated Exploit: ✅ No
Complexity: LOW

Exploit requires admin access to the vulnerable endpoint. Public disclosure increases weaponization risk.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Unknown

Vendor Advisory: None available

Restart Required: No

Instructions:

No official patch available. Consider workarounds or discontinuing use of vulnerable software.

🔧 Temporary Workarounds

Input Validation Filter

all

Implement strict input validation and parameterized queries for id, imgText, imgDatd, and imgUrl parameters.

Access Restriction

linux

Restrict access to /admin/ImgUpdaPost.php endpoint using web server rules or application firewalls.

# Apache: RewriteRule ^admin/ImgUpdaPost\.php$ - [F]
# Nginx: location ~ ^/admin/ImgUpdaPost\.php$ { deny all; }

🧯 If You Can't Patch

  • Implement WAF rules to block SQL injection patterns targeting the vulnerable parameters.
  • Monitor and audit all access to /admin/ImgUpdaPost.php endpoint for suspicious activity.

🔍 How to Verify

Check if Vulnerable:

Check if kiCode111 like-girl version 5.2.0 is installed and accessible via /admin/ImgUpdaPost.php.

Check Version:

Check application configuration files or documentation for version information.

Verify Fix Applied:

Test the vulnerable endpoint with SQL injection payloads to confirm proper input validation is implemented.

📡 Detection & Monitoring

Log Indicators:

  • Unusual SQL queries in database logs
  • Multiple failed login attempts to admin interface
  • Access to /admin/ImgUpdaPost.php with suspicious parameters

Network Indicators:

  • HTTP requests to /admin/ImgUpdaPost.php containing SQL keywords (UNION, SELECT, etc.)
  • Unusual outbound database connections

SIEM Query:

source="web_logs" AND uri="/admin/ImgUpdaPost.php" AND (param="id" OR param="imgText" OR param="imgDatd" OR param="imgUrl") AND (query="UNION" OR query="SELECT" OR query="INSERT" OR query="DELETE")

🔗 References

📤 Share & Export