CVE-2025-14647

7.3 HIGH

📋 TL;DR

CVE-2025-14647 is a SQL injection vulnerability in Computer Book Store 1.0 that allows remote attackers to execute arbitrary SQL commands via the 'bookisbn' parameter in /admin_delete.php. This affects all installations of Computer Book Store 1.0, potentially allowing attackers to read, modify, or delete database content.

💻 Affected Systems

Products:
  • Computer Book Store
Versions: 1.0
Operating Systems: All
Default Config Vulnerable: ⚠️ Yes
Notes: All installations of version 1.0 are vulnerable. The vulnerability exists in the default installation.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Complete database compromise including data theft, data destruction, and potential remote code execution if database functions allow it.

🟠

Likely Case

Unauthorized data access, data manipulation, and potential privilege escalation within the application.

🟢

If Mitigated

Limited impact with proper input validation and database permissions, potentially only affecting non-sensitive data.

🌐 Internet-Facing: HIGH - The vulnerability is remotely exploitable and affects web applications typically exposed to the internet.
🏢 Internal Only: MEDIUM - Internal systems could still be targeted via internal attackers or compromised endpoints.

🎯 Exploit Status

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

Exploit details are publicly available on GitHub and vuldb.com, making exploitation straightforward for attackers.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Unknown

Vendor Advisory: https://code-projects.org/

Restart Required: No

Instructions:

No official patch available. Consider implementing parameterized queries or input validation as workaround.

🔧 Temporary Workarounds

Input Validation and Sanitization

all

Add input validation to sanitize the bookisbn parameter before processing.

Modify /admin_delete.php to validate bookisbn parameter using regex or type checking

Web Application Firewall (WAF)

all

Deploy WAF rules to block SQL injection attempts targeting /admin_delete.php.

Add WAF rule: block requests to /admin_delete.php with suspicious SQL patterns in parameters

🧯 If You Can't Patch

  • Remove or restrict access to /admin_delete.php file
  • Implement network segmentation to isolate the vulnerable system

🔍 How to Verify

Check if Vulnerable:

Test /admin_delete.php with SQL injection payloads in bookisbn parameter (e.g., ' OR '1'='1).

Check Version:

Check application version in admin panel or configuration files.

Verify Fix Applied:

Test with same SQL injection payloads and verify they are rejected or sanitized.

📡 Detection & Monitoring

Log Indicators:

  • Unusual SQL errors in application logs
  • Multiple failed delete attempts with malformed parameters
  • Requests to /admin_delete.php with SQL keywords

Network Indicators:

  • HTTP requests to /admin_delete.php containing SQL injection patterns
  • Unusual database query patterns from application server

SIEM Query:

source="web_logs" AND uri="/admin_delete.php" AND (param="bookisbn" AND value MATCHES "(?i)(union|select|insert|delete|update|drop|or|and)")

🔗 References

📤 Share & Export