CVE-2025-14643

7.3 HIGH

📋 TL;DR

This SQL injection vulnerability in Simple Attendance Record System 2.0 allows attackers to manipulate database queries through the student parameter in /check.php. Remote attackers can potentially access, modify, or delete attendance records and other database contents. Organizations using this software are affected.

💻 Affected Systems

Products:
  • Simple Attendance Record System
Versions: 2.0
Operating Systems: All
Default Config Vulnerable: ⚠️ Yes
Notes: Any installation with /check.php accessible is vulnerable. The system appears to be a PHP-based web application.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Complete database compromise including data theft, data manipulation, or potential system takeover via SQL injection leading to remote code execution.

🟠

Likely Case

Unauthorized access to attendance records, personal student information, and potential manipulation of attendance data.

🟢

If Mitigated

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

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

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

Exploit details are publicly available on GitHub. SQL injection via student parameter requires minimal technical skill.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Unknown

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

Restart Required: No

Instructions:

No official patch available. Consider implementing input validation and parameterized queries in /check.php or migrating to alternative software.

🔧 Temporary Workarounds

Input Validation Filter

all

Add input validation to sanitize the student parameter before processing

Modify /check.php to include: $student = mysqli_real_escape_string($connection, $_POST['student']);

Web Application Firewall Rule

all

Block SQL injection patterns targeting /check.php

WAF rule: Block requests to /check.php containing SQL keywords in student parameter

🧯 If You Can't Patch

  • Isolate the system behind a firewall with strict access controls
  • Implement network segmentation to limit database access from the web server

🔍 How to Verify

Check if Vulnerable:

Test /check.php with SQL injection payloads like: student=1' OR '1'='1

Check Version:

Check system documentation or about page for version information

Verify Fix Applied:

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

📡 Detection & Monitoring

Log Indicators:

  • Unusual SQL errors in application logs
  • Multiple failed login attempts via /check.php
  • SQL keywords in student parameter values

Network Indicators:

  • Unusual database queries originating from web server
  • SQL syntax in HTTP POST parameters

SIEM Query:

source="web_logs" AND uri="/check.php" AND (param="student" AND value MATCHES "(?i)(union|select|insert|delete|update|drop|--|#|')")

🔗 References

📤 Share & Export