Submit #1026374: 37954679 cak-filemanagement-system 5e6433246475e66462e1fea980688de96a049297 SQL Injectioninfo

Title37954679 cak-filemanagement-system 5e6433246475e66462e1fea980688de96a049297 SQL Injection
DescriptionThe affected component is `admin/save_student.php`. All POST parameters (`date`, `department`, `subject`, `forwarded_to`, `action_taken_by`, `section`) are directly concatenated into an INSERT SQL statement without sanitization or parameterized queries. The endpoint lacks any session or authentication check: ```php $date = $_POST['date']; $department = $_POST['department']; $subject = $_POST['subject']; $fowarded_to = $_POST['forwarded_to']; $action_taken_by = $_POST['action_taken_by']."".$_POST['section']; $password = md5($_POST['password']); mysqli_query($conn, "INSERT INTO `logs` VALUES('', '$date', '$department', '$subject', '$fowarded_to', '$action_taken_by', '$password')") or die(mysqli_error()); ``` An unauthenticated attacker can inject arbitrary SQL through any of the five unprotected parameters to extract database contents, modify records, or disrupt the application.
Source⚠️ https://github.com/37954679/cak-filemanagement-system/issues/1
User
 namlau0721 (UID 102075)
Submission10/12/2026 21:39 (18 days ago)
Moderation10/30/2026 13:37 (18 days later)
StatusAccepted
VulDB entry429058 [37954679 cak-filemanagement-system up to 5e6433246475e66462e1fea980688de96a049297 admin/save_student.php mysqli_query sql injection]
Points20

Want to stay up to date on a daily basis?

Enable the mail alert feature now!