CVE-2025-7560

6.3 MEDIUM

📋 TL;DR

This critical SQL injection vulnerability in PHPGurukul Online Fire Reporting System 1.2 allows remote attackers to manipulate database queries via the teamid parameter in /admin/workin-progress-requests.php. Organizations using this specific version of the fire reporting system are affected and could have their sensitive data compromised.

💻 Affected Systems

Products:
  • PHPGurukul Online Fire Reporting System
Versions: 1.2
Operating Systems: Any OS running PHP
Default Config Vulnerable: ⚠️ Yes
Notes: Requires the /admin/workin-progress-requests.php endpoint to be accessible.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Complete database compromise leading to data theft, data manipulation, or complete system takeover through privilege escalation.

🟠

Likely Case

Unauthorized access to sensitive fire reporting data, potential extraction of user credentials, and manipulation of system records.

🟢

If Mitigated

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

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

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

Exploit details are publicly available on GitHub, making this easily exploitable by attackers with basic SQL injection knowledge.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Unknown

Vendor Advisory: https://phpgurukul.com/

Restart Required: No

Instructions:

No official patch available. Check vendor website for updates or implement workarounds.

🔧 Temporary Workarounds

Input Validation and Parameterized Queries

all

Implement proper input validation and use prepared statements/parameterized queries for all database operations.

Modify /admin/workin-progress-requests.php to use PDO or mysqli prepared statements

Web Application Firewall (WAF)

all

Deploy a WAF with SQL injection protection rules to block malicious requests.

🧯 If You Can't Patch

  • Restrict access to /admin/workin-progress-requests.php using IP whitelisting or authentication requirements
  • Implement network segmentation to isolate the vulnerable system from critical assets

🔍 How to Verify

Check if Vulnerable:

Test the /admin/workin-progress-requests.php endpoint with SQL injection payloads in the teamid parameter (use authorized testing only).

Check Version:

Check system documentation or configuration files for version information

Verify Fix Applied:

Verify that SQL injection attempts no longer succeed and that parameterized queries are implemented in the code.

📡 Detection & Monitoring

Log Indicators:

  • Unusual SQL error messages in application logs
  • Multiple failed login attempts or unusual parameter values in access logs

Network Indicators:

  • HTTP requests to /admin/workin-progress-requests.php with SQL keywords in parameters

SIEM Query:

source="web_logs" AND uri="/admin/workin-progress-requests.php" AND (param="teamid" AND value CONTAINS "UNION" OR value CONTAINS "SELECT" OR value CONTAINS "' OR '")

🔗 References

📤 Share & Export