CVE-2025-15167

7.3 HIGH

📋 TL;DR

CVE-2025-15167 is a SQL injection vulnerability in itsourcecode Online Cake Ordering System 1.0 that allows attackers to execute arbitrary SQL commands via the ID parameter in /detailtransac.php. This affects all deployments of this specific software version, potentially enabling unauthorized database access, data theft, or system compromise.

💻 Affected Systems

Products:
  • itsourcecode Online Cake Ordering System
Versions: 1.0
Operating Systems: Any OS running PHP and MySQL/MariaDB
Default Config Vulnerable: ⚠️ Yes
Notes: Affects all installations of version 1.0 with the vulnerable file present. Requires PHP and database backend.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Complete database compromise leading to data theft, data manipulation, or full system takeover through SQL injection escalation techniques.

🟠

Likely Case

Unauthorized access to sensitive customer data (orders, personal information), potential privilege escalation, and database manipulation.

🟢

If Mitigated

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

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

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

Public exploit available on GitHub. SQL injection via ID parameter is straightforward to exploit.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Unknown

Vendor Advisory: https://itsourcecode.com/

Restart Required: No

Instructions:

No official patch available. Manually sanitize input in /detailtransac.php or implement parameterized queries.

🔧 Temporary Workarounds

Input Validation and Sanitization

all

Add input validation to sanitize the ID parameter before processing SQL queries.

Edit /detailtransac.php to validate ID parameter as integer using is_numeric() or filter_var()

Web Application Firewall (WAF)

all

Deploy WAF rules to block SQL injection patterns targeting /detailtransac.php

Add WAF rule: Block requests to /detailtransac.php with SQL injection patterns in parameters

🧯 If You Can't Patch

  • Isolate the system from internet access and restrict to internal network only
  • Implement strict network segmentation and monitor all database access attempts

🔍 How to Verify

Check if Vulnerable:

Test /detailtransac.php with SQL injection payloads like ' OR '1'='1 in ID parameter

Check Version:

Check software version in admin panel or readme files

Verify Fix Applied:

Test with same payloads; system should reject or sanitize input without executing SQL

📡 Detection & Monitoring

Log Indicators:

  • Unusual SQL errors in application logs
  • Multiple failed login attempts via /detailtransac.php
  • Database queries with unusual patterns from web server

Network Indicators:

  • HTTP requests to /detailtransac.php with SQL keywords in parameters
  • Unusual database traffic from web server

SIEM Query:

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

🔗 References

📤 Share & Export