CVE-2025-14259

6.3 MEDIUM

📋 TL;DR

This vulnerability allows remote attackers to execute SQL injection attacks against Jihai Jshop MiniProgram Mall System 2.9.0 by manipulating the cat_id parameter in the /index.php/api.html endpoint. Attackers could potentially access, modify, or delete database content. All users running the vulnerable version are affected.

💻 Affected Systems

Products:
  • Jihai Jshop MiniProgram Mall System
Versions: 2.9.0
Operating Systems: Any OS running PHP
Default Config Vulnerable: ⚠️ Yes
Notes: Only affects systems with the vulnerable /index.php/api.html endpoint accessible.

⚠️ Manual Verification Required

This CVE does not have specific version information in our database, so automatic vulnerability detection cannot determine if your system is affected.

Why? The CVE database entry doesn't specify which versions are vulnerable (no version ranges provided by the vendor/NVD).

🔒 Custom verification scripts are available for registered users. Sign up free to download automated test scripts.

Recommended Actions:
  1. Review the CVE details at NVD
  2. Check vendor security advisories for your specific version
  3. Test if the vulnerability is exploitable in your environment
  4. Consider updating to the latest version as a precaution

⚠️ Risk & Real-World Impact

🔴

Worst Case

Complete database compromise leading to data theft, data manipulation, or complete system takeover via subsequent attacks.

🟠

Likely Case

Unauthorized data access including customer information, order details, and potentially administrative credentials.

🟢

If Mitigated

Limited impact with proper input validation and database permissions restricting damage to non-sensitive data.

🌐 Internet-Facing: HIGH - The vulnerability is remotely exploitable and affects a web-facing component.
🏢 Internal Only: MEDIUM - Could still be exploited by internal threats or through compromised internal systems.

🎯 Exploit Status

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

Exploit details are publicly available and SQL injection is a well-understood attack vector.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Unknown

Vendor Advisory: None available

Restart Required: No

Instructions:

No official patch available. Vendor was contacted but did not respond. Consider alternative solutions.

🔧 Temporary Workarounds

Input Validation Filter

all

Implement strict input validation for the cat_id parameter to only accept expected values

Modify /index.php/api.html to validate cat_id parameter using PHP filter_var() or similar

Web Application Firewall

all

Deploy WAF with SQL injection protection rules

Configure WAF to block SQL injection patterns targeting /index.php/api.html

🧯 If You Can't Patch

  • Block external access to /index.php/api.html endpoint using firewall rules
  • Implement database user with minimal permissions for the application

🔍 How to Verify

Check if Vulnerable:

Test the /index.php/api.html endpoint with SQL injection payloads in cat_id parameter

Check Version:

Check system documentation or configuration files for version information

Verify Fix Applied:

Verify that SQL injection attempts no longer succeed and return appropriate error responses

📡 Detection & Monitoring

Log Indicators:

  • Unusual SQL queries in database logs
  • Multiple failed requests to /index.php/api.html with suspicious parameters

Network Indicators:

  • HTTP requests to /index.php/api.html containing SQL keywords in parameters

SIEM Query:

source="web_logs" AND uri="/index.php/api.html" AND (param="cat_id" AND value CONTAINS "UNION" OR value CONTAINS "SELECT" OR value CONTAINS "OR")

🔗 References

📤 Share & Export